This class represents all primitive types in the ODMG conformant representation of the RasDaMan type ...
Definition primitivetype.hh:42
Class r_Primitive represents a primitive (atomic) type value.
Definition primitive.hh:43
r_Primitive(const char *newBuffer, const r_Primitive_Type *newType)
r_UShort get_ushort() const
r_Octet get_octet() const
r_ULong get_ulong() const
r_Float get_float() const
const r_Primitive & operator=(const r_Primitive &)
operator for assigning a primitive
bool isPrimitive() const override
r_Short get_short() const
const char * get_buffer() const
gets the pointer to the buffer
char * valueBuffer
buffer
Definition primitive.hh:91
void set_double(r_Double)
r_Boolean get_boolean() const
void set_boolean(r_Boolean)
r_Double get_double() const
void checkBufferAndType() const
r_Scalar * clone() const override
clone operator
void print_status(std::ostream &s) const override
debug output
void checkBufferAndType(r_Type::r_Type_Id type)
void set_ushort(r_UShort)
r_Primitive(const r_Primitive &obj)
Class r_Scalar represents a scalar type value which is either r_Primitive or r_Structure.
Definition scalar.hh:43
r_Type_Id
typedef for the enum specifying a primitive type, structure type, marray type, interval type,...
Definition type.hh:56
std::uint32_t r_ULong
Definition odmgtypes.hh:38
double r_Double
Definition odmgtypes.hh:40
std::uint16_t r_UShort
Definition odmgtypes.hh:35
float r_Float
Definition odmgtypes.hh:39
std::int8_t r_Octet
Definition odmgtypes.hh:34
std::uint8_t r_Char
Definition odmgtypes.hh:33
std::int32_t r_Long
Definition odmgtypes.hh:37
std::uint8_t r_Boolean
Definition odmgtypes.hh:32
std::int16_t r_Short
Definition odmgtypes.hh:36
std::ostream & operator<<(std::ostream &s, const r_Primitive &obj)
Output stream operator for objects of type const r_Primitive.