GNU Octave  4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Public Member Functions | Protected Member Functions | Private Member Functions | Friends | List of all members
cdef_property Class Reference

#include "ov-classdef.h"

Inheritance diagram for cdef_property:
Inheritance graph
[legend]
Collaboration diagram for cdef_property:
Collaboration graph
[legend]

Classes

class  cdef_property_rep
 

Public Member Functions

 cdef_property (void)
 
 cdef_property (const std::string &nm)
 
 cdef_property (const cdef_property &prop)
 
 cdef_property (const cdef_object &obj)
 
Array< cdef_objectarray_value (void) const
 
bool check_get_access (void) const
 
bool check_set_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 get (const std::string &pname) const
 
cdef_class get_class (void) const
 
std::string get_name (void) const
 
octave_value get_value (const cdef_object &obj, bool do_check_access=true, const std::string &who=std::string())
 
octave_value get_value (bool do_check_access=true, const std::string &who=std::string())
 
bool is (const cdef_object &obj) const
 
bool is_array (void) const
 
bool is_class (void) const
 
bool is_constant (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_propertyoperator= (const cdef_property &prop)
 
void put (const std::string &pname, const octave_value &val)
 
void set_class (const cdef_class &cls)
 
void set_value (cdef_object &obj, const octave_value &val, bool do_check_access=true, const std::string &who=std::string())
 
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_property_repget_rep (void)
 
const cdef_property_repget_rep (void) const
 

Friends

class cdef_class
 

Detailed Description

Definition at line 920 of file ov-classdef.h.

Constructor & Destructor Documentation

cdef_property::cdef_property ( void  )
inline

Definition at line 973 of file ov-classdef.h.

cdef_property::cdef_property ( const std::string &  nm)
inline

Definition at line 975 of file ov-classdef.h.

References cdef_class::get_rep(), and cdef_class::cdef_class_rep::set_name().

cdef_property::cdef_property ( const cdef_property prop)
inline

Definition at line 979 of file ov-classdef.h.

cdef_property::cdef_property ( const cdef_object obj)
inline

Member Function Documentation

Array<cdef_object> cdef_object::array_value ( void  ) const
inlineinherited
bool cdef_property::check_get_access ( void  ) const
inline

Definition at line 1011 of file ov-classdef.h.

References cdef_class::get_rep().

bool cdef_property::check_set_access ( void  ) const
inline

Definition at line 1014 of file ov-classdef.h.

References cdef_class::get_rep().

std::string cdef_object::class_name ( void  ) const
inlineinherited
cdef_object cdef_object::clone ( void  ) const
inlineinherited
cdef_object cdef_object::copy ( void  ) const
inlineinherited
dim_vector cdef_object::dims ( void  ) const
inlineinherited

Definition at line 233 of file ov-classdef.h.

References cdef_object_rep::dims(), and cdef_object::rep.

cdef_object cdef_object::empty_clone ( void  ) const
inlineinherited
octave_value cdef_object::get ( const std::string &  pname) const
inlineinherited
cdef_class cdef_object::get_class ( void  ) const
inlineinherited
std::string cdef_property::get_name ( void  ) const
inline
cdef_property_rep* cdef_property::get_rep ( void  )
inlineprivate

Definition at line 1022 of file ov-classdef.h.

References cdef_object::get_rep().

const cdef_property_rep* cdef_property::get_rep ( void  ) const
inlineprivate

Definition at line 1025 of file ov-classdef.h.

References cdef_object::get_rep().

octave_value cdef_property::get_value ( const cdef_object obj,
bool  do_check_access = true,
const std::string &  who = std::string () 
)
inline
octave_value cdef_property::get_value ( bool  do_check_access = true,
const std::string &  who = std::string () 
)
inline

Definition at line 1002 of file ov-classdef.h.

References cdef_class::get_rep().

bool cdef_object::is ( const cdef_object obj) const
inlineinherited

Definition at line 295 of file ov-classdef.h.

References cdef_object::rep.

Referenced by is_method_executing(), and cdef_object_array::subsasgn().

bool cdef_object::is_array ( void  ) const
inlineinherited
bool cdef_meta_object::is_class ( void  ) const
inlineinherited

Definition at line 587 of file ov-classdef.h.

References cdef_object::get_rep().

bool cdef_property::is_constant ( void  ) const
inline
bool cdef_object::is_constructed ( void  ) const
inlineinherited
bool cdef_object::is_constructed_for ( const cdef_class cls) const
inlineinherited

Definition at line 284 of file ov-classdef.h.

References cdef_object_rep::is_constructed_for(), and cdef_object::rep.

bool cdef_object::is_handle_object ( void  ) const
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().

bool cdef_object::is_meta_object ( void  ) const
inlineinherited

Definition at line 247 of file ov-classdef.h.

References cdef_object_rep::is_meta_object(), and cdef_object::rep.

bool cdef_meta_object::is_method ( void  ) const
inlineinherited

Definition at line 591 of file ov-classdef.h.

References cdef_object::get_rep().

Referenced by cdef_method::cdef_method().

bool cdef_meta_object::is_package ( void  ) const
inlineinherited

Definition at line 593 of file ov-classdef.h.

References cdef_object::get_rep().

Referenced by cdef_package::cdef_package().

bool cdef_object::is_partially_constructed_for ( const cdef_class cls) const
inlineinherited
bool cdef_meta_object::is_property ( void  ) const
inlineinherited

Definition at line 589 of file ov-classdef.h.

References cdef_object::get_rep().

Referenced by cdef_property().

bool cdef_object::is_value_object ( void  ) const
inlineinherited

Definition at line 243 of file ov-classdef.h.

References cdef_object_rep::is_value_object(), and cdef_object::rep.

cdef_object cdef_object::make_array ( void  ) const
inlineinherited
void cdef_object::make_unique ( int  ignore_copies)
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().

string_vector cdef_object::map_keys ( void  ) const
inlineinherited

Definition at line 271 of file ov-classdef.h.

References cdef_object_rep::map_keys(), and cdef_object::rep.

octave_map cdef_object::map_value ( void  ) const
inherited
void cdef_object::mark_as_constructed ( void  )
inlineinherited
void cdef_object::mark_as_constructed ( const cdef_class cls)
inlineinherited

Definition at line 292 of file ov-classdef.h.

References cdef_object_rep::mark_as_constructed(), and cdef_object::rep.

void cdef_object::mark_for_construction ( const cdef_class cls)
inlineinherited
bool cdef_meta_object::meta_is_postfix_index_handled ( char  type) const
inlineinherited

Definition at line 602 of file ov-classdef.h.

References cdef_object::get_rep().

void cdef_meta_object::meta_release ( void  )
inlineinherited

Definition at line 600 of file ov-classdef.h.

References cdef_object::get_rep().

octave_value_list cdef_meta_object::meta_subsref ( const std::string &  type,
const std::list< octave_value_list > &  idx,
int  nargout 
)
inlineinherited

Definition at line 596 of file ov-classdef.h.

References cdef_object::get_rep().

bool cdef_object::ok ( void  ) const
inlineinherited
cdef_property& cdef_property::operator= ( const cdef_property prop)
inline

Definition at line 991 of file ov-classdef.h.

References cdef_object::operator=().

void cdef_object::put ( const std::string &  pname,
const octave_value val 
)
inlineinherited
void cdef_object::set_class ( const cdef_class cls)
inlineinherited
void cdef_property::set_value ( cdef_object obj,
const octave_value val,
bool  do_check_access = true,
const std::string &  who = std::string () 
)
inline

Definition at line 1006 of file ov-classdef.h.

References cdef_class::get_rep().

Referenced by cdef_object_scalar::subsasgn().

octave_value cdef_object::subsasgn ( const std::string &  type,
const std::list< octave_value_list > &  idx,
const octave_value rhs,
int  ignore_copies = 0 
)
inlineinherited
octave_value_list cdef_object::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 
)
inlineinherited

Friends And Related Function Documentation

friend class cdef_class
friend

Definition at line 923 of file ov-classdef.h.


The documentation for this class was generated from the following file: