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

#include "cdef-object.h"

Inheritance diagram for cdef_meta_object_rep:
handle_cdef_object cdef_object_scalar cdef_object_base cdef_object_rep

Public Member Functions

 cdef_meta_object_rep ()
 
 ~cdef_meta_object_rep ()=default
 
cdef_object_repcopy () const
 
std::string doc_string () const
 
void doc_string (const std::string &txt)
 
virtual bool is_class () const
 
bool is_meta_object () const
 
virtual bool is_method () const
 
virtual bool is_package () const
 
virtual bool is_property () const
 
virtual bool meta_accepts_postfix_index (char) const
 
virtual void meta_release ()
 
virtual octave_value_list meta_subsref (const std::string &, const std::list< octave_value_list > &, int)
 
cdef_meta_object_repoperator= (const cdef_meta_object_rep &)=delete
 
- Public Member Functions inherited from handle_cdef_object
 handle_cdef_object ()
 
 ~handle_cdef_object ()
 
cdef_object_repclone () const
 
bool is_handle_object () const
 
bool is_valid () const
 
handle_cdef_objectoperator= (const handle_cdef_object &)=delete
 
- Public Member Functions inherited from cdef_object_scalar
 cdef_object_scalar ()
 
 ~cdef_object_scalar ()=default
 
void break_closure_cycles (const std::shared_ptr< stack_frame > &frame)
 
dim_vector dims () const
 
octave_value get (const std::string &pname) const
 
octave_value get_property (octave_idx_type idx, const std::string &pname) const
 
bool is_constructed () const
 
bool is_constructed_for (const cdef_class &cls) const
 
bool is_partially_constructed_for (const cdef_class &cls) const
 
void mark_as_constructed ()
 
void mark_as_constructed (const cdef_class &cls)
 
void mark_for_construction (const cdef_class &)
 
cdef_object_scalaroperator= (const cdef_object_scalar &)=delete
 
void put (const std::string &pname, const octave_value &val)
 
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)
 
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)
 
- Public Member Functions inherited from cdef_object_base
 cdef_object_base ()
 
 ~cdef_object_base ()
 
cdef_object_repempty_clone () const
 
cdef_class get_class () const
 
cdef_object_repmake_array () const
 
cdef_object_baseoperator= (const cdef_object_base &)=delete
 
void set_class (const cdef_class &cls)
 
- Public Member Functions inherited from cdef_object_rep
 cdef_object_rep ()
 
virtual ~cdef_object_rep ()=default
 
virtual Array< cdef_objectarray_value () const
 
std::string class_name () const
 
virtual void destroy ()
 
virtual bool is_array () const
 
virtual bool is_value_object () const
 
virtual string_vector map_keys () const
 
cdef_object_repoperator= (const cdef_object_rep &)=delete
 
void release (const cdef_object &obj)
 
virtual octave_idx_type static_count () const
 

Protected Member Functions

 cdef_meta_object_rep (const cdef_meta_object_rep &obj)
 
- Protected Member Functions inherited from handle_cdef_object
 handle_cdef_object (const handle_cdef_object &obj)
 
- Protected Member Functions inherited from cdef_object_scalar
 cdef_object_scalar (const cdef_object_scalar &obj)
 
- Protected Member Functions inherited from cdef_object_base
 cdef_object_base (const cdef_object_base &obj)
 
- Protected Member Functions inherited from cdef_object_rep
 cdef_object_rep (const cdef_object_rep &)
 

Protected Attributes

std::string m_doc_string
 
- Protected Attributes inherited from cdef_object_scalar
std::map< cdef_class, std::list< cdef_class > > m_ctor_list
 
octave_scalar_map m_map
 
- Protected Attributes inherited from cdef_object_rep
refcount< octave_idx_typem_count
 

Detailed Description

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

Constructor & Destructor Documentation

◆ cdef_meta_object_rep() [1/2]

cdef_meta_object_rep::cdef_meta_object_rep ( )
inline

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

◆ ~cdef_meta_object_rep()

cdef_meta_object_rep::~cdef_meta_object_rep ( )
default

◆ cdef_meta_object_rep() [2/2]

cdef_meta_object_rep::cdef_meta_object_rep ( const cdef_meta_object_rep obj)
inlineprotected

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

Member Function Documentation

◆ copy()

cdef_object_rep* cdef_meta_object_rep::copy ( ) const
inlinevirtual

Reimplemented from handle_cdef_object.

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

◆ doc_string() [1/2]

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

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

◆ doc_string() [2/2]

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

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

◆ is_class()

virtual bool cdef_meta_object_rep::is_class ( ) const
inlinevirtual

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

◆ is_meta_object()

bool cdef_meta_object_rep::is_meta_object ( ) const
inlinevirtual

Reimplemented from cdef_object_rep.

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

◆ is_method()

virtual bool cdef_meta_object_rep::is_method ( ) const
inlinevirtual

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

◆ is_package()

virtual bool cdef_meta_object_rep::is_package ( ) const
inlinevirtual

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

◆ is_property()

virtual bool cdef_meta_object_rep::is_property ( ) const
inlinevirtual

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

◆ meta_accepts_postfix_index()

virtual bool cdef_meta_object_rep::meta_accepts_postfix_index ( char  ) const
inlinevirtual

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

◆ meta_release()

virtual void cdef_meta_object_rep::meta_release ( )
inlinevirtual

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

◆ meta_subsref()

virtual octave_value_list cdef_meta_object_rep::meta_subsref ( const std::string &  ,
const std::list< octave_value_list > &  ,
int   
)
inlinevirtual

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

References error().

◆ operator=()

cdef_meta_object_rep& cdef_meta_object_rep::operator= ( const cdef_meta_object_rep )
delete

Member Data Documentation

◆ m_doc_string

std::string cdef_meta_object_rep::m_doc_string
protected

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


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