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

#include "cdef-object.h"

Inheritance diagram for cdef_object_array:
cdef_object_base cdef_object_rep

Public Member Functions

 cdef_object_array ()
 
 cdef_object_array (const Array< cdef_object > &a)
 
 ~cdef_object_array ()=default
 
Array< cdef_objectarray_value () const
 
cdef_object_repclone () const
 
dim_vector dims () const
 
octave_value get_property (octave_idx_type idx, const std::string &pname) const
 
bool is_array () const
 
bool is_valid () const
 
cdef_object_arrayoperator= (const cdef_object_array &)=delete
 
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)
 
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)
 
- Public Member Functions inherited from cdef_object_base
 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 void break_closure_cycles (const std::shared_ptr< stack_frame > &)
 
std::string class_name () const
 
virtual cdef_object_repcopy () const
 
virtual void destroy ()
 
virtual octave_value get (const std::string &) 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_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 octave_idx_type static_count () const
 

Additional Inherited Members

- Protected Member Functions inherited from cdef_object_base
 cdef_object_base (const cdef_object_base &obj)
 
- Protected Member Functions inherited from cdef_object_rep
 cdef_object_rep (const cdef_object_rep &)
 
- Protected Attributes inherited from cdef_object_rep
refcount< octave_idx_typem_count
 

Detailed Description

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

Constructor & Destructor Documentation

◆ cdef_object_array() [1/2]

cdef_object_array::cdef_object_array ( )
inline

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

◆ cdef_object_array() [2/2]

cdef_object_array::cdef_object_array ( const Array< cdef_object > &  a)
inline

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

◆ ~cdef_object_array()

cdef_object_array::~cdef_object_array ( )
default

Member Function Documentation

◆ array_value()

Array<cdef_object> cdef_object_array::array_value ( ) const
inlinevirtual

Reimplemented from cdef_object_rep.

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

◆ clone()

cdef_object_rep* cdef_object_array::clone ( ) const
inlinevirtual

Reimplemented from cdef_object_rep.

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

◆ dims()

dim_vector cdef_object_array::dims ( ) const
inlinevirtual

Reimplemented from cdef_object_rep.

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

Referenced by subsref().

◆ get_property()

octave_value cdef_object_array::get_property ( octave_idx_type  idx,
const std::string &  pname 
) const
inlinevirtual

Reimplemented from cdef_object_rep.

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

References cdef_object::get().

◆ is_array()

bool cdef_object_array::is_array ( ) const
inlinevirtual

Reimplemented from cdef_object_rep.

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

◆ is_valid()

bool cdef_object_array::is_valid ( ) const
inlinevirtual

Reimplemented from cdef_object_rep.

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

◆ operator=()

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

◆ set_property()

void cdef_object_array::set_property ( octave_idx_type  idx,
const std::string &  pname,
const octave_value pval 
)
inlinevirtual

Reimplemented from cdef_object_rep.

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

References cdef_object::put().

◆ subsasgn()

◆ subsref()

octave_value_list cdef_object_array::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 
)
virtual

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