GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "ov-classdef.h"
Classes | |
class | cdef_property_rep |
Public Member Functions | |
cdef_property (void) | |
cdef_property (const std::string &nm) | |
cdef_property (const cdef_property &prop) | |
cdef_property (const cdef_object &obj) | |
Array< cdef_object > | array_value (void) const |
bool | check_get_access (void) const |
bool | check_set_access (void) const |
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 |
cdef_class | get_class (void) const |
std::string | get_name (void) const |
octave_value | get_value (const cdef_object &obj, bool do_check_access=true, const std::string &who=std::string()) |
octave_value | get_value (bool do_check_access=true, const std::string &who=std::string()) |
bool | is (const cdef_object &obj) const |
bool | is_array (void) const |
bool | is_class (void) const |
bool | is_constant (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_method (void) const |
bool | is_package (void) const |
bool | is_partially_constructed_for (const cdef_class &cls) const |
bool | is_property (void) const |
bool | is_value_object (void) const |
cdef_object | make_array (void) const |
string_vector | map_keys (void) const |
octave_map | map_value (void) const |
void | mark_as_constructed (void) |
void | mark_as_constructed (const cdef_class &cls) |
void | mark_for_construction (const cdef_class &cls) |
bool | meta_is_postfix_index_handled (char type) const |
void | meta_release (void) |
octave_value_list | meta_subsref (const std::string &type, const std::list< octave_value_list > &idx, int nargout) |
bool | ok (void) const |
cdef_property & | operator= (const cdef_property &prop) |
void | put (const std::string &pname, const octave_value &val) |
void | set_class (const cdef_class &cls) |
void | set_value (cdef_object &obj, const octave_value &val, bool do_check_access=true, const std::string &who=std::string()) |
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, size_t &skip, const cdef_class &context, bool auto_add=false) |
Protected Member Functions | |
void | make_unique (int ignore_copies) |
Private Member Functions | |
cdef_property_rep * | get_rep (void) |
const cdef_property_rep * | get_rep (void) const |
Friends | |
class | cdef_class |
Definition at line 920 of file ov-classdef.h.
|
inline |
Definition at line 973 of file ov-classdef.h.
|
inline |
Definition at line 975 of file ov-classdef.h.
References cdef_class::get_rep(), and cdef_class::cdef_class_rep::set_name().
|
inline |
Definition at line 979 of file ov-classdef.h.
|
inline |
Definition at line 982 of file ov-classdef.h.
References cdef_object::class_name(), error(), and cdef_meta_object::is_property().
|
inlineinherited |
Definition at line 249 of file ov-classdef.h.
References cdef_object_rep::array_value(), and cdef_object::rep.
Referenced by cdef_object::map_value(), and cdef_object_array::subsasgn().
|
inline |
Definition at line 1011 of file ov-classdef.h.
References cdef_class::get_rep().
|
inline |
Definition at line 1014 of file ov-classdef.h.
References cdef_class::get_rep().
|
inlineinherited |
Definition at line 224 of file ov-classdef.h.
References cdef_object_rep::class_name(), and cdef_object::rep.
Referenced by cdef_class::cdef_class(), cdef_method::cdef_method(), cdef_package::cdef_package(), cdef_property(), cdef_class::make_meta_class(), cdef_object_array::subsasgn(), and ctor_analyzer::visit_funcall().
|
inlineinherited |
Definition at line 227 of file ov-classdef.h.
References cdef_object::cdef_object(), cdef_object_rep::clone(), and cdef_object::rep.
Referenced by octave_classdef::clone(), value_cdef_object::copy(), and cdef_object::make_unique().
|
inlineinherited |
Definition at line 238 of file ov-classdef.h.
References cdef_object::cdef_object(), cdef_object_rep::copy(), and cdef_object::rep.
Referenced by cdef_object_array::fill_empty_values().
|
inlineinherited |
Definition at line 233 of file ov-classdef.h.
References cdef_object_rep::dims(), and cdef_object::rep.
|
inlineinherited |
Definition at line 230 of file ov-classdef.h.
References cdef_object::cdef_object(), cdef_object_rep::empty_clone(), and cdef_object::rep.
Referenced by octave_classdef::empty_clone().
|
inlineinherited |
Definition at line 254 of file ov-classdef.h.
References cdef_object_rep::get(), and cdef_object::rep.
Referenced by check_access(), class_get_inferiorclasses(), class_get_superclasses(), cdef_property::cdef_property_rep::get_value(), gripe_method_access(), gripe_property_access(), is_superclass(), cdef_class::make_meta_class(), cdef_object_scalar::mark_for_construction(), property_get_defaultvalue(), and cdef_property::cdef_property_rep::set_value().
|
inlineinherited |
Definition at line 1184 of file ov-classdef.h.
References cdef_object_rep::get_class(), and cdef_object::rep.
Referenced by cdef_class::cdef_class_rep::delete_object(), Fmetaclass(), cdef_object::map_value(), octave_classdef::print(), octave_classdef::print_with_name(), cdef_object_array::subsasgn(), octave_classdef::subsasgn(), and octave_classdef::subsref().
|
inline |
Definition at line 1017 of file ov-classdef.h.
References cdef_class::cdef_class_rep::get_name(), and cdef_class::get_rep().
Referenced by gripe_property_access(), cdef_class::cdef_class_rep::install_property(), and property_get_defaultvalue().
|
inlineprivate |
Definition at line 1022 of file ov-classdef.h.
References cdef_object::get_rep().
|
inlineprivate |
Definition at line 1025 of file ov-classdef.h.
References cdef_object::get_rep().
|
inline |
Definition at line 998 of file ov-classdef.h.
References cdef_class::get_rep().
Referenced by class_getConstant(), cdef_class::cdef_class_rep::meta_subsref(), cdef_object_scalar::subsasgn(), and cdef_object_scalar::subsref().
|
inline |
Definition at line 1002 of file ov-classdef.h.
References cdef_class::get_rep().
|
inlineinherited |
Definition at line 295 of file ov-classdef.h.
References cdef_object::rep.
Referenced by is_method_executing(), and cdef_object_array::subsasgn().
|
inlineinherited |
Definition at line 241 of file ov-classdef.h.
References cdef_object_rep::is_array(), and cdef_object::rep.
Referenced by cdef_object::map_value(), and cdef_object_array::subsasgn().
|
inlineinherited |
Definition at line 587 of file ov-classdef.h.
References cdef_object::get_rep().
|
inline |
Definition at line 1019 of file ov-classdef.h.
References cdef_class::get_rep().
Referenced by class_getConstant(), cdef_class::cdef_class_rep::meta_subsref(), cdef_object_scalar::subsasgn(), and cdef_object_scalar::subsref().
|
inlineinherited |
Definition at line 282 of file ov-classdef.h.
References cdef_object_rep::is_constructed(), and cdef_object::rep.
Referenced by cdef_property::cdef_property_rep::get_value(), and cdef_property::cdef_property_rep::set_value().
|
inlineinherited |
Definition at line 284 of file ov-classdef.h.
References cdef_object_rep::is_constructed_for(), and cdef_object::rep.
|
inlineinherited |
Definition at line 245 of file ov-classdef.h.
References cdef_object_rep::is_handle_object(), and cdef_object::rep.
Referenced by cdef_object_scalar::subsasgn().
|
inlineinherited |
Definition at line 247 of file ov-classdef.h.
References cdef_object_rep::is_meta_object(), and cdef_object::rep.
|
inlineinherited |
Definition at line 591 of file ov-classdef.h.
References cdef_object::get_rep().
Referenced by cdef_method::cdef_method().
|
inlineinherited |
Definition at line 593 of file ov-classdef.h.
References cdef_object::get_rep().
Referenced by cdef_package::cdef_package().
|
inlineinherited |
Definition at line 287 of file ov-classdef.h.
References cdef_object_rep::is_partially_constructed_for(), and cdef_object::rep.
Referenced by cdef_property::cdef_property_rep::get_value(), and cdef_property::cdef_property_rep::set_value().
|
inlineinherited |
Definition at line 589 of file ov-classdef.h.
References cdef_object::get_rep().
Referenced by cdef_property().
|
inlineinherited |
Definition at line 243 of file ov-classdef.h.
References cdef_object_rep::is_value_object(), and cdef_object::rep.
|
inlineinherited |
Definition at line 235 of file ov-classdef.h.
References cdef_object::cdef_object(), cdef_object_rep::make_array(), and cdef_object::rep.
|
inlineprotectedinherited |
Definition at line 300 of file ov-classdef.h.
References cdef_object::clone(), cdef_object_rep::refcount, and cdef_object::rep.
Referenced by cdef_object::subsasgn().
|
inlineinherited |
Definition at line 271 of file ov-classdef.h.
References cdef_object_rep::map_keys(), and cdef_object::rep.
|
inherited |
Definition at line 1336 of file ov-classdef.cc.
References cdef_object::array_value(), Array< T >::dims(), error_state, cdef_object::get_class(), cdef_class::get_property_map(), cdef_object::is_array(), Array< T >::numel(), cdef_object::ok(), cdef_class::property_all, octave_map::setfield(), and warning_with_id().
|
inlineinherited |
Definition at line 290 of file ov-classdef.h.
References cdef_object_rep::mark_as_constructed(), and cdef_object::rep.
Referenced by cdef_class::cdef_class_rep::run_constructor().
|
inlineinherited |
Definition at line 292 of file ov-classdef.h.
References cdef_object_rep::mark_as_constructed(), and cdef_object::rep.
|
inlineinherited |
Definition at line 279 of file ov-classdef.h.
References cdef_object_rep::mark_for_construction(), and cdef_object::rep.
Referenced by cdef_class::cdef_class_rep::initialize_object().
Definition at line 602 of file ov-classdef.h.
References cdef_object::get_rep().
|
inlineinherited |
Definition at line 600 of file ov-classdef.h.
References cdef_object::get_rep().
|
inlineinherited |
Definition at line 596 of file ov-classdef.h.
References cdef_object::get_rep().
|
inlineinherited |
Definition at line 277 of file ov-classdef.h.
References cdef_object_rep::is_valid(), and cdef_object::rep.
Referenced by check_access(), class_fevalStatic(), class_getConstant(), cdef_class::cdef_class_rep::construct(), cdef_class::cdef_class_rep::construct_object(), cdef_manager::do_find_class(), cdef_manager::do_find_method_symbol(), cdef_manager::do_find_package(), cdef_manager::do_find_package_symbol(), octave_classdef_superclass_ref::do_multi_index_op(), cdef_object_array::fill_empty_values(), cdef_class::cdef_class_rep::find_method(), cdef_class::cdef_class_rep::find_property(), in_class_method(), octave_classdef::is_instance_of(), tree_classdef::make_meta_class(), cdef_class::make_meta_class(), cdef_object_rep::map_keys(), cdef_object::map_value(), cdef_class::cdef_class_rep::meta_subsref(), octave_classdef::print(), octave_classdef::print_with_name(), cdef_object_base::register_object(), cdef_class::cdef_class_rep::run_constructor(), cdef_object_base::set_class(), cdef_object_array::subsasgn(), cdef_object_scalar::subsasgn(), octave_classdef::subsasgn(), cdef_object_scalar::subsref(), octave_classdef::subsref(), to_ov(), cdef_object_base::unregister_object(), and ctor_analyzer::visit_funcall().
|
inline |
Definition at line 991 of file ov-classdef.h.
References cdef_object::operator=().
|
inlineinherited |
Definition at line 251 of file ov-classdef.h.
References cdef_object_rep::put(), and cdef_object::rep.
Referenced by cdef_class::cdef_class_rep::initialize_object(), make_class(), make_meta_class(), cdef_class::make_meta_class(), make_method(), make_package(), make_property(), cdef_class::cdef_class_rep::set_name(), cdef_property::cdef_property_rep::set_name(), cdef_method::cdef_method_rep::set_name(), cdef_package::cdef_package_rep::set_name(), and cdef_property::cdef_property_rep::set_value().
|
inlineinherited |
Definition at line 222 of file ov-classdef.h.
References cdef_object::rep, and cdef_object_rep::set_class().
Referenced by cdef_class::cdef_class_rep::construct_object(), cdef_class::cdef_class_rep::delete_object(), install_classdef(), make_class(), make_method(), make_package(), make_property(), cdef_object_scalar::subsasgn(), cdef_object_array::subsref(), and cdef_object_scalar::subsref().
|
inline |
Definition at line 1006 of file ov-classdef.h.
References cdef_class::get_rep().
Referenced by cdef_object_scalar::subsasgn().
|
inlineinherited |
Definition at line 264 of file ov-classdef.h.
References cdef_object::make_unique(), cdef_object::rep, and cdef_object_rep::subsasgn().
Referenced by cdef_object_array::subsasgn(), and cdef_object_scalar::subsasgn().
|
inlineinherited |
Definition at line 258 of file ov-classdef.h.
References cdef_object::rep, and cdef_object_rep::subsref().
Referenced by cdef_object_scalar::subsref(), and octave_classdef::subsref().
|
friend |
Definition at line 923 of file ov-classdef.h.