#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 199 of file cdef-object.h.
|
inline |
Definition at line 204 of file cdef-object.h.
|
inline |
Definition at line 206 of file cdef-object.h.
|
inline |
Definition at line 209 of file cdef-object.h.
|
inlinevirtual |
Definition at line 211 of file cdef-object.h.
|
inline |
Definition at line 256 of file cdef-object.h.
Referenced by map_value(), and cdef_object_array::subsasgn().
|
inline |
Definition at line 281 of file cdef-object.h.
|
inline |
Definition at line 230 of file cdef-object.h.
Referenced by cdef_class::make_meta_class(), and cdef_object_array::subsasgn().
|
inline |
Definition at line 232 of file cdef-object.h.
|
inline |
Definition at line 246 of file cdef-object.h.
|
inline |
Definition at line 239 of file cdef-object.h.
|
inline |
Definition at line 234 of file cdef-object.h.
|
inline |
Definition at line 264 of file cdef-object.h.
Referenced by check_access(), F__methods__(), Fproperties(), cdef_object_array::get_property(), tree_evaluator::get_user_code(), 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(), tree_evaluator::make_fcn_handle(), map_value(), and cdef_object_array::subsasgn().
|
inline |
Definition at line 276 of file cdef-object.h.
|
inlineprotected |
Definition at line 336 of file cdef-object.h.
|
inline |
Definition at line 306 of file cdef-object.h.
|
inline |
Definition at line 332 of file cdef-object.h.
Referenced by cdef_object_array::subsasgn().
|
inline |
Definition at line 248 of file cdef-object.h.
Referenced by map_value(), and cdef_object_array::subsasgn().
|
inline |
Definition at line 315 of file cdef-object.h.
|
inline |
Definition at line 317 of file cdef-object.h.
|
inline |
Definition at line 252 of file cdef-object.h.
|
inline |
Definition at line 254 of file cdef-object.h.
|
inline |
Definition at line 322 of file cdef-object.h.
|
inline |
Definition at line 250 of file cdef-object.h.
|
inline |
Definition at line 241 of file cdef-object.h.
|
inlineprotected |
Definition at line 338 of file cdef-object.h.
|
inline |
Definition at line 302 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 327 of file cdef-object.h.
|
inline |
Definition at line 329 of file cdef-object.h.
|
inline |
Definition at line 310 of file cdef-object.h.
|
inline |
Definition at line 308 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_evaluator::make_fcn_handle(), 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 213 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 259 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(), and cdef_object_array::set_property().
|
inline |
Definition at line 228 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 269 of file cdef-object.h.
|
inline |
Definition at line 295 of file cdef-object.h.
Referenced by cdef_object_array::subsasgn(), and cdef_object_scalar::subsasgn().
|
inline |
Definition at line 287 of file cdef-object.h.
Referenced by cdef_object_scalar::subsref().