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 | Private Attributes | List of all members
cdef_object Class Reference

#include "ov-classdef.h"

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

Public Member Functions

 cdef_object (void)
 
 cdef_object (const cdef_object &obj)
 
 cdef_object (cdef_object_rep *r)
 
virtual ~cdef_object (void)
 
Array< cdef_objectarray_value (void) const
 
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
 
cdef_class get_class (void) const
 
const cdef_object_repget_rep (void) const
 
bool is (const cdef_object &obj) const
 
bool is_array (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_partially_constructed_for (const cdef_class &cls) const
 
bool is_value_object (void) const
 
cdef_object make_array (void) const
 
string_vector map_keys (void) const
 
octave_map map_value (void) const
 
void mark_as_constructed (void)
 
void mark_as_constructed (const cdef_class &cls)
 
void mark_for_construction (const cdef_class &cls)
 
bool ok (void) const
 
cdef_objectoperator= (const cdef_object &obj)
 
void put (const std::string &pname, const octave_value &val)
 
void set_class (const cdef_class &cls)
 
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, size_t &skip, const cdef_class &context, bool auto_add=false)
 

Protected Member Functions

cdef_object_repget_rep (void)
 
void make_unique (int ignore_copies)
 

Private Attributes

cdef_object_reprep
 

Detailed Description

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

Constructor & Destructor Documentation

cdef_object::cdef_object ( void  )
inline
cdef_object::cdef_object ( const cdef_object obj)
inline

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

References cdef_object_rep::refcount, and rep.

cdef_object::cdef_object ( cdef_object_rep r)
inline

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

virtual cdef_object::~cdef_object ( void  )
inlinevirtual

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

References cdef_object_rep::release(), and rep.

Member Function Documentation

Array<cdef_object> cdef_object::array_value ( void  ) const
inline

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

References cdef_object_rep::array_value(), and rep.

Referenced by map_value(), and cdef_object_array::subsasgn().

std::string cdef_object::class_name ( void  ) const
inline
cdef_object cdef_object::clone ( void  ) const
inline
cdef_object cdef_object::copy ( void  ) const
inline

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

References cdef_object(), cdef_object_rep::copy(), and rep.

Referenced by cdef_object_array::fill_empty_values().

dim_vector cdef_object::dims ( void  ) const
inline

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

References cdef_object_rep::dims(), and rep.

cdef_object cdef_object::empty_clone ( void  ) const
inline

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

References cdef_object(), cdef_object_rep::empty_clone(), and rep.

Referenced by octave_classdef::empty_clone().

octave_value cdef_object::get ( const std::string &  pname) const
inline
cdef_class cdef_object::get_class ( void  ) const
inline
const cdef_object_rep* cdef_object::get_rep ( void  ) const
inline
cdef_object_rep* cdef_object::get_rep ( void  )
inlineprotected

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

References rep.

bool cdef_object::is ( const cdef_object obj) const
inline

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

References rep.

Referenced by is_method_executing(), and cdef_object_array::subsasgn().

bool cdef_object::is_array ( void  ) const
inline

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

References cdef_object_rep::is_array(), and rep.

Referenced by map_value(), and cdef_object_array::subsasgn().

bool cdef_object::is_constructed ( void  ) const
inline
bool cdef_object::is_constructed_for ( const cdef_class cls) const
inline

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

References cdef_object_rep::is_constructed_for(), and rep.

bool cdef_object::is_handle_object ( void  ) const
inline

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

References cdef_object_rep::is_handle_object(), and rep.

Referenced by cdef_object_scalar::subsasgn().

bool cdef_object::is_meta_object ( void  ) const
inline

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

References cdef_object_rep::is_meta_object(), and rep.

bool cdef_object::is_partially_constructed_for ( const cdef_class cls) const
inline
bool cdef_object::is_value_object ( void  ) const
inline

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

References cdef_object_rep::is_value_object(), and rep.

cdef_object cdef_object::make_array ( void  ) const
inline

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

References cdef_object(), cdef_object_rep::make_array(), and rep.

void cdef_object::make_unique ( int  ignore_copies)
inlineprotected

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

References clone(), cdef_object_rep::refcount, and rep.

Referenced by subsasgn().

string_vector cdef_object::map_keys ( void  ) const
inline

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

References cdef_object_rep::map_keys(), and rep.

octave_map cdef_object::map_value ( void  ) const
void cdef_object::mark_as_constructed ( void  )
inline
void cdef_object::mark_as_constructed ( const cdef_class cls)
inline

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

References cdef_object_rep::mark_as_constructed(), and rep.

void cdef_object::mark_for_construction ( const cdef_class cls)
inline
bool cdef_object::ok ( void  ) const
inline
cdef_object& cdef_object::operator= ( const cdef_object obj)
inline
void cdef_object::put ( const std::string &  pname,
const octave_value val 
)
inline
void cdef_object::set_class ( const cdef_class cls)
inline
octave_value cdef_object::subsasgn ( const std::string &  type,
const std::list< octave_value_list > &  idx,
const octave_value rhs,
int  ignore_copies = 0 
)
inline
octave_value_list cdef_object::subsref ( const std::string &  type,
const std::list< octave_value_list > &  idx,
int  nargout,
size_t skip,
const cdef_class context,
bool  auto_add = false 
)
inline

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

References rep, and cdef_object_rep::subsref().

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

Member Data Documentation

cdef_object_rep* cdef_object::rep
private

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