GNU Octave  4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
cdef_object_base Class Reference

#include "ov-classdef.h"

Inheritance diagram for cdef_object_base:
Inheritance graph
[legend]
Collaboration diagram for cdef_object_base:
Collaboration graph
[legend]

Public Member Functions

 cdef_object_base (void)
 
 ~cdef_object_base (void)
 
virtual Array< cdef_objectarray_value (void) const
 
std::string class_name (void) const
 
virtual cdef_object_repclone (void) const
 
virtual cdef_object_repcopy (void) const
 
virtual void destroy (void)
 
virtual dim_vector dims (void) const
 
cdef_object_repempty_clone (void) const
 
virtual octave_value get (const std::string &) const
 
cdef_class get_class (void) const
 
virtual bool is_array (void) const
 
virtual bool is_constructed (void) const
 
virtual bool is_constructed_for (const cdef_class &) const
 
virtual bool is_handle_object (void) const
 
virtual bool is_meta_object (void) const
 
virtual bool is_partially_constructed_for (const cdef_class &) const
 
virtual bool is_valid (void) const
 
virtual bool is_value_object (void) const
 
cdef_object_repmake_array (void) const
 
virtual string_vector map_keys (void) const
 
virtual void mark_as_constructed (void)
 
virtual void mark_as_constructed (const cdef_class &)
 
virtual void mark_for_construction (const cdef_class &)
 
virtual void put (const std::string &, const octave_value &)
 
void release (void)
 
void set_class (const cdef_class &cls)
 
virtual octave_idx_type static_count (void) const
 
virtual octave_value subsasgn (const std::string &, const std::list< octave_value_list > &, const octave_value &)
 
virtual octave_value_list subsref (const std::string &, const std::list< octave_value_list > &, int, size_t &, const cdef_class &, bool)
 

Protected Member Functions

 cdef_object_base (const cdef_object_base &obj)
 

Protected Attributes

octave_refcount< octave_idx_typerefcount
 

Private Member Functions

cdef_object_baseoperator= (const cdef_object_base &)
 
void register_object (void)
 
void unregister_object (void)
 

Private Attributes

cdef_object klass
 

Detailed Description

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

Constructor & Destructor Documentation

cdef_object_base::cdef_object_base ( void  )
inline

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

cdef_object_base::~cdef_object_base ( void  )
inline

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

cdef_object_base::cdef_object_base ( const cdef_object_base obj)
inlineprotected

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

Member Function Documentation

virtual Array<cdef_object> cdef_object_rep::array_value ( void  ) const
inlinevirtualinherited

Reimplemented in cdef_object_array.

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

Referenced by cdef_object::array_value().

std::string cdef_object_rep::class_name ( void  ) const
inlineinherited
virtual cdef_object_rep* cdef_object_rep::clone ( void  ) const
inlinevirtualinherited

Reimplemented in value_cdef_object, handle_cdef_object, and cdef_object_array.

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

Referenced by cdef_object::clone().

virtual cdef_object_rep* cdef_object_rep::copy ( void  ) const
inlinevirtualinherited
virtual void cdef_object_rep::destroy ( void  )
inlinevirtualinherited

Reimplemented in cdef_package::cdef_package_rep, and cdef_class::cdef_class_rep.

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

virtual dim_vector cdef_object_rep::dims ( void  ) const
inlinevirtualinherited

Reimplemented in cdef_object_scalar, and cdef_object_array.

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

Referenced by cdef_object::dims().

cdef_object_rep* cdef_object_base::empty_clone ( void  ) const
inlinevirtual

Reimplemented from cdef_object_rep.

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

virtual octave_value cdef_object_rep::get ( const std::string &  ) const
inlinevirtualinherited

Reimplemented in cdef_object_scalar.

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

References octave_value().

Referenced by cdef_object::get().

cdef_class cdef_object_base::get_class ( void  ) const
inlinevirtual
virtual bool cdef_object_rep::is_array ( void  ) const
inlinevirtualinherited

Reimplemented in cdef_object_array.

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

Referenced by cdef_object::is_array().

virtual bool cdef_object_rep::is_constructed ( void  ) const
inlinevirtualinherited

Reimplemented in cdef_object_scalar.

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

