![]() |
rasdaman client API 10.6.3
The Array Analytics Engine: Datacubes at Your Fingertips
|
This class represents attributes of structs in the ODMG conformant representation of the RasDaMan type system. More...
#include <attribute.hh>
Public Member Functions | |
| r_Attribute () | |
| default constructor. | |
| r_Attribute (const char *newTypeName, const r_Base_Type &newType) | |
| constructor getting name and type of attribute. | |
| r_Attribute (const r_Attribute &oldObj) | |
| copy constructor. | |
| const r_Attribute & | operator= (const r_Attribute &oldObj) |
| assignment operator. | |
| ~r_Attribute () override | |
| destructor. | |
| r_Bytes | offset () const |
| retrieve (local) offset | |
| void | set_offset (r_Bytes newOffset) |
| set (local) offset | |
| r_Bytes | global_offset () const |
| retrieve global offset | |
| void | set_global_offset (r_Bytes newOffset) |
| set global offset | |
| virtual void | print_status (std::ostream &s) const override |
| writes state of object to specified stream | |
| r_Attribute | operator[] (unsigned int number) const |
| subscript operator to access attributes of a structured attribute throws error when type is not a struct type | |
| r_Boolean | get_boolean (const char *cell) const |
| r_Char | get_char (const char *cell) const |
| r_Octet | get_octet (const char *cell) const |
| r_Short | get_short (const char *cell) const |
| r_UShort | get_ushort (const char *cell) const |
| r_Long | get_long (const char *cell) const |
| r_ULong | get_ulong (const char *cell) const |
| r_Float | get_float (const char *cell) const |
| r_Double | get_double (const char *cell) const |
Public Member Functions inherited from r_Property | |
| r_Property (const char *newTypeName, const r_Base_Type &newType) | |
| constructor getting name and type of property. | |
| r_Property (const r_Property &oldObj) | |
| copy constructor. | |
| const r_Property & | operator= (const r_Property &oldObj) |
| assignment operator. | |
| ~r_Property () override | |
| destructor. | |
| const r_Base_Type & | type_of () const |
| retrieve type of property. | |
Public Member Functions inherited from r_Meta_Object | |
| r_Meta_Object ()=default | |
| default constructor. | |
| r_Meta_Object (const char *newTypeName) | |
| constructor getting name of type. | |
| virtual | ~r_Meta_Object ()=default |
| destructor. | |
| const char * | name () const |
| retrieve name of the type. | |
Protected Attributes | |
| r_Bytes | localOffset |
| local offset | |
| r_Bytes | globalOffset |
| global offset | |
Protected Attributes inherited from r_Property | |
| r_Base_Type * | myType {NULL} |
Protected Attributes inherited from r_Meta_Object | |
| std::string | typeName |
Additional Inherited Members | |
Protected Member Functions inherited from r_Property | |
| r_Property ()=default | |
| default constructor. | |
This class represents attributes of structs in the ODMG conformant representation of the RasDaMan type system.
| r_Attribute::r_Attribute | ( | ) |
default constructor.
initialise important attributes to NULL
| r_Attribute::r_Attribute | ( | const char * | newTypeName, |
| const r_Base_Type & | newType | ||
| ) |
constructor getting name and type of attribute.
| r_Attribute::r_Attribute | ( | const r_Attribute & | oldObj | ) |
copy constructor.
|
override |
destructor.
| r_Boolean r_Attribute::get_boolean | ( | const char * | cell | ) | const |
| r_Char r_Attribute::get_char | ( | const char * | cell | ) | const |
| r_Double r_Attribute::get_double | ( | const char * | cell | ) | const |
| r_Float r_Attribute::get_float | ( | const char * | cell | ) | const |
| r_Long r_Attribute::get_long | ( | const char * | cell | ) | const |
| r_Octet r_Attribute::get_octet | ( | const char * | cell | ) | const |
| r_Short r_Attribute::get_short | ( | const char * | cell | ) | const |
| r_ULong r_Attribute::get_ulong | ( | const char * | cell | ) | const |
| r_UShort r_Attribute::get_ushort | ( | const char * | cell | ) | const |
| r_Bytes r_Attribute::global_offset | ( | ) | const |
retrieve global offset
| r_Bytes r_Attribute::offset | ( | ) | const |
retrieve (local) offset
| const r_Attribute & r_Attribute::operator= | ( | const r_Attribute & | oldObj | ) |
assignment operator.
| r_Attribute r_Attribute::operator[] | ( | unsigned int | number | ) | const |
subscript operator to access attributes of a structured attribute throws error when type is not a struct type
|
overridevirtual |
writes state of object to specified stream
Implements r_Meta_Object.
| void r_Attribute::set_global_offset | ( | r_Bytes | newOffset | ) |
set global offset
| void r_Attribute::set_offset | ( | r_Bytes | newOffset | ) |
set (local) offset
|
protected |
global offset
|
protected |
local offset