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_array (void) | |
cdef_object_array (const Array< cdef_object > &a) | |
Array< cdef_object > | array_value (void) const |
std::string | class_name (void) const |
cdef_object_rep * | clone (void) const |
virtual cdef_object_rep * | copy (void) const |
virtual void | destroy (void) |
dim_vector | dims (void) const |
cdef_object_rep * | empty_clone (void) const |
virtual octave_value | get (const std::string &) const |
cdef_class | get_class (void) const |
bool | is_array (void) const |
virtual bool | is_constructed (void) const |
virtual bool | is_constructed_for (const cdef_class &) const |
virtual bool | is_handle_object (void) const |
virtual bool | is_meta_object (void) const |
virtual bool | is_partially_constructed_for (const cdef_class &) const |
bool | is_valid (void) const |
virtual bool | is_value_object (void) const |
cdef_object_rep * | make_array (void) const |
virtual string_vector | map_keys (void) const |
virtual void | mark_as_constructed (void) |
virtual void | mark_as_constructed (const cdef_class &) |
virtual void | mark_for_construction (const cdef_class &) |
virtual void | put (const std::string &, const octave_value &) |
void | release (void) |
void | set_class (const cdef_class &cls) |
virtual octave_idx_type | static_count (void) const |
octave_value | subsasgn (const std::string &type, const std::list< octave_value_list > &idx, const octave_value &rhs) |
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) |
Protected Attributes | |
octave_refcount< octave_idx_type > | refcount |
Private Member Functions | |
cdef_object_array (const cdef_object_array &obj) | |
void | fill_empty_values (void) |
void | fill_empty_values (Array< cdef_object > &arr) |
cdef_object_array & | operator= (const cdef_object_array &) |
Private Attributes | |
Array< cdef_object > | array |
Definition at line 353 of file ov-classdef.h.
|
inline |
Definition at line 357 of file ov-classdef.h.
|
inline |
Definition at line 359 of file ov-classdef.h.
|
inlineprivate |
Definition at line 391 of file ov-classdef.h.
|
inlinevirtual |
Reimplemented from cdef_object_rep.
Definition at line 371 of file ov-classdef.h.
|
inlineinherited |
Definition at line 1180 of file ov-classdef.h.
References cdef_object_rep::get_class(), and cdef_class::get_name().
Referenced by cdef_object::class_name(), subsasgn(), and subsref().
|
inlinevirtual |
Reimplemented from cdef_object_rep.
Definition at line 362 of file ov-classdef.h.
|
inlinevirtualinherited |
Reimplemented in cdef_package::cdef_package_rep, cdef_method::cdef_method_rep, cdef_property::cdef_property_rep, cdef_class::cdef_class_rep, cdef_meta_object_rep, value_cdef_object, and handle_cdef_object.
Definition at line 74 of file ov-classdef.h.
Referenced by cdef_object::copy().
|
inlinevirtualinherited |
Reimplemented in cdef_package::cdef_package_rep, and cdef_class::cdef_class_rep.
Definition at line 160 of file ov-classdef.h.
|
inlinevirtual |
Reimplemented from cdef_object_rep.
Definition at line 365 of file ov-classdef.h.
Referenced by subsref().
|
inlinevirtualinherited |
Reimplemented from cdef_object_rep.
Definition at line 326 of file ov-classdef.h.
|
inlineprivate |
Definition at line 386 of file ov-classdef.h.
References fill_empty_values().
Referenced by fill_empty_values(), subsasgn(), and subsref().
|
private |
Definition at line 1886 of file ov-classdef.cc.
References cdef_class::construct_object(), cdef_object::copy(), error_state, cdef_object_base::get_class(), Array< T >::numel(), cdef_object::ok(), and Array< T >::xelem().
|
inlinevirtualinherited |
Reimplemented in cdef_object_scalar.
Definition at line 103 of file ov-classdef.h.
References octave_value().
Referenced by cdef_object::get().
|
inlinevirtualinherited |
Reimplemented from cdef_object_rep.
Definition at line 1188 of file ov-classdef.h.
References cdef_class::cdef_class(), and cdef_object_base::klass.
Referenced by fill_empty_values(), cdef_object_base::make_array(), cdef_object_base::register_object(), cdef_object_base::set_class(), subsasgn(), cdef_object_scalar::subsasgn(), subsref(), cdef_object_scalar::subsref(), cdef_object_base::unregister_object(), handle_cdef_object::~handle_cdef_object(), and value_cdef_object::~value_cdef_object().
|
inlinevirtual |
Reimplemented from cdef_object_rep.
Definition at line 369 of file ov-classdef.h.
|
inlinevirtualinherited |
Reimplemented in cdef_object_scalar.
Definition at line 152 of file ov-classdef.h.
Referenced by cdef_object::is_constructed().
|
inlinevirtualinherited |
Reimplemented in cdef_object_scalar.
Definition at line 134 of file ov-classdef.h.
Referenced by cdef_object::is_constructed_for().
|
inlinevirtualinherited |
Reimplemented in handle_cdef_object.
Definition at line 90 of file ov-classdef.h.
Referenced by cdef_object::is_handle_object().
|
inlinevirtualinherited |
Reimplemented in cdef_meta_object_rep.
Definition at line 92 of file ov-classdef.h.
Referenced by cdef_object::is_meta_object().
|
inlinevirtualinherited |
Reimplemented in cdef_object_scalar.
Definition at line 140 of file ov-classdef.h.
Referenced by cdef_object::is_partially_constructed_for().
|
inlinevirtual |
Reimplemented from cdef_object_rep.
Definition at line 367 of file ov-classdef.h.
|
inlinevirtualinherited |
Reimplemented in value_cdef_object.
Definition at line 88 of file ov-classdef.h.
Referenced by cdef_object::is_value_object().
|
inlinevirtualinherited |
Reimplemented from cdef_object_rep.
Definition at line 1229 of file ov-classdef.h.
References cdef_object_base::get_class(), and cdef_object_rep::set_class().
|
virtualinherited |
Definition at line 1394 of file ov-classdef.cc.
References cdef_object_rep::get_class(), cdef_class::get_names(), and cdef_object::ok().
Referenced by cdef_object::map_keys().
|
inlinevirtualinherited |
Reimplemented in cdef_object_scalar.
Definition at line 146 of file ov-classdef.h.
Referenced by cdef_object::mark_as_constructed().
|
inlinevirtualinherited |
Reimplemented in cdef_object_scalar.
Definition at line 149 of file ov-classdef.h.
|
inlinevirtualinherited |
Reimplemented in cdef_object_scalar.
Definition at line 131 of file ov-classdef.h.
Referenced by cdef_object::mark_for_construction().
|
private |
|
inlinevirtualinherited |
Reimplemented in cdef_object_scalar.
Definition at line 100 of file ov-classdef.h.
Referenced by cdef_object::put().
|
inlineinherited |
Definition at line 162 of file ov-classdef.h.
Referenced by cdef_object::operator=(), and cdef_object::~cdef_object().
|
inlinevirtualinherited |
Reimplemented from cdef_object_rep.
Definition at line 1192 of file ov-classdef.h.
References cdef_object_base::get_class(), cdef_object_base::klass, cdef_object::ok(), cdef_object_base::register_object(), and cdef_object_base::unregister_object().
|
inlinevirtualinherited |
Reimplemented in cdef_package::cdef_package_rep, and cdef_class::cdef_class_rep.
Definition at line 158 of file ov-classdef.h.
|
virtual |
Reimplemented from cdef_object_rep.
Definition at line 1716 of file ov-classdef.cc.
References array, cdef_object::array_value(), Array< T >::assign(), cdef_object_rep::class_name(), cdef_object::class_name(), cdef_class::construct_object(), error(), error_state, fill_empty_values(), cdef_object::get_class(), cdef_object_base::get_class(), Array< T >::index(), cdef_object::is(), cdef_object::is_array(), is_scalar(), octave_value_list::length(), Array< T >::numel(), cdef_object::ok(), cdef_object_rep::refcount, cdef_object::subsasgn(), to_cdef(), and to_ov().
|
virtual |
Reimplemented from cdef_object_rep.
Definition at line 1615 of file ov-classdef.cc.
References array, cdef_object_rep::class_name(), dims(), octave_value_list::empty(), error(), error_state, fill_empty_values(), cdef_object_base::get_class(), Array< T >::index(), is_scalar(), octave_value_list::length(), Array< T >::numel(), octave_value(), cdef_object::set_class(), and to_ov().
|
private |
Definition at line 383 of file ov-classdef.h.
Referenced by subsasgn(), and subsref().
|
protectedinherited |
Definition at line 172 of file ov-classdef.h.
Referenced by cdef_object::cdef_object(), handle_cdef_object::clone(), cdef_object::make_unique(), cdef_object::operator=(), subsasgn(), cdef_object_scalar::subsasgn(), and cdef_object_scalar::subsref().