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

#include "cdef-object.h"

Inheritance diagram for octave::cdef_object:
Collaboration diagram for octave::cdef_object:

Public Member Functions

 cdef_object (cdef_object_rep *r)
 
 cdef_object (const cdef_object &obj)
 
 cdef_object (void)
 
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 (const cdef_class &cls)
 
void mark_as_constructed (void)
 
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 197 of file cdef-object.h.

Constructor & Destructor Documentation

◆ cdef_object() [1/3]

octave::cdef_object::cdef_object ( void  )
inline

Definition at line 203 of file cdef-object.h.

Referenced by octave::cdef_class::cdef_class_rep::construct_object().

◆ cdef_object() [2/3]

octave::cdef_object::cdef_object ( const cdef_object obj)
inline

Definition at line 205 of file cdef-object.h.

◆ cdef_object() [3/3]

octave::cdef_object::cdef_object ( cdef_object_rep r)
inline

Definition at line 207 of file cdef-object.h.

◆ ~cdef_object()

virtual octave::cdef_object::~cdef_object ( void  )
inlinevirtual

Definition at line 209 of file cdef-object.h.

Member Function Documentation

◆ array_value()

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

Definition at line 254 of file cdef-object.h.

Referenced by map_value(), and octave::cdef_object_array::subsasgn().

◆ class_name()

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

◆ clone()

cdef_object octave::cdef_object::clone ( void  ) const
inline

Definition at line 230 of file cdef-object.h.

◆ copy()

cdef_object octave::cdef_object::copy ( void  ) const
inline

Definition at line 244 of file cdef-object.h.

Referenced by octave::cdef_object_array::fill_empty_values().

◆ dims()

dim_vector octave::cdef_object::dims ( void  ) const
inline

Definition at line 237 of file cdef-object.h.

◆ empty_clone()

cdef_object octave::cdef_object::empty_clone ( void  ) const
inline

Definition at line 232 of file cdef-object.h.

◆ get()

◆ get_class()

◆ get_property()

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

Definition at line 273 of file cdef-object.h.

◆ get_rep() [1/2]

cdef_object_rep* octave::cdef_object::get_rep ( void  )
inlineprotected

Definition at line 328 of file cdef-object.h.

◆ get_rep() [2/2]

◆ is()

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

Definition at line 324 of file cdef-object.h.

References rep.

Referenced by octave::is_method_executing(), and octave::cdef_object_array::subsasgn().

◆ is_array()

bool octave::cdef_object::is_array ( void  ) const
inline

◆ is_constructed()

bool octave::cdef_object::is_constructed ( void  ) const
inline

◆ is_constructed_for()

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

Definition at line 309 of file cdef-object.h.

◆ is_handle_object()

bool octave::cdef_object::is_handle_object ( void  ) const
inline

Definition at line 250 of file cdef-object.h.

◆ is_meta_object()

bool octave::cdef_object::is_meta_object ( void  ) const
inline

Definition at line 252 of file cdef-object.h.

◆ is_partially_constructed_for()

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

◆ is_value_object()

bool octave::cdef_object::is_value_object ( void  ) const
inline

Definition at line 248 of file cdef-object.h.

◆ make_array()

cdef_object octave::cdef_object::make_array ( void  ) const
inline

Definition at line 239 of file cdef-object.h.

◆ make_unique()

void octave::cdef_object::make_unique ( int  ignore_copies)
inlineprotected

Definition at line 330 of file cdef-object.h.

◆ map_keys()

string_vector octave::cdef_object::map_keys ( void  ) const
inline

Definition at line 294 of file cdef-object.h.

◆ map_value()

◆ mark_as_constructed() [1/2]

void octave::cdef_object::mark_as_constructed ( const cdef_class cls)
inline

Definition at line 321 of file cdef-object.h.

◆ mark_as_constructed() [2/2]

void octave::cdef_object::mark_as_constructed ( void  )
inline

Definition at line 319 of file cdef-object.h.

Referenced by octave::cdef_class::cdef_class_rep::run_constructor().

◆ mark_for_construction()

void octave::cdef_object::mark_for_construction ( const cdef_class cls)
inline

◆ ok()

◆ operator=()

◆ put()

◆ set_class()

◆ set_property()

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

Definition at line 266 of file cdef-object.h.

◆ subsasgn()

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

◆ subsref()

octave_value_list octave::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 279 of file cdef-object.h.

References octave::context.

Referenced by octave::cdef_object_scalar::subsref().

Member Data Documentation

◆ rep

cdef_object_rep* octave::cdef_object::rep
private

Definition at line 338 of file cdef-object.h.

Referenced by get_class(), is(), and operator=().


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