#include "cdef-object.h"
Public Member Functions | |
cdef_object_rep (void) | |
virtual | ~cdef_object_rep (void)=default |
virtual Array< cdef_object > | array_value (void) const |
std::string | class_name (void) const |
virtual cdef_object_rep * | clone (void) const |
virtual cdef_object_rep * | copy (void) const |
virtual void | destroy (void) |
virtual dim_vector | dims (void) const |
virtual cdef_object_rep * | empty_clone (void) const |
virtual octave_value | get (const std::string &) const |
virtual cdef_class | get_class (void) const |
virtual octave_value | get_property (octave_idx_type, const std::string &) 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_rep * | make_array (void) const |
virtual string_vector | map_keys (void) const |
virtual void | mark_as_constructed (const cdef_class &) |
virtual void | mark_as_constructed (void) |
virtual void | mark_for_construction (const cdef_class &) |
cdef_object_rep & | operator= (const cdef_object_rep &)=delete |
virtual void | put (const std::string &, const octave_value &) |
void | release (const cdef_object &obj) |
virtual void | set_class (const cdef_class &) |
virtual void | set_property (octave_idx_type, const std::string &, const octave_value &) |
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 | |
refcount< octave_idx_type > | m_count |
Private Member Functions | |
OCTAVE_NORETURN void | err_invalid_object (const char *who) const |
Friends | |
class | cdef_object |
Definition at line 50 of file cdef-object.h.
|
inline |
Definition at line 57 of file cdef-object.h.
|
virtualdefault |
|
inlineprotected |
Definition at line 187 of file cdef-object.h.
|
inlinevirtual |
Reimplemented in octave::cdef_object_array.
Definition at line 98 of file cdef-object.h.
std::string octave::cdef_object_rep::class_name | ( | void | ) | const |
Definition at line 120 of file cdef-object.cc.
References get_class(), and octave::cdef_class::get_name().
Referenced by octave::cdef_object_array::subsasgn(), and octave::cdef_object_array::subsref().
|
inlinevirtual |
Reimplemented in octave::value_cdef_object, octave::handle_cdef_object, and octave::cdef_object_array.
Definition at line 70 of file cdef-object.h.
|
inlinevirtual |
Reimplemented in octave::cdef_property::cdef_property_rep, octave::cdef_package::cdef_package_rep, octave::cdef_meta_object_rep, octave::value_cdef_object, octave::handle_cdef_object, octave::cdef_method::cdef_method_rep, and octave::cdef_class::cdef_class_rep.
Definition at line 80 of file cdef-object.h.
|
inlinevirtual |
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 release().
|
inlinevirtual |
Reimplemented in octave::cdef_object_scalar, and octave::cdef_object_array.
Definition at line 178 of file cdef-object.h.
|
inlinevirtual |
Reimplemented in octave::cdef_object_base.
Definition at line 75 of file cdef-object.h.
|
inlineprivate |
|
inlinevirtual |
Reimplemented in octave::cdef_object_scalar.
Definition at line 106 of file cdef-object.h.
|
virtual |
Reimplemented in octave::cdef_object_base.
Definition at line 114 of file cdef-object.cc.
References err_invalid_object().
Referenced by class_name(), octave::cdef_object::get_class(), map_keys(), and release().
|
inlinevirtual |
Reimplemented in octave::cdef_object_scalar, and octave::cdef_object_array.
Definition at line 117 of file cdef-object.h.
|
inlinevirtual |
Reimplemented in octave::cdef_object_array.
Definition at line 90 of file cdef-object.h.
|
inlinevirtual |
Reimplemented in octave::cdef_object_scalar.
Definition at line 167 of file cdef-object.h.
|
inlinevirtual |
Reimplemented in octave::cdef_object_scalar.
Definition at line 147 of file cdef-object.h.
|
inlinevirtual |
Reimplemented in octave::handle_cdef_object.
Definition at line 94 of file cdef-object.h.
Referenced by release(), and octave::cdef_object_scalar::subsasgn().
|
inlinevirtual |
Reimplemented in octave::cdef_meta_object_rep.
Definition at line 96 of file cdef-object.h.
Referenced by release().
|
inlinevirtual |
Reimplemented in octave::cdef_object_scalar.
Definition at line 152 of file cdef-object.h.
|
inlinevirtual |
Reimplemented in octave::value_cdef_object, octave::handle_cdef_object, and octave::cdef_object_array.
Definition at line 138 of file cdef-object.h.
|
inlinevirtual |
Reimplemented in octave::value_cdef_object.
Definition at line 92 of file cdef-object.h.
|
inlinevirtual |
Reimplemented in octave::cdef_object_base.
Definition at line 85 of file cdef-object.h.
|
virtual |
Definition at line 126 of file cdef-object.cc.
References get_class(), octave::cdef_class::get_names(), and octave::cdef_object::ok().
|
inlinevirtual |
Reimplemented in octave::cdef_object_scalar.
Definition at line 162 of file cdef-object.h.
|
inlinevirtual |
Reimplemented in octave::cdef_object_scalar.
Definition at line 157 of file cdef-object.h.
|
inlinevirtual |
Reimplemented in octave::cdef_object_scalar.
Definition at line 142 of file cdef-object.h.
|
delete |
|
inlinevirtual |
Reimplemented in octave::cdef_object_scalar.
Definition at line 103 of file cdef-object.h.
void octave::cdef_object_rep::release | ( | const cdef_object & | obj | ) |
Definition at line 44 of file cdef-object.cc.
References octave::__get_interpreter__(), octave::cdef_class::delete_object(), destroy(), get_class(), interpreter_try(), is_handle_object(), is_meta_object(), m_count, octave_interrupt_state, octave::action_container::protect_var(), quit_allowed, octave::interpreter::recover_from_exception(), static_count(), and warning().
|
inlinevirtual |
Reimplemented in octave::cdef_object_base.
Definition at line 65 of file cdef-object.h.
|
inlinevirtual |
Reimplemented in octave::cdef_object_scalar, and octave::cdef_object_array.
Definition at line 111 of file cdef-object.h.
|
inlinevirtual |
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 release().
|
inlinevirtual |
Reimplemented in octave::cdef_object_scalar, and octave::cdef_object_array.
Definition at line 130 of file cdef-object.h.
|
inlinevirtual |
Reimplemented in octave::cdef_object_scalar, and octave::cdef_object_array.
Definition at line 123 of file cdef-object.h.
|
friend |
Definition at line 55 of file cdef-object.h.
Referenced by octave::cdef_object_scalar::subsasgn(), and octave::cdef_object_scalar::subsref().
|
protected |
Definition at line 183 of file cdef-object.h.
Referenced by octave::handle_cdef_object::clone(), octave::cdef_object::operator=(), release(), octave::cdef_object_array::subsasgn(), octave::cdef_object_scalar::subsasgn(), octave::cdef_object_array::subsref(), and octave::cdef_object_scalar::subsref().