Referenced by cdef_object::is_constructed().

virtual bool cdef_object_rep::is_constructed_for ( const cdef_class ) const
inlinevirtualinherited

Reimplemented in cdef_object_scalar.

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

Referenced by cdef_object::is_constructed_for().

virtual bool cdef_object_rep::is_handle_object ( void  ) const
inlinevirtualinherited

Reimplemented in handle_cdef_object.

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

Referenced by cdef_object::is_handle_object().

virtual bool cdef_object_rep::is_meta_object ( void  ) const
inlinevirtualinherited

Reimplemented in cdef_meta_object_rep.

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

Referenced by cdef_object::is_meta_object().

virtual bool cdef_object_rep::is_partially_constructed_for ( const cdef_class ) const
inlinevirtualinherited

Reimplemented in cdef_object_scalar.

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

Referenced by cdef_object::is_partially_constructed_for().

virtual bool cdef_object_rep::is_valid ( void  ) const
inlinevirtualinherited

Reimplemented in value_cdef_object, handle_cdef_object, and cdef_object_array.

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

Referenced by cdef_object::ok().

virtual bool cdef_object_rep::is_value_object ( void  ) const
inlinevirtualinherited

Reimplemented in value_cdef_object.

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

Referenced by cdef_object::is_value_object().

cdef_object_rep * cdef_object_base::make_array ( void  ) const
inlinevirtual

Reimplemented from cdef_object_rep.

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

References get_class(), and cdef_object_rep::set_class().

string_vector cdef_object_rep::map_keys ( void  ) const
virtualinherited
virtual void cdef_object_rep::mark_as_constructed ( void  )
inlinevirtualinherited

Reimplemented in cdef_object_scalar.

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

Referenced by cdef_object::mark_as_constructed().

virtual void cdef_object_rep::mark_as_constructed ( const cdef_class )
inlinevirtualinherited

Reimplemented in cdef_object_scalar.

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

virtual void cdef_object_rep::mark_for_construction ( const cdef_class )
inlinevirtualinherited

Reimplemented in cdef_object_scalar.

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

Referenced by cdef_object::mark_for_construction().

cdef_object_base& cdef_object_base::operator= ( const cdef_object_base )
private
virtual void cdef_object_rep::put ( const std::string &  ,
const octave_value  
)
inlinevirtualinherited

Reimplemented in cdef_object_scalar.

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

Referenced by cdef_object::put().

void cdef_object_base::register_object ( void  )
inlineprivate

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

References error_state, get_class(), klass, cdef_object::ok(), and cdef_class::register_object().

Referenced by set_class().

void cdef_object_rep::release ( void  )
inlineinherited

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

Referenced by cdef_object::operator=(), and cdef_object::~cdef_object().

void cdef_object_base::set_class ( const cdef_class cls)
inlinevirtual

Reimplemented from cdef_object_rep.

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

References get_class(), klass, cdef_object::ok(), register_object(), and unregister_object().

virtual octave_idx_type cdef_object_rep::static_count ( void  ) const
inlinevirtualinherited

Reimplemented in cdef_package::cdef_package_rep, and cdef_class::cdef_class_rep.

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

virtual octave_value cdef_object_rep::subsasgn ( const std::string &  ,
const std::list< octave_value_list > &  ,
const octave_value  
)
inlinevirtualinherited

Reimplemented in cdef_object_scalar, and cdef_object_array.

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

References octave_value().

Referenced by cdef_object::subsasgn().

virtual octave_value_list cdef_object_rep::subsref ( const std::string &  ,
const std::list< octave_value_list > &  ,
int  ,
size_t ,
const cdef_class ,
bool   
)
inlinevirtualinherited

Reimplemented in cdef_object_scalar, and cdef_object_array.

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

Referenced by cdef_object::subsref().

void cdef_object_base::unregister_object ( void  )
inlineprivate

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

References error_state, get_class(), klass, cdef_object::ok(), and cdef_class::unregister_object().

Referenced by set_class().

Member Data Documentation

cdef_object cdef_object_base::klass
private

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

Referenced by get_class(), register_object(), set_class(), and unregister_object().

octave_refcount<octave_idx_type> cdef_object_rep::refcount
protectedinherited

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