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 | Friends | List of all members
cdef_object_rep Class Reference

#include "ov-classdef.h"

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

Public Member Functions

 cdef_object_rep (void)
 
virtual ~cdef_object_rep (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
 
virtual cdef_object_repempty_clone (void) const
 
virtual octave_value get (const std::string &) const
 
virtual 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
 
virtual 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)
 
virtual void set_class (const cdef_class &)
 
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_rep (const cdef_object_rep &)
 

Protected Attributes

octave_refcount< octave_idx_typerefcount
 

Private Member Functions

void gripe_invalid_object (const char *who) const
 
cdef_object_repoperator= (const cdef_object_rep &)
 

Friends

class cdef_object
 

Detailed Description

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

Constructor & Destructor Documentation

cdef_object_rep::cdef_object_rep ( void  )
inline

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

virtual cdef_object_rep::~cdef_object_rep ( void  )
inlinevirtual

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

cdef_object_rep::cdef_object_rep ( const cdef_object_rep )
inlineprotected

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

Member Function Documentation

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

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
inline
virtual cdef_object_rep* cdef_object_rep::clone ( void  ) const
inlinevirtual

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
inlinevirtual
virtual void cdef_object_rep::destroy ( void  )
inlinevirtual

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
inlinevirtual

Reimplemented in cdef_object_scalar, and cdef_object_array.

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

Referenced by cdef_object::dims().

virtual cdef_object_rep* cdef_object_rep::empty_clone ( void  ) const
inlinevirtual

Reimplemented in cdef_object_base.

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

Referenced by cdef_object::empty_clone().

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

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_rep::get_class ( void  ) const
inlinevirtual

Reimplemented in cdef_object_base.

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

References cdef_class::cdef_class(), and gripe_invalid_object().

Referenced by class_name(), cdef_object::get_class(), and map_keys().

void cdef_object_rep::gripe_invalid_object ( const char who) const
inlineprivate

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

References error().

Referenced by get_class().

virtual bool cdef_object_rep::is_array ( void  ) const
inlinevirtual

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
inlinevirtual

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
inlinevirtual

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
inlinevirtual

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
inlinevirtual

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
inlinevirtual

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
inlinevirtual

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
inlinevirtual

Reimplemented in value_cdef_object.

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

Referenced by cdef_object::is_value_object().

virtual cdef_object_rep* cdef_object_rep::make_array ( void  ) const
inlinevirtual

Reimplemented in cdef_object_base.

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

Referenced by cdef_object::make_array().

string_vector cdef_object_rep::map_keys ( void  ) const
virtual

Definition at line 1394 of file ov-classdef.cc.

References get_class(), cdef_class::get_names(), and cdef_object::ok().

Referenced by cdef_object::map_keys().

virtual void cdef_object_rep::mark_as_constructed ( void  )
inlinevirtual

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 )
inlinevirtual

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 )
inlinevirtual

Reimplemented in cdef_object_scalar.

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

Referenced by cdef_object::mark_for_construction().

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

Reimplemented in cdef_object_scalar.

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

Referenced by cdef_object::put().

void cdef_object_rep::release ( void  )
inline

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

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

virtual void cdef_object_rep::set_class ( const cdef_class )
inlinevirtual

Reimplemented in cdef_object_base.

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

Referenced by cdef_object_base::make_array(), and cdef_object::set_class().

virtual octave_idx_type cdef_object_rep::static_count ( void  ) const
inlinevirtual

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  
)
inlinevirtual

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   
)
inlinevirtual

Reimplemented in cdef_object_scalar, and cdef_object_array.

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

Referenced by cdef_object::subsref().

Friends And Related Function Documentation

friend class cdef_object
friend

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

Referenced by cdef_object_scalar::subsasgn(), and cdef_object_scalar::subsref().

Member Data Documentation

octave_refcount<octave_idx_type> cdef_object_rep::refcount
protected

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