![]() |
rasdaman client API
10.6.3
The Array Analytics Engine: Datacubes at Your Fingertips
|
Class r_Structure represents a structured value. More...
#include <structure.hh>
Public Member Functions | |
| r_Structure (const char *newBuffer, const r_Structure_Type *newType) | |
| constructs a structured type value More... | |
| r_Structure (const r_Structure &obj) | |
| copy constructor More... | |
| ~r_Structure () override | |
| destructor More... | |
| r_Scalar * | clone () const override |
| clone operator More... | |
| const r_Structure & | operator= (const r_Structure &) |
| operator for assigning a structure More... | |
| void | print_status (std::ostream &s) const override |
| debug output More... | |
| bool | isStructure () const override |
| returns true to indicate that this is a structured value More... | |
| unsigned int | count_elements () const |
| get number of elements More... | |
| const char * | get_buffer () const |
| get buffer More... | |
| const r_Scalar & | operator[] (const char *name) const |
| access an element by name throws TypeInvalid and r_Eindex_violation More... | |
| const r_Scalar & | operator[] (unsigned int) const |
| access an element by number throws TypeInvalid and NameInvalid More... | |
Public Member Functions inherited from r_Scalar | |
| r_Scalar (const r_Base_Type *newType) | |
| r_Scalar (const r_Scalar &obj) | |
| virtual | ~r_Scalar () |
| const r_Scalar & | operator= (const r_Scalar &) |
| virtual const r_Base_Type * | get_type () const |
| virtual bool | isComplex () const |
| virtual bool | isPrimitive () const |
Additional Inherited Members | |
Protected Attributes inherited from r_Scalar | |
| r_Base_Type * | valueType {NULL} |
Class r_Structure represents a structured value.
| r_Structure::r_Structure | ( | const char * | newBuffer, |
| const r_Structure_Type * | newType | ||
| ) |
constructs a structured type value
| r_Structure::r_Structure | ( | const r_Structure & | obj | ) |
copy constructor
|
override |
destructor
| unsigned int r_Structure::count_elements | ( | ) | const |
get number of elements
| const char* r_Structure::get_buffer | ( | ) | const |
get buffer
|
overridevirtual |
returns true to indicate that this is a structured value
Reimplemented from r_Scalar.
| const r_Structure& r_Structure::operator= | ( | const r_Structure & | ) |
operator for assigning a structure
| const r_Scalar& r_Structure::operator[] | ( | const char * | name | ) | const |
access an element by name throws TypeInvalid and r_Eindex_violation
| const r_Scalar& r_Structure::operator[] | ( | unsigned int | ) | const |
access an element by number throws TypeInvalid and NameInvalid
|
overridevirtual |
debug output
Implements r_Scalar.
1.8.17