GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
cdef_object_base Class Reference

#include "cdef-object.h"

Inheritance diagram for cdef_object_base:
cdef_object_rep cdef_object_array cdef_object_scalar handle_cdef_object value_cdef_object cdef_meta_object_rep

Public Member Functions

 cdef_object_base ()
 
 ~cdef_object_base ()
 
cdef_object_repempty_clone () const
 
cdef_class get_class () const
 
cdef_object_repmake_array () const
 
cdef_object_baseoperator= (const cdef_object_base &)=delete
 
void set_class (const cdef_class &cls)
 
- Public Member Functions inherited from cdef_object_rep
 cdef_object_rep ()
 
virtual ~cdef_object_rep ()=default
 
virtual Array< cdef_objectarray_value () const
 
virtual void break_closure_cycles (const std::shared_ptr< stack_frame > &)
 
std::string class_name () const
 
virtual cdef_object_repclone () const
 
virtual cdef_object_repcopy () const
 
virtual void destroy ()
 
virtual dim_vector dims () const
 
virtual octave_value get (const std::string &) const
 
virtual octave_value get_property (octave_idx_type, const std::string &) const
 
virtual bool is_array () const
 
virtual bool is_constructed () const
 
virtual bool is_constructed_for (const cdef_class &) const
 
virtual bool is_handle_object () const
 
virtual bool is_meta_object () const
 
virtual bool is_partially_constructed_for (const cdef_class &) const
 
virtual bool is_valid () const
 
virtual bool is_value_object () const
 
virtual string_vector map_keys () const
 
virtual void mark_as_constructed ()
 
virtual void mark_as_constructed (const cdef_class &)
 
virtual void mark_for_construction (const cdef_class &)
 
cdef_object_repoperator= (const cdef_object_rep &)=delete
 
virtual void put (const std::string &, const octave_value &)
 
void release (const cdef_object &obj)
 
virtual void set_property (octave_idx_type, const std::string &, const octave_value &)
 
virtual octave_idx_type static_count () const
 
virtual octave_value subsasgn (const std::string &, const std::list< octave_value_list > &, const octave_value &)
 
virtual octave_value_list subsref (const std::string &, const std::list< octave_value_list > &, int, std::size_t &, const cdef_class &, bool)
 

Protected Member Functions

 cdef_object_base (const cdef_object_base &obj)
 
- Protected Member Functions inherited from cdef_object_rep
 cdef_object_rep (const cdef_object_rep &)
 

Additional Inherited Members

- Protected Attributes inherited from cdef_object_rep
refcount< octave_idx_typem_count
 

Detailed Description

Definition at line 353 of file cdef-object.h.

Constructor & Destructor Documentation

◆ cdef_object_base() [1/2]

cdef_object_base::cdef_object_base ( )
inline

Definition at line 359 of file cdef-object.h.

◆ ~cdef_object_base()

cdef_object_base::~cdef_object_base ( )
inline

Definition at line 365 of file cdef-object.h.

◆ cdef_object_base() [2/2]

cdef_object_base::cdef_object_base ( const cdef_object_base obj)
inlineprotected

Definition at line 381 of file cdef-object.h.

Member Function Documentation

◆ empty_clone()

cdef_object_rep* cdef_object_base::empty_clone ( ) const
inlinevirtual

Reimplemented from cdef_object_rep.

Definition at line 371 of file cdef-object.h.

◆ get_class()

◆ make_array()

cdef_object_rep * cdef_object_base::make_array ( ) const
virtual

Reimplemented from cdef_object_rep.

Definition at line 206 of file cdef-object.cc.

References get_class(), and r.

◆ operator=()

cdef_object_base& cdef_object_base::operator= ( const cdef_object_base )
delete

◆ set_class()

void cdef_object_base::set_class ( const cdef_class cls)
virtual

Reimplemented from cdef_object_rep.

Definition at line 195 of file cdef-object.cc.

References get_class(), and cdef_object::ok().


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