#include "cdef-method.h"
Classes | |
class | cdef_method_rep |
Public Member Functions | |
cdef_method (const cdef_method &meth) | |
cdef_method (const cdef_object &obj) | |
cdef_method (const std::string &nm) | |
cdef_method (void) | |
~cdef_method (void)=default | |
Array< cdef_object > | array_value (void) const |
bool | check_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_list | execute (const cdef_object &obj, const octave_value_list &args, int nargout, bool do_check_access=true, const std::string &who="") |
octave_value_list | execute (const octave_value_list &args, int nargout, bool do_check_access=true, const std::string &who="") |
octave_value | get (const std::string &pname) const |
cdef_class | get_class (void) const |
std::string | get_doc_string (void) |
octave_value | get_function (void) const |
std::string | get_name (void) const |
octave_value | get_property (octave_idx_type idx, const std::string &pname) const |
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_constructor (void) const |
bool | is_defined_in_class (const std::string &cname) const |
bool | is_external (void) 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_static (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 (const cdef_class &cls) |
void | mark_as_constructed (void) |
void | mark_as_external (const std::string &dtype) |
void | mark_for_construction (const cdef_class &cls) |
bool | meta_accepts_postfix_index (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_method & | operator= (const cdef_method &meth) |
void | put (const std::string &pname, const octave_value &val) |
void | set_class (const cdef_class &cls) |
void | set_function (const octave_value &fcn) |
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, size_t &skip, const cdef_class &context, bool auto_add=false) |
Protected Member Functions | |
void | make_unique (int ignore_copies) |
Private Member Functions | |
cdef_method_rep * | get_rep (void) |
const cdef_method_rep * | get_rep (void) const |
Private Attributes | |
cdef_object_rep * | rep |
Friends | |
class | cdef_class |
Definition at line 42 of file cdef-method.h.
|
inline |
Definition at line 134 of file cdef-method.h.
|
inline |
Definition at line 136 of file cdef-method.h.
|
inline |
Definition at line 142 of file cdef-method.h.
|
inline |
Definition at line 144 of file cdef-method.h.
References error().
|
default |
|
inlineinherited |
Definition at line 254 of file cdef-object.h.
Referenced by octave::cdef_object::map_value(), and octave::cdef_object_array::subsasgn().
|
inline |
Definition at line 179 of file cdef-method.h.
Referenced by octave::cdef_method::cdef_method_rep::execute().
|
inlineinherited |
Definition at line 228 of file cdef-object.h.
Referenced by octave::cdef_class::make_meta_class(), octave::cdef_object_array::subsasgn(), and octave::ctor_analyzer::visit_superclass_ref().
|
inlineinherited |
Definition at line 230 of file cdef-object.h.
|
inlineinherited |
Definition at line 244 of file cdef-object.h.
Referenced by octave::cdef_object_array::fill_empty_values().
|
inlineinherited |
Definition at line 237 of file cdef-object.h.
|
inlineinherited |
Definition at line 232 of file cdef-object.h.
|
inline |
Definition at line 171 of file cdef-method.h.
|
inline |
Definition at line 163 of file cdef-method.h.
Referenced by octave::class_fevalStatic(), octave::cdef_class::cdef_class_rep::delete_object(), octave_classdef_superclass_ref::execute(), octave::cdef_class::cdef_class_rep::meta_subsref(), octave::cdef_method::cdef_method_rep::meta_subsref(), octave::cdef_class::cdef_class_rep::run_constructor(), octave_classdef::size(), octave_classdef::subsasgn(), octave_classdef::subsref(), octave::cdef_object_scalar::subsref(), and octave_classdef::xnumel().
|
inlineinherited |
Definition at line 261 of file cdef-object.h.
Referenced by octave::check_access(), octave::cdef_method::cdef_method_rep::check_access(), octave::cdef_property::cdef_property_rep::check_get_access(), octave::cdef_property::cdef_property_rep::check_set_access(), octave::class_get_inferiorclasses(), octave::class_get_superclasses(), octave::cdef_class::cdef_class_rep::delete_object(), octave::err_method_access(), octave::cdef_property::cdef_property_rep::err_property_access(), octave::cdef_method::cdef_method_rep::execute(), octave::cdef_class::cdef_class_rep::find_method(), octave::cdef_class::cdef_class_rep::find_methods(), octave::cdef_class::cdef_class_rep::find_names(), octave::cdef_class::cdef_class_rep::find_properties(), octave::cdef_class::cdef_class_rep::find_property(), Fproperties(), octave::cdef_object_array::get_property(), octave::cdef_property::cdef_property_rep::get_value(), octave::cdef_class::cdef_class_rep::initialize_object(), octave::is_superclass(), octave::cdef_class::make_meta_class(), octave::cdef_object_scalar::mark_for_construction(), octave_classdef::print_raw(), octave::property_get_defaultvalue(), and octave::cdef_property::cdef_property_rep::set_value().
|
inherited |
Definition at line 183 of file cdef-object.cc.
References octave::cdef_object_rep::get_class(), and octave::cdef_object::rep.
Referenced by Fmetaclass(), octave::tree_evaluator::make_fcn_handle(), octave::cdef_object::map_value(), octave_classdef::print_raw(), octave_classdef::size(), octave::cdef_object_array::subsasgn(), octave_classdef::subsasgn(), octave_classdef::subsref(), and octave_classdef::xnumel().
|
inline |
Definition at line 195 of file cdef-method.h.
Referenced by octave_classdef_meta::doc_string().
|
inline |
Definition at line 190 of file cdef-method.h.
Referenced by octave::cdef_class::cdef_class_rep::install_method(), and octave::tree_evaluator::make_fcn_handle().
|
inline |
Definition at line 181 of file cdef-method.h.
Referenced by octave::cdef_method::cdef_method_rep::check_access(), octave::err_method_access(), and octave::cdef_class::cdef_class_rep::install_method().
|
inlineinherited |
Definition at line 273 of file cdef-object.h.
|
inlineprivate |
Definition at line 219 of file cdef-method.h.
References octave::cdef_object::get_rep().
|
inlineprivate |
Definition at line 224 of file cdef-method.h.
References octave::cdef_object::get_rep().
|
inlineinherited |
Definition at line 324 of file cdef-object.h.
References octave::cdef_object::rep.
Referenced by octave::is_method_executing(), and octave::cdef_object_array::subsasgn().
|
inlineinherited |
Definition at line 246 of file cdef-object.h.
Referenced by octave::cdef_object::map_value(), octave_classdef::print_raw(), and octave::cdef_object_array::subsasgn().
|
inlineinherited |
Definition at line 658 of file cdef-object.h.
|
inlineinherited |
Definition at line 307 of file cdef-object.h.
Referenced by octave::cdef_property::cdef_property_rep::get_value(), and octave::cdef_property::cdef_property_rep::set_value().
|
inlineinherited |
Definition at line 309 of file cdef-object.h.
|
inline |
Definition at line 200 of file cdef-method.h.
Referenced by octave::cdef_class::cdef_class_rep::install_method().
|
inline |
Definition at line 205 of file cdef-method.h.
Referenced by octave::cdef_class::cdef_class_rep::delete_object(), and octave_classdef_meta::is_classdef_method().
|
inline |
Definition at line 210 of file cdef-method.h.
|
inlineinherited |
Definition at line 250 of file cdef-object.h.
|
inlineinherited |
Definition at line 252 of file cdef-object.h.
|
inlineinherited |
Definition at line 662 of file cdef-object.h.
|
inlineinherited |
Definition at line 664 of file cdef-object.h.
|
inlineinherited |
Definition at line 314 of file cdef-object.h.
Referenced by octave::cdef_property::cdef_property_rep::get_value(), and octave::cdef_property::cdef_property_rep::set_value().
|
inlineinherited |
Definition at line 660 of file cdef-object.h.
|
inline |
Definition at line 183 of file cdef-method.h.
Referenced by octave::class_fevalStatic(), octave::tree_evaluator::make_fcn_handle(), octave::cdef_class::cdef_class_rep::meta_subsref(), and octave::cdef_object_scalar::subsref().
|
inlineinherited |
Definition at line 248 of file cdef-object.h.
|
inlineinherited |
Definition at line 239 of file cdef-object.h.
|
inlineprotectedinherited |
Definition at line 330 of file cdef-object.h.
|
inlineinherited |
Definition at line 294 of file cdef-object.h.
|
inherited |
Definition at line 137 of file cdef-object.cc.
References octave::cdef_object::array_value(), Array< T >::dims(), octave::cdef_object::get_class(), octave::cdef_class::get_property_map(), octave::cdef_object::is_array(), Array< T >::numel(), octave::cdef_object::ok(), octave::cdef_class::property_all, retval, and warning_with_id().
|
inlineinherited |
Definition at line 321 of file cdef-object.h.
|
inlineinherited |
Definition at line 319 of file cdef-object.h.
Referenced by octave::cdef_class::cdef_class_rep::run_constructor().
|
inline |
Definition at line 212 of file cdef-method.h.
Referenced by octave::cdef_manager::make_method().
|
inlineinherited |
Definition at line 302 of file cdef-object.h.
Referenced by octave::cdef_class::cdef_class_rep::initialize_object().
|
inlineinherited |
Definition at line 675 of file cdef-object.h.
|
inlineinherited |
Definition at line 673 of file cdef-object.h.
|
inlineinherited |
Definition at line 667 of file cdef-object.h.
|
inlineinherited |
Definition at line 300 of file cdef-object.h.
Referenced by octave::check_access(), octave::class_fevalStatic(), octave::class_getConstant(), octave::cdef_class::cdef_class_rep::construct(), octave::cdef_class::cdef_class_rep::construct_object(), octave::cdef_class::cdef_class_rep::delete_object(), octave_classdef_meta::doc_string(), octave_classdef_superclass_ref::execute(), F__methods__(), octave::cdef_object_array::fill_empty_values(), octave::cdef_manager::find_class(), octave::cdef_class::cdef_class_rep::find_method(), octave::cdef_manager::find_method_symbol(), octave::cdef_manager::find_package_symbol(), octave::cdef_class::cdef_class_rep::find_property(), Fproperties(), in_class_method(), octave_classdef::is_instance_of(), octave::tree_evaluator::make_fcn_handle(), octave::tree_classdef::make_meta_class(), octave::cdef_class::make_meta_class(), octave::cdef_object_rep::map_keys(), octave::cdef_object::map_value(), octave::cdef_class::cdef_class_rep::meta_subsref(), octave_classdef::print_raw(), read_mat5_binary_element(), octave::cdef_class::cdef_class_rep::run_constructor(), octave::cdef_object_base::set_class(), octave_classdef::size(), octave::cdef_object_array::subsasgn(), octave::cdef_object_scalar::subsasgn(), octave_classdef::subsasgn(), octave_classdef::subsref(), octave::cdef_object_scalar::subsref(), octave::to_ov(), octave::ctor_analyzer::visit_superclass_ref(), and octave_classdef::xnumel().
|
inline |
Definition at line 153 of file cdef-method.h.
References octave::cdef_object::operator=().
|
inlineinherited |
Definition at line 256 of file cdef-object.h.
Referenced by octave::cdef_class::cdef_class_rep::initialize_object(), octave::cdef_manager::make_class(), octave::cdef_manager::make_meta_class(), octave::cdef_class::make_meta_class(), octave::cdef_manager::make_method(), octave::cdef_manager::make_package(), octave::cdef_manager::make_property(), octave::cdef_object_array::set_property(), and octave::cdef_property::cdef_property_rep::set_value().
|
inlineinherited |
Definition at line 226 of file cdef-object.h.
Referenced by octave::cdef_manager::cdef_manager(), octave::cdef_class::cdef_class_rep::construct_object(), octave::cdef_manager::make_class(), octave::cdef_manager::make_method(), octave::cdef_manager::make_package(), octave::cdef_manager::make_property(), octave::cdef_object_scalar::subsasgn(), octave::cdef_object_array::subsref(), and octave::cdef_object_scalar::subsref().
|
inline |
Definition at line 185 of file cdef-method.h.
Referenced by octave::cdef_manager::make_method().
|
inlineinherited |
Definition at line 266 of file cdef-object.h.
|
inlineinherited |
Definition at line 287 of file cdef-object.h.
Referenced by octave::cdef_object_array::subsasgn(), and octave::cdef_object_scalar::subsasgn().
|
inlineinherited |
Definition at line 279 of file cdef-object.h.
References octave::context.
Referenced by octave::cdef_object_scalar::subsref().
|
friend |
Definition at line 45 of file cdef-method.h.
|
privateinherited |
Definition at line 338 of file cdef-object.h.
Referenced by octave::cdef_object::get_class(), octave::cdef_object::is(), and octave::cdef_object::operator=().