 |
rasdaman client API
10.6.3
The Array Analytics Engine: Datacubes at Your Fingertips
|
Go to the documentation of this file.
24 #ifndef _FLAT_BASE_TYPE_HH_
25 #define _FLAT_BASE_TYPE_HH_
68 unsigned int offset(
unsigned int num)
const;
unsigned int * offsets
the corresponding offsets
Definition: flatbasetype.hh:104
~r_Flat_Base_Type(void)
destructor
This class represents all primitive types in the ODMG conformant representation of the RasDaMan type ...
Definition: primitivetype.hh:41
r_Bytes size(void) const
return size of entire type
void free_type_data(void)
free type-specific data (destructor, assignment)
size_t r_Bytes
number of bytes in an tile or mdd or type.
Definition: mddtypes.hh:43
r_Bytes typeSize
the total size of the entire type
Definition: flatbasetype.hh:100
This class is the superclass of the types r_Structure_Type and r_Primitive_Type in the representation...
Definition: basetype.hh:39
const r_Primitive_Type * operator[](unsigned int num) const
operator returns pointer to primitive type num or NULL if invalid index violation is thrown if higher...
This class can be used to get a more convenient view on a structured base type.
Definition: flatbasetype.hh:46
const r_Primitive_Type * type(unsigned int num) const
return pointer to primitive type num index violation is thrown if higher index is requested than avai...
void copy_flat_type(const r_Flat_Base_Type &type)
copy another flat type
unsigned int numPrimTypes
the number of primitive types
Definition: flatbasetype.hh:98
bool operator==(const r_Flat_Base_Type &src) const
equality
void init_shared(void)
shared init code
unsigned int get_num_types(void) const
return number of primitive types
unsigned int offset(unsigned int num) const
return offset of primitive type num index violation is thrown if higher index is requested than avail...
void print_status(std::ostream &str) const
print status to a stream
r_Flat_Base_Type & operator=(const r_Flat_Base_Type &src)
assignment of another flat type
std::ostream & operator<<(std::ostream &str, const r_Flat_Base_Type &type)
This class represents all user defined structured types in the ODMG conformant representation of the ...
Definition: structuretype.hh:40
void process_type(const r_Base_Type *type)
process a base type
r_Primitive_Type ** primTypes
the primitive types
Definition: flatbasetype.hh:102
unsigned int parse_structure_type(const r_Structure_Type *type, unsigned int number, unsigned int offset)
parse a structure type and return number of primitive types contained therein
void parse_primitive_type(r_Primitive_Type *type, unsigned int number, unsigned int offset)
parse a primitive type
r_Flat_Base_Type(void)
default constructor, shouldn't be used