GNU Octave  4.4.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
cdef_object Class Reference

#include "ov-classdef.h"

Inheritance diagram for cdef_object:
Collaboration diagram for cdef_object:

Public Member Functions

 cdef_object (void)
 
 cdef_object (const cdef_object &obj)
 
 cdef_object (cdef_object_rep *r)
 
virtual ~cdef_object (void)
 
Array< cdef_objectarray_value (void) const
 
std::string class_name (void) const
 
cdef_object clone (void) const
 
cdef_object copy (void) const
 
dim_vector dims (void) const
 
cdef_object empty_clone (void) const
 
octave_value get (const std::string &pname) const
 
cdef_class get_class (void) const
 
octave_value get_property (octave_idx_type idx, const std::string &pname) const
 
const cdef_object_repget_rep (void) const
 
bool is (const cdef_object &obj) const
 
bool is_array (void) const
 
bool is_constructed (void) const
 
bool is_constructed_for (const cdef_class &cls) const
 
bool is_handle_object (void) const
 
bool is_meta_object (void) const
 
bool is_partially_constructed_for (const cdef_class &cls) const
 
bool is_value_object (void) const
 
cdef_object make_array (void) const
 
string_vector map_keys (void) const
 
octave_map map_value (void) const
 
void mark_as_constructed (void)
 
void mark_as_constructed (const cdef_class &cls)
 
void mark_for_construction (const cdef_class &cls)
 
bool ok (void) const
 
cdef_objectoperator= (const cdef_object &obj)
 
void put (const std::string &pname, const octave_value &val)
 
void set_class (const cdef_class &cls)
 
void set_property (octave_idx_type idx, const std::string &pname, const octave_value &pval)
 
octave_value subsasgn (const std::string &type, const std::list< octave_value_list > &idx, const octave_value &rhs, int ignore_copies=0)
 
octave_value_list subsref (const std::string &type, const std::list< octave_value_list > &idx, int nargout, size_t &skip, const cdef_class &context, bool auto_add=false)
 

Protected Member Functions

cdef_object_repget_rep (void)
 
void make_unique (int ignore_copies)
 

Private Attributes

cdef_object_reprep
 

Detailed Description

Definition at line 203 of file ov-classdef.h.

Constructor & Destructor Documentation

◆ cdef_object() [1/3]

cdef_object::cdef_object ( void  )
inline

Definition at line 208 of file ov-classdef.h.

Referenced by clone(), copy(), empty_clone(), and make_array().

◆ cdef_object() [2/3]

cdef_object::cdef_object ( const cdef_object obj)
inline

Definition at line 211 of file ov-classdef.h.

References cdef_object_rep::refcount, and rep.

◆ cdef_object() [3/3]

cdef_object::cdef_object ( cdef_object_rep r)
inline

Definition at line 214 of file ov-classdef.h.

◆ ~cdef_object()

virtual cdef_object::~cdef_object ( void  )
inlinevirtual

Definition at line 217 of file ov-classdef.h.

References cdef_object_rep::release(), and rep.

Member Function Documentation

◆ array_value()

Array<cdef_object> cdef_object::array_value ( void  ) const
inline

Definition at line 264 of file ov-classdef.h.

References cdef_object_rep::array_value(), and rep.

◆ class_name()

std::string cdef_object::class_name ( void  ) const
inline

◆ clone()

cdef_object cdef_object::clone ( void  ) const
inline

◆ copy()

cdef_object cdef_object::copy ( void  ) const
inline

Definition at line 253 of file ov-classdef.h.

References cdef_object(), cdef_object_rep::copy(), and rep.

◆ dims()

dim_vector cdef_object::dims ( void  ) const
inline

Definition at line 248 of file ov-classdef.h.

References cdef_object_rep::dims(), and rep.

◆ empty_clone()

cdef_object cdef_object::empty_clone ( void  ) const
inline

Definition at line 245 of file ov-classdef.h.

References cdef_object(), cdef_object_rep::empty_clone(), and rep.

Referenced by octave_classdef::empty_clone().

◆ get()

◆ get_class()

cdef_class cdef_object::get_class ( void  ) const
inline

◆ get_property()

octave_value cdef_object::get_property ( octave_idx_type  idx,
const std::string pname 
) const
inline

Definition at line 277 of file ov-classdef.h.

References cdef_object_rep::get_property(), pname, and rep.

◆ get_rep() [1/2]

