#include "cdef-object.h"
Public Member Functions | |
cdef_object () | |
cdef_object (cdef_object_rep *r) | |
cdef_object (const cdef_object &obj) | |
virtual | ~cdef_object () |
Array< cdef_object > | array_value () const |
void | break_closure_cycles (const std::shared_ptr< stack_frame > &frame) |
std::string | class_name () const |
cdef_object | clone () const |
cdef_object | copy () const |
dim_vector | dims () const |
cdef_object | empty_clone () const |
octave_value | get (const std::string &pname) const |
cdef_class | get_class () const |
octave_value | get_property (octave_idx_type idx, const std::string &pname) const |
const cdef_object_rep * | get_rep () const |
bool | is (const cdef_object &obj) const |
bool | is_array () const |
bool | is_constructed () const |
bool | is_constructed_for (const cdef_class &cls) const |
bool | is_handle_object () const |
bool | is_meta_object () const |
bool | is_partially_constructed_for (const cdef_class &cls) const |
bool | is_value_object () const |
cdef_object | make_array () const |
string_vector | map_keys () const |
octave_map | map_value () const |
void | mark_as_constructed () |
void | mark_as_constructed (const cdef_class &cls) |
void | mark_for_construction (const cdef_class &cls) |
bool | ok () const |
cdef_object & | operator= (const cdef_object &obj) |
void | put (const std::string &pname, const octave_value &val) |
void | set_class (const cdef_class &cls) |
void | set_property (octave_idx_type idx, const std::string &pname, const octave_value &pval) |
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, std::size_t &skip, const cdef_class &context, bool auto_add=false) |
Protected Member Functions | |
cdef_object_rep * | get_rep () |
void | make_unique (int ignore_copies) |
Definition at line 201 of file cdef-object.h.
|
inline |
Definition at line 208 of file cdef-object.h.
Referenced by clone(), copy(), empty_clone(), and make_array().
|
inline |
Definition at line 210 of file cdef-object.h.
|
inline |
Definition at line 213 of file cdef-object.h.
|
inlinevirtual |
Definition at line 215 of file cdef-object.h.
|
inline |
Definition at line 260 of file cdef-object.h.
Referenced by map_value(), and cdef_object_array::subsasgn().
|
inline |
Definition at line 285 of file cdef-object.h.
|
inline |
Definition at line 234 of file cdef-object.h.
Referenced by cdef_method::cdef_method(), cdef_package::cdef_package(), cdef_property::cdef_property(), cdef_class::make_meta_class(), and cdef_object_array::subsasgn().
|
inline |
Definition at line 236 of file cdef-object.h.
References cdef_object().
Referenced by value_cdef_object::copy(), and make_unique().
|
inline |
Definition at line 250 of file cdef-object.h.
References cdef_object().
|
inline |
Definition at line 243 of file cdef-object.h.
|
inline |
Definition at line 238 of file cdef-object.h.
References cdef_object().
|
inline |
Definition at line 268 of file cdef-object.h.
Referenced by check_access(), F__methods__(), Fproperties(), cdef_object_array::get_property(), cdef_object_scalar::get_property(), is_superclass(), cdef_class::make_meta_class(), and cdef_object_scalar::mark_for_construction().
cdef_class cdef_object::get_class | ( | ) | const |
Definition at line 183 of file cdef-object.cc.
References cdef_object_rep::get_class().
Referenced by Fmetaclass(), map_value(), and cdef_object_array::subsasgn().
|
inline |
Definition at line 280 of file cdef-object.h.
|
inlineprotected |
Definition at line 340 of file cdef-object.h.
|
inline |
Definition at line 310 of file cdef-object.h.
Referenced by cdef_meta_object::doc_string(), cdef_meta_object::is_class(), cdef_meta_object::is_method(), cdef_meta_object::is_package(), cdef_meta_object::is_property(), cdef_meta_object::meta_accepts_postfix_index(), cdef_meta_object::meta_release(), and cdef_meta_object::meta_subsref().
|
inline |
Definition at line 336 of file cdef-object.h.
Referenced by cdef_object_array::subsasgn().
|
inline |
Definition at line 252 of file cdef-object.h.
Referenced by map_value(), and cdef_object_array::subsasgn().
|
inline |
Definition at line 319 of file cdef-object.h.
|
inline |
Definition at line 321 of file cdef-object.h.
|
inline |
Definition at line 256 of file cdef-object.h.
|
inline |
Definition at line 258 of file cdef-object.h.
|
inline |
Definition at line 326 of file cdef-object.h.
|
inline |
Definition at line 254 of file cdef-object.h.
|
inline |
Definition at line 245 of file cdef-object.h.
References cdef_object().
|
inlineprotected |
|
inline |
Definition at line 306 of file cdef-object.h.
octave_map cdef_object::map_value | ( | ) | const |
Definition at line 137 of file cdef-object.cc.
References array_value(), Array< T, Alloc >::dims(), get_class(), cdef_class::get_property_map(), is_array(), Array< T, Alloc >::numel(), ok(), cdef_class::property_all, octave_map::setfield(), and warning_with_id().
|
inline |
Definition at line 331 of file cdef-object.h.
|
inline |
Definition at line 333 of file cdef-object.h.
|
inline |
Definition at line 314 of file cdef-object.h.
|
inline |
Definition at line 312 of file cdef-object.h.
Referenced by check_access(), F__methods__(), cdef_manager::find_class(), cdef_manager::find_method_symbol(), cdef_manager::find_package(), cdef_manager::find_package_symbol(), Fproperties(), tree_evaluator::get_user_code(), tree_classdef::make_meta_class(), cdef_class::make_meta_class(), cdef_object_rep::map_keys(), map_value(), cdef_object_base::set_class(), cdef_object_array::subsasgn(), cdef_object_scalar::subsasgn(), cdef_object_scalar::subsref(), and to_ov().
|
inline |
Definition at line 217 of file cdef-object.h.
References cdef_object_rep::m_count.
Referenced by cdef_class::operator=(), cdef_method::operator=(), cdef_package::operator=(), and cdef_property::operator=().
|
inline |
Definition at line 263 of file cdef-object.h.
Referenced by cdef_manager::make_class(), cdef_manager::make_meta_class(), cdef_class::make_meta_class(), cdef_manager::make_method(), cdef_manager::make_package(), cdef_manager::make_property(), cdef_object_array::set_property(), and cdef_object_scalar::set_property().
|
inline |
Definition at line 232 of file cdef-object.h.
Referenced by cdef_manager::cdef_manager(), cdef_manager::make_class(), cdef_manager::make_method(), cdef_manager::make_package(), cdef_manager::make_property(), cdef_object_scalar::subsasgn(), cdef_object_array::subsref(), and cdef_object_scalar::subsref().
|
inline |
Definition at line 273 of file cdef-object.h.
|
inline |
Definition at line 299 of file cdef-object.h.
References make_unique().
Referenced by cdef_object_array::subsasgn(), and cdef_object_scalar::subsasgn().
|
inline |
Definition at line 291 of file cdef-object.h.
Referenced by cdef_object_scalar::subsref().