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_package_rep |
Public Member Functions | |
cdef_package (void) | |
cdef_package (const std::string &nm) | |
cdef_package (const cdef_package &pack) | |
cdef_package (const cdef_object &obj) | |
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 | find (const std::string &nm) |
octave_value | get (const std::string &pname) const |
cdef_class | get_class (void) const |
Cell | get_classes (void) const |
Cell | get_functions (void) const |
std::string | get_name (void) const |
Cell | get_packages (void) const |
void | install_class (const cdef_class &cls, const std::string &nm) |
void | install_function (const octave_value &fcn, const std::string &nm) |
void | install_package (const cdef_package &pack, const std::string &nm) |
bool | is (const cdef_object &obj) const |
bool | is_array (void) const |
bool | is_class (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_package & | operator= (const cdef_package &pack) |
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) |
Static Public Member Functions | |
static const cdef_package & | meta (void) |
Protected Member Functions | |
void | make_unique (int ignore_copies) |
Private Member Functions | |
cdef_package_rep * | get_rep (void) |
const cdef_package_rep * | get_rep (void) const |
Static Private Attributes | |
static cdef_package | _meta = cdef_package () |
Friends | |
class | cdef_class |
void | install_classdef (void) |
Definition at line 1246 of file ov-classdef.h.
|
inline |
Definition at line 1342 of file ov-classdef.h.
|
inline |
Definition at line 1344 of file ov-classdef.h.
References cdef_class::get_rep(), and cdef_class::cdef_class_rep::set_name().
|
inline |
Definition at line 1348 of file ov-classdef.h.
|
inline |
Definition at line 1351 of file ov-classdef.h.
References cdef_object::class_name(), error(), and cdef_meta_object::is_package().
|
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().
|
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_property::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().
|
inline |
Definition at line 1387 of file ov-classdef.h.
References cdef_class::get_rep().
Referenced by cdef_manager::do_find_class().
|
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 1376 of file ov-classdef.h.
References cdef_class::get_rep().
Referenced by package_get_classes().
|
inline |
Definition at line 1379 of file ov-classdef.h.
References cdef_class::get_rep().
Referenced by package_get_functions().
|
inline |
Definition at line 1385 of file ov-classdef.h.
References cdef_class::cdef_class_rep::get_name(), and cdef_class::get_rep().
Referenced by cdef_manager::do_register_package(), and cdef_manager::do_unregister_package().
|
inline |
Definition at line 1382 of file ov-classdef.h.
References cdef_class::get_rep().
Referenced by package_get_packages().
|
inlineprivate |
Definition at line 1392 of file ov-classdef.h.
References cdef_object::get_rep().
|
inlineprivate |
Definition at line 1395 of file ov-classdef.h.
References cdef_object::get_rep().
|
inline |
Definition at line 1367 of file ov-classdef.h.
References cdef_class::get_rep().
Referenced by install_classdef().
|
inline |
Definition at line 1370 of file ov-classdef.h.
References cdef_class::get_rep().
|
inline |
Definition at line 1373 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().
|
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().
|
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::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().
|
inlinestatic |
Definition at line 1389 of file ov-classdef.h.
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 1360 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().
|
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 1249 of file ov-classdef.h.
|
friend |
Definition at line 3695 of file ov-classdef.cc.
|
staticprivate |
Definition at line 1399 of file ov-classdef.h.