#include "cdef-object.h"
Public Member Functions | |
cdef_object (cdef_object_rep *r) | |
cdef_object (const cdef_object &obj) | |
cdef_object (void) | |
virtual | ~cdef_object (void) |
Array< cdef_object > | array_value (void) const |
void | break_closure_cycles (const std::shared_ptr< stack_frame > &frame) |
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 |
OCTINTERP_API cdef_class | get_class (void) const |
octave_value | get_property (octave_idx_type idx, const std::string &pname) const |
const cdef_object_rep * | get_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 |
OCTINTERP_API octave_map | map_value (void) const |
void | mark_as_constructed (const cdef_class &cls) |
void | mark_as_constructed (void) |
void | mark_for_construction (const cdef_class &cls) |
bool | ok (void) 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) |
void | make_unique (int ignore_copies) |
Private Attributes | |
cdef_object_rep * | m_rep |
Definition at line 201 of file cdef-object.h.
|
inline |
Definition at line 208 of file cdef-object.h.
Referenced by cdef_class::cdef_class_rep::construct_object().
|
inline |
Definition at line 210 of file cdef-object.h.
References cdef_object_rep::m_count, and m_rep.
|
inline |
Definition at line 213 of file cdef-object.h.
|
inlinevirtual |
Definition at line 215 of file cdef-object.h.
References m_rep, and cdef_object_rep::release().
|
inline |
Definition at line 260 of file cdef-object.h.
References cdef_object_rep::array_value(), and m_rep.
Referenced by map_value(), and cdef_object_array::subsasgn().
|
inline |
Definition at line 285 of file cdef-object.h.
References cdef_object_rep::break_closure_cycles(), and m_rep.
|
inline |
Definition at line 234 of file cdef-object.h.
References cdef_object_rep::class_name(), and m_rep.
Referenced by cdef_method::cdef_method(), cdef_package::cdef_package(), cdef_property::cdef_property(), cdef_class::make_meta_class(), cdef_object_array::subsasgn(), and ctor_analyzer::visit_superclass_ref().
|
inline |
Definition at line 236 of file cdef-object.h.
References cdef_object, cdef_object_rep::clone(), and m_rep.
Referenced by value_cdef_object::copy(), and make_unique().
|
inline |
Definition at line 250 of file cdef-object.h.
References cdef_object, cdef_object_rep::copy(), and m_rep.
Referenced by cdef_object_array::fill_empty_values().
|
inline |
Definition at line 243 of file cdef-object.h.
References cdef_object_rep::dims(), and m_rep.
|
inline |
Definition at line 238 of file cdef-object.h.
References cdef_object, cdef_object_rep::empty_clone(), and m_rep.
|
inline |
Definition at line 268 of file cdef-object.h.
References cdef_object_rep::get(), and m_rep.
Referenced by check_access(), cdef_method::cdef_method_rep::check_access(), cdef_property::cdef_property_rep::check_get_access(), cdef_property::cdef_property_rep::check_set_access(), class_get_inferiorclasses(), class_get_superclasses(), cdef_class::cdef_class_rep::delete_object(), err_method_access(), cdef_property::cdef_property_rep::err_property_access(), cdef_method::cdef_method_rep::execute(), cdef_class::cdef_class_rep::find_method(), cdef_class::cdef_class_rep::find_methods(), cdef_class::cdef_class_rep::find_names(), cdef_class::cdef_class_rep::find_properties(), cdef_class::cdef_class_rep::find_property(), Fproperties(), cdef_method::cdef_method_rep::get_name(), cdef_package::cdef_package_rep::get_name(), cdef_property::cdef_property_rep::get_name(), cdef_object_array::get_property(), cdef_object_scalar::get_property(), cdef_property::cdef_property_rep::get_value(), cdef_class::cdef_class_rep::initialize_object(), cdef_property::cdef_property_rep::is_constant(), cdef_method::cdef_method_rep::is_static(), is_superclass(), cdef_class::make_meta_class(), cdef_object_scalar::mark_for_construction(), property_get_defaultvalue(), and cdef_property::cdef_property_rep::set_value().
cdef_class cdef_object::get_class | ( | void | ) | const |
Definition at line 183 of file cdef-object.cc.
References cdef_object_rep::get_class(), and m_rep.
Referenced by Fmetaclass(), tree_evaluator::make_fcn_handle(), map_value(), and cdef_object_array::subsasgn().
|
inline |
Definition at line 280 of file cdef-object.h.
References cdef_object_rep::get_property(), and m_rep.
|
inlineprotected |
Definition at line 340 of file cdef-object.h.
References m_rep.
|
inline |
Definition at line 310 of file cdef-object.h.
References m_rep.
Referenced by cdef_class::get_rep(), cdef_method::get_rep(), cdef_meta_object::get_rep(), cdef_package::get_rep(), cdef_property::get_rep(), 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.
References m_rep.
Referenced by is_method_executing(), and cdef_object_array::subsasgn().
|
inline |
Definition at line 252 of file cdef-object.h.
References cdef_object_rep::is_array(), and m_rep.
Referenced by map_value(), and cdef_object_array::subsasgn().
|
inline |
Definition at line 319 of file cdef-object.h.
References cdef_object_rep::is_constructed(), and m_rep.
Referenced by cdef_property::cdef_property_rep::get_value(), and cdef_property::cdef_property_rep::set_value().
|
inline |
Definition at line 321 of file cdef-object.h.
References cdef_object_rep::is_constructed_for(), and m_rep.
|
inline |
Definition at line 256 of file cdef-object.h.
References cdef_object_rep::is_handle_object(), and m_rep.
Referenced by cdef_property::cdef_property_rep::set_value().
|
inline |
Definition at line 258 of file cdef-object.h.
References cdef_object_rep::is_meta_object(), and m_rep.
|
inline |
Definition at line 326 of file cdef-object.h.
References cdef_object_rep::is_partially_constructed_for(), and m_rep.
Referenced by cdef_property::cdef_property_rep::get_value(), and cdef_property::cdef_property_rep::set_value().
|
inline |
Definition at line 254 of file cdef-object.h.
References cdef_object_rep::is_value_object(), and m_rep.
|
inline |
Definition at line 245 of file cdef-object.h.
References cdef_object, m_rep, and cdef_object_rep::make_array().
|
inlineprotected |
Definition at line 342 of file cdef-object.h.
References clone(), cdef_object_rep::m_count, and m_rep.
Referenced by subsasgn().
|
inline |
Definition at line 306 of file cdef-object.h.
References m_rep, and cdef_object_rep::map_keys().
octave_map cdef_object::map_value | ( | void | ) | 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 333 of file cdef-object.h.
References m_rep, and cdef_object_rep::mark_as_constructed().
|
inline |
Definition at line 331 of file cdef-object.h.
References m_rep, and cdef_object_rep::mark_as_constructed().
Referenced by cdef_class::cdef_class_rep::run_constructor().
|
inline |
Definition at line 314 of file cdef-object.h.
References m_rep, and cdef_object_rep::mark_for_construction().
Referenced by cdef_class::cdef_class_rep::initialize_object().
|
inline |
Definition at line 312 of file cdef-object.h.
References cdef_object_rep::is_valid(), and m_rep.
Referenced by check_access(), class_fevalStatic(), class_getConstant(), cdef_class::cdef_class_rep::construct(), cdef_class::cdef_class_rep::construct_object(), cdef_class::cdef_class_rep::delete_object(), F__methods__(), cdef_object_array::fill_empty_values(), cdef_manager::find_class(), cdef_class::cdef_class_rep::find_method(), cdef_manager::find_method_symbol(), cdef_manager::find_package(), cdef_manager::find_package_symbol(), cdef_class::cdef_class_rep::find_property(), Fproperties(), tree_evaluator::make_fcn_handle(), tree_classdef::make_meta_class(), cdef_class::make_meta_class(), cdef_object_rep::map_keys(), map_value(), cdef_class::cdef_class_rep::meta_subsref(), cdef_class::cdef_class_rep::run_constructor(), cdef_object_base::set_class(), cdef_object_array::subsasgn(), cdef_object_scalar::subsasgn(), cdef_object_scalar::subsref(), to_ov(), and ctor_analyzer::visit_superclass_ref().
|
inline |
Definition at line 217 of file cdef-object.h.
References cdef_object_rep::m_count, m_rep, and cdef_object_rep::release().
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.
References m_rep, and cdef_object_rep::put().
Referenced by cdef_class::cdef_class_rep::initialize_object(), 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_method::cdef_method_rep::set_name(), cdef_package::cdef_package_rep::set_name(), cdef_property::cdef_property_rep::set_name(), cdef_object_array::set_property(), cdef_object_scalar::set_property(), and cdef_property::cdef_property_rep::set_value().
|
inline |
Definition at line 232 of file cdef-object.h.
References m_rep, and cdef_object_rep::set_class().
Referenced by cdef_manager::cdef_manager(), cdef_class::cdef_class_rep::construct_object(), 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.
References m_rep, and cdef_object_rep::set_property().
|
inline |
Definition at line 299 of file cdef-object.h.
References m_rep, make_unique(), and cdef_object_rep::subsasgn().
Referenced by cdef_object_array::subsasgn(), and cdef_object_scalar::subsasgn().
|
inline |
Definition at line 291 of file cdef-object.h.
References m_rep, and cdef_object_rep::subsref().
Referenced by cdef_object_scalar::subsref().
|
private |
Definition at line 350 of file cdef-object.h.
Referenced by cdef_object(), ~cdef_object(), array_value(), break_closure_cycles(), class_name(), clone(), copy(), dims(), empty_clone(), get(), get_class(), get_property(), get_rep(), is(), is_array(), is_constructed(), is_constructed_for(), is_handle_object(), is_meta_object(), is_partially_constructed_for(), is_value_object(), make_array(), make_unique(), map_keys(), mark_as_constructed(), mark_for_construction(), ok(), operator=(), put(), set_class(), set_property(), subsasgn(), and subsref().