◆ get_rep() [2/2]

cdef_object_rep* cdef_object::get_rep ( void  )
inlineprotected

Definition at line 321 of file ov-classdef.h.

References rep.

◆ is()

bool cdef_object::is ( const cdef_object obj) const
inline

Definition at line 318 of file ov-classdef.h.

References rep.

Referenced by is_method_executing().

◆ is_array()

bool cdef_object::is_array ( void  ) const
inline

Definition at line 256 of file ov-classdef.h.

References cdef_object_rep::is_array(), and rep.

◆ is_constructed()

bool cdef_object::is_constructed ( void  ) const
inline

Definition at line 305 of file ov-classdef.h.

References cdef_object_rep::is_constructed(), and rep.

◆ is_constructed_for()

bool cdef_object::is_constructed_for ( const cdef_class cls) const
inline

Definition at line 307 of file ov-classdef.h.

References cdef_object_rep::is_constructed_for(), and rep.

◆ is_handle_object()

bool cdef_object::is_handle_object ( void  ) const
inline

Definition at line 260 of file ov-classdef.h.

References cdef_object_rep::is_handle_object(), and rep.

◆ is_meta_object()

bool cdef_object::is_meta_object ( void  ) const
inline

Definition at line 262 of file ov-classdef.h.

References cdef_object_rep::is_meta_object(), and rep.

◆ is_partially_constructed_for()

bool cdef_object::is_partially_constructed_for ( const cdef_class cls) const
inline

Definition at line 310 of file ov-classdef.h.

References cdef_object_rep::is_partially_constructed_for(), and rep.

◆ is_value_object()

bool cdef_object::is_value_object ( void  ) const
inline

Definition at line 258 of file ov-classdef.h.

References cdef_object_rep::is_value_object(), and rep.

◆ make_array()

cdef_object cdef_object::make_array ( void  ) const
inline

Definition at line 250 of file ov-classdef.h.

References cdef_object(), cdef_object_rep::make_array(), and rep.

◆ make_unique()

void cdef_object::make_unique ( int  ignore_copies)
inlineprotected

Definition at line 323 of file ov-classdef.h.

References clone(), cdef_object_rep::refcount, and rep.

Referenced by subsasgn().

◆ map_keys()

string_vector cdef_object::map_keys ( void  ) const
inline

Definition at line 294 of file ov-classdef.h.

References cdef_object_rep::map_keys(), and rep.

◆ map_value()

octave_map cdef_object::map_value ( void  ) const

Definition at line 1284 of file ov-classdef.cc.

◆ mark_as_constructed() [1/2]

void cdef_object::mark_as_constructed ( void  )
inline

Definition at line 313 of file ov-classdef.h.

References cdef_object_rep::mark_as_constructed(), and rep.

◆ mark_as_constructed() [2/2]

void cdef_object::mark_as_constructed ( const cdef_class cls)
inline

Definition at line 315 of file ov-classdef.h.

References cdef_object_rep::mark_as_constructed(), and rep.

◆ mark_for_construction()

void cdef_object::mark_for_construction ( const cdef_class cls)
inline

Definition at line 302 of file ov-classdef.h.

References cdef_object_rep::mark_for_construction(), and rep.

◆ ok()

◆ operator=()

cdef_object& cdef_object::operator= ( const cdef_object obj)
inline

◆ put()

◆ set_class()

void cdef_object::set_class ( const cdef_class cls)
inline

◆ set_property()

void cdef_object::set_property ( octave_idx_type  idx,
const std::string pname,
const octave_value pval 
)
inline

Definition at line 272 of file ov-classdef.h.

References pname, rep, and cdef_object_rep::set_property().

◆ subsasgn()

octave_value cdef_object::subsasgn ( const std::string type,
const std::list< octave_value_list > &  idx,
const octave_value rhs,
int  ignore_copies = 0 
)
inline

Definition at line 287 of file ov-classdef.h.

References make_unique(), rep, cdef_object_rep::subsasgn(), and type.

◆ subsref()

octave_value_list cdef_object::subsref ( const std::string type,
const std::list< octave_value_list > &  idx,
int  nargout,
size_t skip,
const cdef_class context,
bool  auto_add = false 
)
inline

Definition at line 281 of file ov-classdef.h.

References octave::context, nargout(), rep, cdef_object_rep::subsref(), and type.

Member Data Documentation

◆ rep


The documentation for this class was generated from the following files: