84 char *valueBuffer{NULL};
87 unsigned int numElements{};
Class r_Scalar represents a scalar type value which is either r_Primitive or r_Structure.
Definition scalar.hh:43
This class represents all user defined structured types in the ODMG conformant representation of the ...
Definition structuretype.hh:41
Class r_Structure represents a structured value.
Definition structure.hh:42
r_Scalar * clone() const override
clone operator
r_Structure(const r_Structure &obj)
copy constructor
void print_status(std::ostream &s) const override
debug output
const char * get_buffer() const
get buffer
const r_Scalar & operator[](const char *name) const
access an element by name throws TypeInvalid and r_Eindex_violation
r_Structure(const char *newBuffer, const r_Structure_Type *newType)
constructs a structured type value
bool isStructure() const override
returns true to indicate that this is a structured value
const r_Structure & operator=(const r_Structure &)
operator for assigning a structure
unsigned int count_elements() const
get number of elements
~r_Structure() override
destructor
const r_Scalar & operator[](unsigned int) const
access an element by number throws TypeInvalid and NameInvalid
std::ostream & operator<<(std::ostream &s, const r_Structure &oid)
Output stream operator for objects of type const r_Structure.