#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 |
void | break_closure_cycles (const std::shared_ptr< stack_frame > &frame) |
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 |
OCTINTERP_API 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 |
OCTINTERP_API 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, std::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 * | m_rep |
Friends | |
class | cdef_class |
Definition at line 42 of file cdef-method.h.
|
inline |
Definition at line 135 of file cdef-method.h.
|
inline |
Definition at line 137 of file cdef-method.h.
References cdef_class::get_rep(), and cdef_class::cdef_class_rep::set_name().
|
inline |
Definition at line 143 of file cdef-method.h.
|
inline |
Definition at line 145 of file cdef-method.h.
References cdef_object::class_name(), error(), and cdef_meta_object::is_method().
|
default |
|
inlineinherited |
Definition at line 260 of file cdef-object.h.
References cdef_object_rep::array_value(), and cdef_object::m_rep.
Referenced by cdef_object::map_value(), and cdef_object_array::subsasgn().
|
inlineinherited |
Definition at line 285 of file cdef-object.h.
References cdef_object_rep::break_closure_cycles(), and cdef_object::m_rep.
|
inline |
Definition at line 180 of file cdef-method.h.
References cdef_class::get_rep().
Referenced by cdef_method::cdef_method_rep::execute().
|
inlineinherited |
Definition at line 234 of file cdef-object.h.
References cdef_object_rep::class_name(), and cdef_object::m_rep.
Referenced by cdef_method(), cdef_package::cdef_package(), cdef_property::cdef_property(), cdef_class::make_meta_class(), cdef_object_array::subsasgn(), and ctor_analyzer::visit_superclass_ref().
|
inlineinherited |
Definition at line 236 of file cdef-object.h.
References cdef_object, cdef_object_rep::clone(), and cdef_object::m_rep.
Referenced by value_cdef_object::copy(), and cdef_object::make_unique().
|
inlineinherited |
Definition at line 250 of file cdef-object.h.
References cdef_object, cdef_object_rep::copy(), and cdef_object::m_rep.
Referenced by cdef_object_array::fill_empty_values().
|
inlineinherited |
Definition at line 243 of file cdef-object.h.
References cdef_object_rep::dims(), and cdef_object::m_rep.
|
inlineinherited |
Definition at line 238 of file cdef-object.h.
References cdef_object, cdef_object_rep::empty_clone(), and cdef_object::m_rep.
|
inline |
Definition at line 172 of file cdef-method.h.
References cdef_class::get_rep().
|
inline |
Definition at line 164 of file cdef-method.h.
References cdef_class::get_rep().
Referenced by class_fevalStatic(), cdef_class::cdef_class_rep::delete_object(), cdef_class::cdef_class_rep::meta_subsref(), cdef_method::cdef_method_rep::meta_subsref(), cdef_class::cdef_class_rep::run_constructor(), and cdef_object_scalar::subsref().
|
inlineinherited |
Definition at line 268 of file cdef-object.h.
References cdef_object_rep::get(), and cdef_object::m_rep.
Referenced by check_access(), cdef_method::cdef_method_rep::check_access(), cdef_property::cdef_property_rep::check_get_access(), cdef_property::cdef_property_rep::check_set_access(), class_get_inferiorclasses(), class_get_superclasses(), cdef_class::cdef_class_rep::delete_object(), err_method_access(), cdef_property::cdef_property_rep::err_property_access(), cdef_method::cdef_method_rep::execute(), cdef_class::cdef_class_rep::find_method(), cdef_class::cdef_class_rep::find_methods(), cdef_class::cdef_class_rep::find_names(), cdef_class::cdef_class_rep::find_properties(), cdef_class::cdef_class_rep::find_property(), Fproperties(), cdef_method::cdef_method_rep::get_name(), cdef_package::cdef_package_rep::get_name(), cdef_property::cdef_property_rep::get_name(), cdef_object_array::get_property(), cdef_object_scalar::get_property(), cdef_property::cdef_property_rep::get_value(), cdef_class::cdef_class_rep::initialize_object(), cdef_property::cdef_property_rep::is_constant(), cdef_method::cdef_method_rep::is_static(), is_superclass(), cdef_class::make_meta_class(), cdef_object_scalar::mark_for_construction(), property_get_defaultvalue(), and cdef_property::cdef_property_rep::set_value().
|
inherited |
Definition at line 183 of file cdef-object.cc.
References cdef_object_rep::get_class(), and cdef_object::m_rep.
Referenced by Fmetaclass(), tree_evaluator::make_fcn_handle(), cdef_object::map_value(), and cdef_object_array::subsasgn().
|
inline |
Definition at line 196 of file cdef-method.h.
References cdef_class::get_rep().
|
inline |
Definition at line 191 of file cdef-method.h.
References cdef_class::get_rep().
Referenced by cdef_class::cdef_class_rep::install_method(), and tree_evaluator::make_fcn_handle().
|
inline |
Definition at line 182 of file cdef-method.h.
References cdef_class::cdef_class_rep::get_name(), and cdef_class::get_rep().
Referenced by cdef_method::cdef_method_rep::check_access(), err_method_access(), and cdef_class::cdef_class_rep::install_method().
|
inlineinherited |
Definition at line 280 of file cdef-object.h.
References cdef_object_rep::get_property(), and cdef_object::m_rep.
|
inlineprivate |
Definition at line 220 of file cdef-method.h.
References cdef_object::get_rep().
|
inlineprivate |
Definition at line 225 of file cdef-method.h.
References cdef_object::get_rep().
|
inlineinherited |
Definition at line 336 of file cdef-object.h.
References cdef_object::m_rep.
Referenced by is_method_executing(), and cdef_object_array::subsasgn().
|
inlineinherited |
Definition at line 252 of file cdef-object.h.
References cdef_object_rep::is_array(), and cdef_object::m_rep.
Referenced by cdef_object::map_value(), and cdef_object_array::subsasgn().
|
inlineinherited |
Definition at line 680 of file cdef-object.h.
References cdef_object::get_rep().
|
inlineinherited |
Definition at line 319 of file cdef-object.h.
References cdef_object_rep::is_constructed(), and cdef_object::m_rep.
Referenced by cdef_property::cdef_property_rep::get_value(), and cdef_property::cdef_property_rep::set_value().
|
inlineinherited |
Definition at line 321 of file cdef-object.h.
References cdef_object_rep::is_constructed_for(), and cdef_object::m_rep.
|
inline |
Definition at line 201 of file cdef-method.h.
References cdef_class::get_rep().
Referenced by cdef_class::cdef_class_rep::install_method().
|
inline |
Definition at line 206 of file cdef-method.h.
References cdef_class::get_rep().
Referenced by cdef_class::cdef_class_rep::delete_object().
|
inline |
Definition at line 211 of file cdef-method.h.
References cdef_class::get_rep().
|
inlineinherited |
Definition at line 256 of file cdef-object.h.
References cdef_object_rep::is_handle_object(), and cdef_object::m_rep.
Referenced by cdef_property::cdef_property_rep::set_value().
|
inlineinherited |
Definition at line 258 of file cdef-object.h.
References cdef_object_rep::is_meta_object(), and cdef_object::m_rep.
|
inlineinherited |
Definition at line 684 of file cdef-object.h.
References cdef_object::get_rep().
Referenced by cdef_method().
|
inlineinherited |
Definition at line 686 of file cdef-object.h.
References cdef_object::get_rep().
Referenced by cdef_package::cdef_package().
|
inlineinherited |
Definition at line 326 of file cdef-object.h.
References cdef_object_rep::is_partially_constructed_for(), and cdef_object::m_rep.
Referenced by cdef_property::cdef_property_rep::get_value(), and cdef_property::cdef_property_rep::set_value().
|
inlineinherited |
Definition at line 682 of file cdef-object.h.
References cdef_object::get_rep().
Referenced by cdef_property::cdef_property().
|
inline |
Definition at line 184 of file cdef-method.h.
References cdef_class::get_rep().
Referenced by class_fevalStatic(), tree_evaluator::make_fcn_handle(), cdef_class::cdef_class_rep::meta_subsref(), and cdef_object_scalar::subsref().
|
inlineinherited |
Definition at line 254 of file cdef-object.h.
References cdef_object_rep::is_value_object(), and cdef_object::m_rep.
|
inlineinherited |
Definition at line 245 of file cdef-object.h.
References cdef_object, cdef_object::m_rep, and cdef_object_rep::make_array().
|
inlineprotectedinherited |
Definition at line 342 of file cdef-object.h.
References cdef_object::clone(), cdef_object_rep::m_count, and cdef_object::m_rep.
Referenced by cdef_object::subsasgn().
|
inlineinherited |
Definition at line 306 of file cdef-object.h.
References cdef_object::m_rep, and cdef_object_rep::map_keys().
|
inherited |
Definition at line 137 of file cdef-object.cc.
References cdef_object::array_value(), Array< T, Alloc >::dims(), cdef_object::get_class(), cdef_class::get_property_map(), cdef_object::is_array(), Array< T, Alloc >::numel(), cdef_object::ok(), cdef_class::property_all, octave_map::setfield(), and warning_with_id().
|
inlineinherited |
Definition at line 333 of file cdef-object.h.
References cdef_object::m_rep, and cdef_object_rep::mark_as_constructed().
|
inlineinherited |
Definition at line 331 of file cdef-object.h.
References cdef_object::m_rep, and cdef_object_rep::mark_as_constructed().
Referenced by cdef_class::cdef_class_rep::run_constructor().
|
inline |
Definition at line 213 of file cdef-method.h.
References cdef_class::get_rep().
Referenced by cdef_manager::make_method().
|
inlineinherited |
Definition at line 314 of file cdef-object.h.
References cdef_object::m_rep, and cdef_object_rep::mark_for_construction().
Referenced by cdef_class::cdef_class_rep::initialize_object().
|
inlineinherited |
Definition at line 697 of file cdef-object.h.
References cdef_object::get_rep().
|
inlineinherited |
Definition at line 695 of file cdef-object.h.
References cdef_object::get_rep().
|
inlineinherited |
Definition at line 689 of file cdef-object.h.
References cdef_object::get_rep().
|
inlineinherited |
Definition at line 312 of file cdef-object.h.
References cdef_object_rep::is_valid(), and cdef_object::m_rep.
Referenced by check_access(), class_fevalStatic(), class_getConstant(), cdef_class::cdef_class_rep::construct(), cdef_class::cdef_class_rep::construct_object(), cdef_class::cdef_class_rep::delete_object(), F__methods__(), cdef_object_array::fill_empty_values(), cdef_manager::find_class(), cdef_class::cdef_class_rep::find_method(), cdef_manager::find_method_symbol(), cdef_manager::find_package(), cdef_manager::find_package_symbol(), cdef_class::cdef_class_rep::find_property(), Fproperties(), tree_evaluator::make_fcn_handle(), 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(), cdef_class::cdef_class_rep::run_constructor(), cdef_object_base::set_class(), cdef_object_array::subsasgn(), cdef_object_scalar::subsasgn(), cdef_object_scalar::subsref(), to_ov(), and ctor_analyzer::visit_superclass_ref().
|
inline |
Definition at line 154 of file cdef-method.h.
References cdef_object::operator=().
|
inlineinherited |
Definition at line 263 of file cdef-object.h.
References cdef_object::m_rep, and cdef_object_rep::put().
Referenced by cdef_class::cdef_class_rep::initialize_object(), 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(), cdef_method::cdef_method_rep::set_name(), cdef_package::cdef_package_rep::set_name(), cdef_property::cdef_property_rep::set_name(), cdef_object_array::set_property(), cdef_object_scalar::set_property(), and cdef_property::cdef_property_rep::set_value().
|
inlineinherited |
Definition at line 232 of file cdef-object.h.
References cdef_object::m_rep, and cdef_object_rep::set_class().
Referenced by cdef_manager::cdef_manager(), cdef_class::cdef_class_rep::construct_object(), 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 186 of file cdef-method.h.
References cdef_class::get_rep().
Referenced by cdef_manager::make_method().
|
inlineinherited |
Definition at line 273 of file cdef-object.h.
References cdef_object::m_rep, and cdef_object_rep::set_property().
|
inlineinherited |
Definition at line 299 of file cdef-object.h.
References cdef_object::m_rep, cdef_object::make_unique(), and cdef_object_rep::subsasgn().
Referenced by cdef_object_array::subsasgn(), and cdef_object_scalar::subsasgn().
|
inlineinherited |
Definition at line 291 of file cdef-object.h.
References cdef_object::m_rep, and cdef_object_rep::subsref().
Referenced by cdef_object_scalar::subsref().
|
friend |
Definition at line 46 of file cdef-method.h.
|
privateinherited |
Definition at line 350 of file cdef-object.h.
Referenced by cdef_object::cdef_object(), cdef_object::~cdef_object(), cdef_object::array_value(), cdef_object::break_closure_cycles(), cdef_object::class_name(), cdef_object::clone(), cdef_object::copy(), cdef_object::dims(), cdef_object::empty_clone(), cdef_object::get(), cdef_object::get_class(), cdef_object::get_property(), cdef_object::get_rep(), cdef_object::is(), cdef_object::is_array(), cdef_object::is_constructed(), cdef_object::is_constructed_for(), cdef_object::is_handle_object(), cdef_object::is_meta_object(), cdef_object::is_partially_constructed_for(), cdef_object::is_value_object(), cdef_object::make_array(), cdef_object::make_unique(), cdef_object::map_keys(), cdef_object::mark_as_constructed(), cdef_object::mark_for_construction(), cdef_object::ok(), cdef_object::operator=(), cdef_object::put(), cdef_object::set_class(), cdef_object::set_property(), cdef_object::subsasgn(), and cdef_object::subsref().