GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "ov-classdef.h"
Public Member Functions | |
cdef_object (void) | |
cdef_object (const cdef_object &obj) | |
cdef_object (cdef_object_rep *r) | |
virtual | ~cdef_object (void) |
Array< cdef_object > | array_value (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 |
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 |
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 | 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) |
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 | |
cdef_object_rep * | get_rep (void) |
void | make_unique (int ignore_copies) |
Private Attributes | |
cdef_object_rep * | rep |
Definition at line 187 of file ov-classdef.h.
|
inline |
Definition at line 192 of file ov-classdef.h.
Referenced by clone(), cdef_class::cdef_class_rep::construct_object(), copy(), empty_clone(), make_array(), and to_cdef().
|
inline |
Definition at line 195 of file ov-classdef.h.
References cdef_object_rep::refcount, and rep.
|
inline |
Definition at line 201 of file ov-classdef.h.
|
inlinevirtual |
Definition at line 204 of file ov-classdef.h.
References cdef_object_rep::release(), and rep.
|
inline |
Definition at line 249 of file ov-classdef.h.
References cdef_object_rep::array_value(), and rep.
Referenced by map_value(), and cdef_object_array::subsasgn().
|
inline |
Definition at line 224 of file ov-classdef.h.
References cdef_object_rep::class_name(), and rep.
Referenced by cdef_class::cdef_class(), 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_funcall().
|
inline |
Definition at line 227 of file ov-classdef.h.
References cdef_object(), cdef_object_rep::clone(), and rep.
Referenced by octave_classdef::clone(), value_cdef_object::copy(), and make_unique().
|
inline |
Definition at line 238 of file ov-classdef.h.
References cdef_object(), cdef_object_rep::copy(), and rep.
Referenced by cdef_object_array::fill_empty_values().
|
inline |
Definition at line 233 of file ov-classdef.h.
References cdef_object_rep::dims(), and rep.
|
inline |
Definition at line 230 of file ov-classdef.h.
References cdef_object(), cdef_object_rep::empty_clone(), and rep.
Referenced by octave_classdef::empty_clone().
|
inline |
Definition at line 254 of file ov-classdef.h.
References cdef_object_rep::get(), and 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().
|
inline |
Definition at line 1184 of file ov-classdef.h.
References cdef_object_rep::get_class(), and rep.
Referenced by cdef_class::cdef_class_rep::delete_object(), Fmetaclass(), 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 275 of file ov-classdef.h.
References rep.
Referenced by cdef_class::cdef_class(), cdef_class::construct(), cdef_class::construct_object(), cdef_class::delete_object(), cdef_class::get_directory(), cdef_class::get_methods(), cdef_class::get_name(), cdef_class::get_names(), cdef_class::get_properties(), cdef_class::get_property_map(), cdef_meta_object::get_rep(), cdef_class::get_rep(), cdef_property::get_rep(), cdef_method::get_rep(), cdef_package::get_rep(), cdef_class::initialize_object(), cdef_class::install_method(), cdef_class::install_property(), cdef_class::is_abstract(), cdef_meta_object::is_class(), cdef_class::is_handle_class(), cdef_class::is_meta_class(), cdef_meta_object::is_method(), cdef_meta_object::is_package(), cdef_meta_object::is_property(), cdef_class::is_sealed(), cdef_class::mark_as_handle_class(), cdef_class::mark_as_meta_class(), cdef_meta_object::meta_is_postfix_index_handled(), cdef_meta_object::meta_release(), cdef_meta_object::meta_subsref(), cdef_class::register_object(), cdef_class::run_constructor(), cdef_class::set_directory(), and cdef_class::unregister_object().
|
inlineprotected |
Definition at line 298 of file ov-classdef.h.
References rep.
|
inline |
Definition at line 295 of file ov-classdef.h.
References rep.
Referenced by is_method_executing(), and cdef_object_array::subsasgn().
|
inline |
Definition at line 241 of file ov-classdef.h.
References cdef_object_rep::is_array(), and rep.
Referenced by map_value(), and cdef_object_array::subsasgn().
|
inline |
Definition at line 282 of file ov-classdef.h.
References cdef_object_rep::is_constructed(), and rep.
Referenced by cdef_property::cdef_property_rep::get_value(), and cdef_property::cdef_property_rep::set_value().
|
inline |
Definition at line 284 of file ov-classdef.h.
References cdef_object_rep::is_constructed_for(), and rep.
|
inline |
Definition at line 245 of file ov-classdef.h.
References cdef_object_rep::is_handle_object(), and rep.
Referenced by cdef_object_scalar::subsasgn().
|
inline |
Definition at line 247 of file ov-classdef.h.
References cdef_object_rep::is_meta_object(), and rep.
|
inline |
Definition at line 287 of file ov-classdef.h.
References cdef_object_rep::is_partially_constructed_for(), and rep.
Referenced by cdef_property::cdef_property_rep::get_value(), and cdef_property::cdef_property_rep::set_value().
|
inline |
Definition at line 243 of file ov-classdef.h.
References cdef_object_rep::is_value_object(), and rep.
|
inline |
Definition at line 235 of file ov-classdef.h.
References cdef_object(), cdef_object_rep::make_array(), and rep.
|
inlineprotected |
Definition at line 300 of file ov-classdef.h.
References clone(), cdef_object_rep::refcount, and rep.
Referenced by subsasgn().
|
inline |
Definition at line 271 of file ov-classdef.h.
References cdef_object_rep::map_keys(), and rep.
octave_map cdef_object::map_value | ( | void | ) | const |
Definition at line 1336 of file ov-classdef.cc.
References array_value(), Array< T >::dims(), error_state, get_class(), cdef_class::get_property_map(), is_array(), Array< T >::numel(), ok(), cdef_class::property_all, octave_map::setfield(), and warning_with_id().
|
inline |
Definition at line 290 of file ov-classdef.h.
References cdef_object_rep::mark_as_constructed(), and rep.
Referenced by cdef_class::cdef_class_rep::run_constructor().
|
inline |
Definition at line 292 of file ov-classdef.h.
References cdef_object_rep::mark_as_constructed(), and rep.
|
inline |
Definition at line 279 of file ov-classdef.h.
References cdef_object_rep::mark_for_construction(), and rep.
Referenced by cdef_class::cdef_class_rep::initialize_object().
|
inline |
Definition at line 277 of file ov-classdef.h.
References cdef_object_rep::is_valid(), and 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(), 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 207 of file ov-classdef.h.
References cdef_object_rep::refcount, cdef_object_rep::release(), and rep.
Referenced by cdef_class::operator=(), cdef_property::operator=(), cdef_method::operator=(), and cdef_package::operator=().
|
inline |
Definition at line 251 of file ov-classdef.h.
References cdef_object_rep::put(), and 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().
|
inline |
Definition at line 222 of file ov-classdef.h.
References 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 264 of file ov-classdef.h.
References make_unique(), rep, and cdef_object_rep::subsasgn().
Referenced by cdef_object_array::subsasgn(), and cdef_object_scalar::subsasgn().
|
inline |
Definition at line 258 of file ov-classdef.h.
References rep, and cdef_object_rep::subsref().
Referenced by cdef_object_scalar::subsref(), and octave_classdef::subsref().
|
private |
Definition at line 307 of file ov-classdef.h.
Referenced by array_value(), cdef_object(), class_name(), clone(), copy(), dims(), empty_clone(), get(), get_class(), 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(), subsasgn(), subsref(), and ~cdef_object().