#include "cdef-object.h"
Public Member Functions | |
value_cdef_object (void) | |
~value_cdef_object (void) | |
virtual Array< cdef_object > | array_value (void) const |
std::string | class_name (void) const |
cdef_object_rep * | clone (void) const |
cdef_object_rep * | copy (void) const |
virtual void | destroy (void) |
dim_vector | dims (void) const |
cdef_object_rep * | empty_clone (void) const |
octave_value | get (const std::string &pname) const |
cdef_class | get_class (void) const |
octave_value | get_property (octave_idx_type idx, const std::string &pname) const |
virtual bool | is_array (void) const |
bool | is_constructed (void) const |
bool | is_constructed_for (const cdef_class &cls) const |
virtual bool | is_handle_object (void) const |
virtual bool | is_meta_object (void) const |
bool | is_partially_constructed_for (const cdef_class &cls) const |
bool | is_valid (void) const |
bool | is_value_object (void) const |
cdef_object_rep * | make_array (void) const |
virtual string_vector | map_keys (void) const |
void | mark_as_constructed (const cdef_class &cls) |
void | mark_as_constructed (void) |
void | mark_for_construction (const cdef_class &) |
value_cdef_object & | operator= (const value_cdef_object &)=delete |
void | put (const std::string &pname, const octave_value &val) |
void | release (const cdef_object &obj) |
void | set_class (const cdef_class &cls) |
void | set_property (octave_idx_type idx, const std::string &pname, const octave_value &pval) |
virtual octave_idx_type | static_count (void) const |
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, size_t &skip, const cdef_class &context, bool auto_add) |
Protected Attributes | |
std::map< cdef_class, std::list< cdef_class > > | ctor_list |
refcount< octave_idx_type > | m_count |
octave_scalar_map | map |
Private Member Functions | |
value_cdef_object (const value_cdef_object &obj) | |
OCTAVE_NORETURN void | err_invalid_object (const char *who) const |
Private Attributes | |
cdef_object | klass |
Definition at line 563 of file cdef-object.h.
|
inline |
Definition at line 568 of file cdef-object.h.
octave::value_cdef_object::~value_cdef_object | ( | void | ) |
Definition at line 738 of file cdef-object.cc.
References octave::cdef_object_base::get_class(), and octave::cdef_class::get_name().
|
inlineprivate |
Definition at line 588 of file cdef-object.h.
|
inlinevirtualinherited |
Reimplemented in octave::cdef_object_array.
Definition at line 98 of file cdef-object.h.
|
inherited |
Definition at line 120 of file cdef-object.cc.
References octave::cdef_object_rep::get_class(), and octave::cdef_class::get_name().
Referenced by octave::cdef_object_array::subsasgn(), and octave::cdef_object_array::subsref().
|
inlinevirtual |
Reimplemented from octave::cdef_object_rep.
Definition at line 574 of file cdef-object.h.
|
inlinevirtual |
Reimplemented from octave::cdef_object_rep.
Definition at line 579 of file cdef-object.h.
|
inlinevirtualinherited |
Reimplemented in octave::cdef_package::cdef_package_rep, and octave::cdef_class::cdef_class_rep.
Definition at line 174 of file cdef-object.h.
Referenced by octave::cdef_object_rep::release().
|
inlinevirtualinherited |
Reimplemented from octave::cdef_object_rep.
Definition at line 456 of file cdef-object.h.
|
inlinevirtualinherited |
Reimplemented from octave::cdef_object_rep.
Definition at line 358 of file cdef-object.h.
|
inlineprivateinherited |
Definition at line 191 of file cdef-object.h.
References error().
Referenced by octave::cdef_object_rep::get_class().
|
inlinevirtualinherited |
Reimplemented from octave::cdef_object_rep.
Definition at line 463 of file cdef-object.h.
References error(), and Array< T >::numel().
Referenced by octave::cdef_property::cdef_property_rep::get_value().
|
virtualinherited |
Reimplemented from octave::cdef_object_rep.
Definition at line 189 of file cdef-object.cc.
References octave::cdef_object_base::klass.
Referenced by octave::handle_cdef_object::~handle_cdef_object(), ~value_cdef_object(), octave::cdef_object_array::fill_empty_values(), octave::cdef_object_base::make_array(), octave::cdef_object_base::set_class(), octave::cdef_object_array::subsasgn(), octave::cdef_object_scalar::subsasgn(), octave::cdef_object_array::subsref(), and octave::cdef_object_scalar::subsref().
|
inlinevirtualinherited |
Reimplemented from octave::cdef_object_rep.
Definition at line 483 of file cdef-object.h.
References error().
|
inlinevirtualinherited |
Reimplemented in octave::cdef_object_array.
Definition at line 90 of file cdef-object.h.
|
inlinevirtualinherited |
Reimplemented from octave::cdef_object_rep.
Definition at line 510 of file cdef-object.h.
Referenced by octave::cdef_object_scalar::is_constructed_for(), and octave::cdef_object_scalar::is_partially_constructed_for().
|
virtualinherited |
Reimplemented from octave::cdef_object_rep.
Definition at line 699 of file cdef-object.cc.
References octave::cdef_object_scalar::ctor_list, and octave::cdef_object_scalar::is_constructed().
|
inlinevirtualinherited |
Reimplemented in octave::handle_cdef_object.
Definition at line 94 of file cdef-object.h.
Referenced by octave::cdef_object_rep::release(), and octave::cdef_object_scalar::subsasgn().
|
inlinevirtualinherited |
Reimplemented in octave::cdef_meta_object_rep.
Definition at line 96 of file cdef-object.h.
Referenced by octave::cdef_object_rep::release().
|
virtualinherited |
Reimplemented from octave::cdef_object_rep.
Definition at line 706 of file cdef-object.cc.
References octave::cdef_object_scalar::ctor_list, and octave::cdef_object_scalar::is_constructed().
|
inlinevirtual |
Reimplemented from octave::cdef_object_rep.
Definition at line 581 of file cdef-object.h.
|
inlinevirtual |
Reimplemented from octave::cdef_object_rep.
Definition at line 583 of file cdef-object.h.
|
virtualinherited |
Reimplemented from octave::cdef_object_rep.
Definition at line 206 of file cdef-object.cc.
References octave::cdef_object_base::get_class(), and r.
|
virtualinherited |
Definition at line 126 of file cdef-object.cc.
References octave::cdef_object_rep::get_class(), octave::cdef_class::get_names(), and octave::cdef_object::ok().
|
virtualinherited |
Reimplemented from octave::cdef_object_rep.
Definition at line 725 of file cdef-object.cc.
References octave::cdef_object_scalar::ctor_list.
|
inlinevirtualinherited |
Reimplemented from octave::cdef_object_rep.
Definition at line 506 of file cdef-object.h.
|
virtualinherited |
Reimplemented from octave::cdef_object_rep.
Definition at line 687 of file cdef-object.cc.
References octave_value::cell_value(), octave::cdef_object_scalar::ctor_list, octave::cdef_object::get(), octave::cdef_class::get_name(), and octave::lookup_classes().
|
delete |
|
inlinevirtualinherited |
Reimplemented from octave::cdef_object_rep.
Definition at line 458 of file cdef-object.h.
Referenced by octave::cdef_class::cdef_class_rep::cdef_class_rep().
|
inherited |
Definition at line 44 of file cdef-object.cc.
References octave::__get_interpreter__(), octave::cdef_class::delete_object(), octave::cdef_object_rep::destroy(), octave::cdef_object_rep::get_class(), interpreter_try(), octave::cdef_object_rep::is_handle_object(), octave::cdef_object_rep::is_meta_object(), octave::cdef_object_rep::m_count, octave_interrupt_state, octave::action_container::protect_var(), quit_allowed, octave::interpreter::recover_from_exception(), octave::cdef_object_rep::static_count(), and warning().
|
virtualinherited |
Reimplemented from octave::cdef_object_rep.
Definition at line 195 of file cdef-object.cc.
References octave::cdef_object_base::get_class(), octave::cdef_object_base::klass, and octave::cdef_object::ok().
|
inlinevirtualinherited |
Reimplemented from octave::cdef_object_rep.
Definition at line 473 of file cdef-object.h.
References error().
|
inlinevirtualinherited |
Reimplemented in octave::cdef_package::cdef_package_rep, and octave::cdef_class::cdef_class_rep.
Definition at line 172 of file cdef-object.h.
Referenced by octave::cdef_object_rep::release().
|
virtualinherited |
Reimplemented from octave::cdef_object_rep.
Definition at line 607 of file cdef-object.cc.
References octave_value::assign(), octave::cdef_object_rep::cdef_object, octave_value::class_name(), error(), octave::cdef_class::find_property(), octave::cdef_object_base::get_class(), octave::cdef_property::get_value(), octave::cdef_property::is_constant(), octave::cdef_object_rep::is_handle_object(), octave::cdef_object_rep::m_count, name, octave::cdef_object::ok(), octave_value::op_asn_eq, retval, octave::cdef_object::set_class(), octave::cdef_property::set_value(), octave::cdef_object::subsasgn(), octave::to_cdef(), and octave::to_ov().
|
virtualinherited |
Reimplemented from octave::cdef_object_rep.
Definition at line 503 of file cdef-object.cc.
References octave::cdef_object_rep::cdef_object, octave::context, octave_value_list::empty(), error(), octave::cdef_method::execute(), octave::cdef_class::find_method(), octave::cdef_class::find_property(), octave::cdef_object_base::get_class(), octave::cdef_property::get_value(), octave::cdef_property::is_constant(), octave::cdef_method::is_static(), octave::cdef_object_rep::m_count, name, octave::cdef_object::ok(), retval, octave::cdef_object::set_class(), octave::cdef_object::subsref(), and octave::to_ov().
|
protectedinherited |
|
privateinherited |
Definition at line 375 of file cdef-object.h.
Referenced by octave::cdef_object_base::get_class(), and octave::cdef_object_base::set_class().
|
protectedinherited |
Definition at line 183 of file cdef-object.h.
Referenced by octave::handle_cdef_object::clone(), octave::cdef_object::operator=(), octave::cdef_object_rep::release(), octave::cdef_object_array::subsasgn(), octave::cdef_object_scalar::subsasgn(), octave::cdef_object_array::subsref(), and octave::cdef_object_scalar::subsref().
|
protectedinherited |
Definition at line 515 of file cdef-object.h.