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_method Class Reference

#include "ov-classdef.h"

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

Classes

class  cdef_method_rep
 

Public Member Functions

 cdef_method (void)
 
 cdef_method (const std::string &nm)
 
 cdef_method (const cdef_method &meth)
 
 cdef_method (const cdef_object &obj)
 
Array< cdef_objectarray_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 octave_value_list &args, int nargout, bool do_check_access=true, const std::string &who=std::string())
 
octave_value_list execute (const cdef_object &obj, const octave_value_list &args, int nargout, bool do_check_access=true, const std::string &who=std::string())
 
octave_value get (const std::string &pname) const
 
cdef_class get_class (void) const
 
octave_value get_function (void) const
 
std::string get_name (void) 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_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 (void)
 
void mark_as_constructed (const cdef_class &cls)
 
void mark_as_external (const std::string &dtype)
 
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_methodoperator= (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)
 
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_repget_rep (void)
 
const cdef_method_repget_rep (void) const
 

Friends

class cdef_class
 

Detailed Description

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

Constructor & Destructor Documentation

cdef_method::cdef_method ( void  )
inline

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

cdef_method::cdef_method ( const std::string &  nm)
inline
cdef_method::cdef_method ( const cdef_method meth)
inline

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

cdef_method::cdef_method ( const cdef_object obj)
inline

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

References cdef_object::class_name(), error(), and cdef_meta_object::is_method().

Member Function Documentation

Array<cdef_object> cdef_object::array_value ( void  ) const
inlineinherited
bool cdef_method::check_access ( void  ) const
inline

Definition at line 1144 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_list cdef_method::execute ( const octave_value_list args,
int  nargout,
bool  do_check_access = true,
const std::string &  who = std::string () 
)
inline
octave_value_list cdef_method::execute ( const cdef_object obj,
const octave_value_list args,
int  nargout,
bool  do_check_access = true,
const std::string &  who = std::string () 
)
inline

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

References cdef_class::get_rep().

octave_value cdef_object::get ( const std::string &  pname) const
inlineinherited
cdef_class cdef_object::get_class ( void  ) const
inlineinherited
octave_value cdef_method::get_function ( void  ) const
inline

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

References cdef_class::get_rep().

Referenced by cdef_class::cdef_class_rep::install_method().

std::string cdef_method::get_name ( void  ) const
inline
cdef_method_rep* cdef_method::get_rep ( void  )
inlineprivate

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

References cdef_object::get_rep().

const cdef_method_rep* cdef_method::get_rep ( void  ) const
inlineprivate

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

References cdef_object::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_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_method::is_constructor ( void  ) const
inline

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

References cdef_class::get_rep().

Referenced by cdef_class::cdef_class_rep::install_method().

bool cdef_method::is_external ( void  ) const
inline

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

References cdef_class::get_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().

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::cdef_property().

bool cdef_method::is_static ( void  ) const
inline
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_method::mark_as_external ( const std::string &  dtype)
inline

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

References cdef_class::get_rep().

Referenced by make_method().

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_method& cdef_method::operator= ( const cdef_method meth)
inline

Definition at line 1124 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_method::set_function ( const octave_value fcn)
inline

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

References cdef_class::get_rep().

Referenced by make_method().

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 1032 of file ov-classdef.h.


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