rasdaman complete source
|
#include <attribute.hh>
Public Member Functions | |
r_Attribute () | |
default constructor. initialise important attributes to NULL More... | |
r_Attribute (const char *newTypeName, const r_Base_Type &newType) | |
constructor getting name and type of attribute. More... | |
r_Attribute (const r_Attribute &oldObj) | |
copy constructor. More... | |
const r_Attribute & | operator= (const r_Attribute &oldObj) |
assignment operator. More... | |
virtual | ~r_Attribute () |
destructor. More... | |
r_Bytes | offset () const |
retrieve (local) offset More... | |
void | set_offset (r_Bytes newOffset) |
set (local) offset More... | |
r_Bytes | global_offset () const |
retrieve global offset More... | |
void | set_global_offset (r_Bytes newOffset) |
set global offset More... | |
virtual void | print_status (std::ostream &s=std::cout) const |
writes state of object to specified stream More... | |
r_Attribute | operator[] (unsigned int number) const throw (r_Error) |
subscript operator to access attributes of a structured attribute throws error when type is not a struct type More... | |
r_Boolean | get_boolean (const char *cell) const throw (r_Error) |
r_Char | get_char (const char *cell) const throw (r_Error) |
r_Octet | get_octet (const char *cell) const throw (r_Error) |
r_Short | get_short (const char *cell) const throw (r_Error) |
r_UShort | get_ushort (const char *cell) const throw (r_Error) |
r_Long | get_long (const char *cell) const throw (r_Error) |
r_ULong | get_ulong (const char *cell) const throw (r_Error) |
r_Float | get_float (const char *cell) const throw (r_Error) |
r_Double | get_double (const char *cell) const throw (r_Error) |
![]() | |
r_Property (const char *newTypeName, const r_Base_Type &newType) | |
constructor getting name and type of property. More... | |
r_Property (const r_Property &oldObj) | |
copy constructor. More... | |
const r_Property & | operator= (const r_Property &oldObj) |
assignment operator. More... | |
virtual | ~r_Property () |
destructor. More... | |
const r_Base_Type & | type_of () const |
retrieve type of property. More... | |
![]() | |
r_Meta_Object () | |
default constructor. More... | |
r_Meta_Object (const char *newTypeName) | |
constructor getting name of type. More... | |
r_Meta_Object (const r_Meta_Object &oldObj) | |
copy constructor More... | |
const r_Meta_Object & | operator= (const r_Meta_Object &oldObj) |
assignment operator. More... | |
virtual | ~r_Meta_Object () |
destructor. More... | |
const char * | name () const |
retrieve name of the type. More... | |
Protected Attributes | |
r_Bytes | localOffset |
local offset More... | |
r_Bytes | globalOffset |
global offset More... | |
![]() | |
r_Base_Type * | myType |
![]() | |
char * | typeName |
Additional Inherited Members | |
![]() | |
r_Property () | |
default constructor. More... | |
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.
|
virtual |
destructor.
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 |
throw | ( | r_Error | |||
) |
subscript operator to access attributes of a structured attribute throws error when type is not a struct type
|
virtual |
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