105 unsigned int offset );
unsigned int offset(unsigned int num) const
return offset of primitive type num index violation is thrown if higher index is requested than avail...
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
Definition: raslib/basetype.hh:47
r_Bytes size(void) const
return size of entire type
Definition: structuretype.hh:56
bool operator==(const r_Flat_Base_Type &src) const
equality
void init_shared(void)
shared init code
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...
void parse_primitive_type(r_Primitive_Type *type, unsigned int number, unsigned int offset)
parse a primitive type
r_Flat_Base_Type & operator=(const r_Flat_Base_Type &src)
assignment of another flat type
unsigned int numPrimTypes
the number of primitive types
Definition: flatbasetype.hh:108
~r_Flat_Base_Type(void)
destructor
r_Primitive_Type ** primTypes
the primitive types
Definition: flatbasetype.hh:112
unsigned int get_num_types(void) const
return number of primitive types
void copy_flat_type(const r_Flat_Base_Type &type)
copy another flat type
r_Bytes typeSize
the total size of the entire type
Definition: flatbasetype.hh:110
void process_type(const r_Base_Type *type)
process a base type
void print_status(std::ostream &str) const
print status to a stream
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...
r_Flat_Base_Type(void)
default constructor, shouldn't be used
unsigned int r_Bytes
Definition: mddtypes.hh:56
std::ostream & operator<<(std::ostream &str, const r_Flat_Base_Type &type)
Definition: flatbasetype.hh:55
Definition: primitivetype.hh:49
unsigned int * offsets
the corresponding offsets
Definition: flatbasetype.hh:114
void free_type_data(void)
free type-specific data (destructor, assignment)