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

#include "cdef-object.h"

Inheritance diagram for octave::cdef_meta_object:
Collaboration diagram for octave::cdef_meta_object:

Public Member Functions

 cdef_meta_object (cdef_meta_object_rep *r)
 
 cdef_meta_object (const cdef_meta_object &obj)
 
 cdef_meta_object (const cdef_object &obj)
 
 cdef_meta_object (void)
 
 ~cdef_meta_object (void)=default
 
Array< cdef_objectarray_value (void) const
 
void break_closure_cycles (const std::shared_ptr< stack_frame > &frame)
 
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
 
OCTINTERP_API cdef_class get_class (void) const
 
octave_value get_property (octave_idx_type idx, const std::string &pname) const
 
bool is (const cdef_object &obj) const
 
bool is_array (void) const
 
bool is_class (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_method (void) const
 
bool is_package (void) const
 
bool is_partially_constructed_for (const cdef_class &cls) const
 
bool is_property (void) const
 
bool is_value_object (void) const
 
cdef_object make_array (void) const
 
string_vector map_keys (void) const
 
OCTINTERP_API 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 meta_accepts_postfix_index (char type) const
 
void meta_release (void)
 
octave_value_list meta_subsref (const std::string &type, const std::list< octave_value_list > &idx, int nargout)
 
bool ok (void) const
 
cdef_meta_objectoperator= (const cdef_object &)=delete
 
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, std::size_t &skip, const cdef_class &context, bool auto_add=false)
 

Protected Member Functions

void make_unique (int ignore_copies)
 

Private Member Functions

cdef_meta_object_repget_rep (void)
 
const cdef_meta_object_repget_rep (void) const
 

Private Attributes

cdef_object_repm_rep
 

Detailed Description

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

Constructor & Destructor Documentation

◆ cdef_meta_object() [1/4]

octave::cdef_meta_object::cdef_meta_object ( void  )
inline

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

◆ cdef_meta_object() [2/4]

octave::cdef_meta_object::cdef_meta_object ( const cdef_meta_object obj)
inline

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

◆ cdef_meta_object() [3/4]

octave::cdef_meta_object::cdef_meta_object ( cdef_meta_object_rep r)
inline

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

◆ cdef_meta_object() [4/4]

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

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

◆ ~cdef_meta_object()

octave::cdef_meta_object::~cdef_meta_object ( void  )
default

Member Function Documentation

◆ array_value()

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

◆ break_closure_cycles()

void octave::cdef_object::break_closure_cycles ( const std::shared_ptr< stack_frame > &  frame)
inlineinherited

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

◆ class_name()

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

◆ clone()

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

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

References octave::cdef_object.

◆ copy()

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

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

References octave::cdef_object.

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

◆ dims()

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

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

◆ empty_clone()

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

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

References octave::cdef_object.

◆ get()

◆ get_class()

◆ get_property()

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

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

◆ get_rep() [1/2]

cdef_meta_object_rep * octave::cdef_meta_object::get_rep ( void  )
inlineprivate

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

References octave::cdef_object::get_rep().

◆ get_rep() [2/2]

const cdef_meta_object_rep * octave::cdef_meta_object::get_rep ( void  ) const
inlineprivate

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

References octave::cdef_object::get_rep().

◆ is()

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

◆ is_array()

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

◆ is_class()

bool octave::cdef_meta_object::is_class ( void  ) const
inline

◆ is_constructed()

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

◆ is_constructed_for()

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

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

◆ is_handle_object()

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

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

Referenced by octave::cdef_property::cdef_property_rep::set_value().

◆ is_meta_object()

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

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

◆ is_method()

bool octave::cdef_meta_object::is_method ( void  ) const
inline

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

Referenced by octave_classdef_meta::is_classdef_method().

◆ is_package()

bool octave::cdef_meta_object::is_package ( void  ) const
inline

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

Referenced by octave_classdef_meta::is_package().

◆ is_partially_constructed_for()

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

◆ is_property()

bool octave::cdef_meta_object::is_property ( void  ) const
inline

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

◆ is_value_object()

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

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

◆ make_array()

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

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

References octave::cdef_object.

Referenced by octave_classdef::undef_subsasgn().

◆ make_unique()

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

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

◆ map_keys()

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

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

◆ map_value()

◆ mark_as_constructed() [1/2]

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

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

◆ mark_as_constructed() [2/2]

void octave::cdef_object::mark_as_constructed ( void  )
inlineinherited

Definition at line 329 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)
inlineinherited

◆ meta_accepts_postfix_index()

bool octave::cdef_meta_object::meta_accepts_postfix_index ( char  type) const
inline

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

Referenced by octave_classdef_meta::accepts_postfix_index().

◆ meta_release()

void octave::cdef_meta_object::meta_release ( void  )
inline

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

Referenced by octave_classdef_meta::~octave_classdef_meta().

◆ meta_subsref()

octave_value_list octave::cdef_meta_object::meta_subsref ( const std::string &  type,
const std::list< octave_value_list > &  idx,
int  nargout 
)
inline

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

Referenced by octave_classdef_meta::subsref().

◆ ok()

◆ operator=()

cdef_meta_object & octave::cdef_meta_object::operator= ( const cdef_object )
delete

◆ put()

◆ set_class()

◆ set_property()

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

Definition at line 271 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 
)
inlineinherited

◆ subsref()

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

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

Referenced by octave_classdef::subsref(), and octave::cdef_object_scalar::subsref().

Member Data Documentation

◆ m_rep

cdef_object_rep* octave::cdef_object::m_rep
privateinherited

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