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

#include "cdef-object.h"

Inheritance diagram for cdef_meta_object:
cdef_object cdef_class cdef_method cdef_package cdef_property

Public Member Functions

 cdef_meta_object ()
 
 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 ()=default
 
std::string doc_string () const
 
void doc_string (const std::string &txt)
 
bool is_class () const
 
bool is_method () const
 
bool is_package () const
 
bool is_property () const
 
bool meta_accepts_postfix_index (char type) const
 
void meta_release ()
 
octave_value_list meta_subsref (const std::string &type, const std::list< octave_value_list > &idx, int nargout)
 
cdef_meta_objectoperator= (const cdef_object &)=delete
 
- Public Member Functions inherited from cdef_object
 cdef_object ()
 
 cdef_object (cdef_object_rep *r)
 
 cdef_object (const cdef_object &obj)
 
virtual ~cdef_object ()
 
Array< cdef_objectarray_value () const
 
void break_closure_cycles (const std::shared_ptr< stack_frame > &frame)
 
std::string class_name () const
 
cdef_object clone () const
 
cdef_object copy () const
 
dim_vector dims () const
 
cdef_object empty_clone () const
 
octave_value get (const std::string &pname) const
 
cdef_class get_class () const
 
octave_value get_property (octave_idx_type idx, const std::string &pname) const
 
const cdef_object_repget_rep () const
 
bool is (const cdef_object &obj) const
 
bool is_array () const
 
bool is_constructed () const
 
bool is_constructed_for (const cdef_class &cls) const
 
bool is_handle_object () const
 
bool is_meta_object () const
 
bool is_partially_constructed_for (const cdef_class &cls) const
 
bool is_value_object () const
 
cdef_object make_array () const
 
string_vector map_keys () const
 
octave_map map_value () const
 
void mark_as_constructed ()
 
void mark_as_constructed (const cdef_class &cls)
 
void mark_for_construction (const cdef_class &cls)
 
bool ok () 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, std::size_t &skip, const cdef_class &context, bool auto_add=false)
 

Additional Inherited Members

- Protected Member Functions inherited from cdef_object
cdef_object_repget_rep ()
 
void make_unique (int ignore_copies)
 

Detailed Description

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

Constructor & Destructor Documentation

◆ cdef_meta_object() [1/4]

cdef_meta_object::cdef_meta_object ( )
inline

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

◆ cdef_meta_object() [2/4]

cdef_meta_object::cdef_meta_object ( const cdef_meta_object obj)
inline

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

◆ cdef_meta_object() [3/4]

cdef_meta_object::cdef_meta_object ( cdef_meta_object_rep r)
inline

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

◆ cdef_meta_object() [4/4]

cdef_meta_object::cdef_meta_object ( const cdef_object obj)
inline

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

◆ ~cdef_meta_object()

cdef_meta_object::~cdef_meta_object ( )
default

Member Function Documentation

◆ doc_string() [1/2]

std::string cdef_meta_object::doc_string ( ) const
inline

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

References cdef_object::get_rep().

◆ doc_string() [2/2]

void cdef_meta_object::doc_string ( const std::string &  txt)
inline

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

References cdef_object::get_rep().

Referenced by cdef_class::make_meta_class().

◆ is_class()

bool cdef_meta_object::is_class ( ) const
inline

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

References cdef_object::get_rep().

◆ is_method()

bool cdef_meta_object::is_method ( ) const
inline

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

References cdef_object::get_rep().

Referenced by cdef_method::cdef_method().

◆ is_package()

bool cdef_meta_object::is_package ( ) const
inline

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

References cdef_object::get_rep().

Referenced by cdef_package::cdef_package().

◆ is_property()

bool cdef_meta_object::is_property ( ) const
inline

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

References cdef_object::get_rep().

Referenced by cdef_property::cdef_property().

◆ meta_accepts_postfix_index()

bool cdef_meta_object::meta_accepts_postfix_index ( char  type) const
inline

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

References cdef_object::get_rep().

◆ meta_release()

void cdef_meta_object::meta_release ( )
inline

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

References cdef_object::get_rep().

◆ meta_subsref()

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

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

References cdef_object::get_rep().

◆ operator=()

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

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