rasdaman complete source
|
#include <primitive.hh>
Public Member Functions | |
r_Primitive (const char *newBuffer, const r_Primitive_Type *newType) | |
constructs a scalar type value More... | |
r_Primitive (const r_Primitive &obj) | |
copy constructor More... | |
~r_Primitive () | |
destructor More... | |
virtual r_Scalar * | clone () const |
clone operator More... | |
virtual const r_Primitive & | operator= (const r_Primitive &) |
operator for assigning a primitive More... | |
const char * | get_buffer () const |
gets the pointer to the buffer More... | |
virtual void | print_status (std::ostream &s) const |
debug output More... | |
virtual bool | isPrimitive () const |
r_Boolean | get_boolean () const throw ( r_Error ) |
r_Char | get_char () const throw ( r_Error ) |
r_Octet | get_octet () const throw ( r_Error ) |
r_Short | get_short () const throw ( r_Error ) |
r_UShort | get_ushort () const throw ( r_Error ) |
r_Long | get_long () const throw ( r_Error ) |
r_ULong | get_ulong () const throw ( r_Error ) |
r_Float | get_float () const throw ( r_Error ) |
r_Double | get_double () const throw ( r_Error ) |
void | set_boolean (r_Boolean) throw ( r_Error ) |
void | set_char (r_Char) throw ( r_Error ) |
void | set_octet (r_Octet) throw ( r_Error ) |
void | set_short (r_Short) throw ( r_Error ) |
void | set_ushort (r_UShort) throw ( r_Error ) |
void | set_long (r_Long) throw ( r_Error ) |
void | set_ulong (r_ULong) throw ( r_Error ) |
void | set_float (r_Float) throw ( r_Error ) |
void | set_double (r_Double) throw ( r_Error ) |
![]() | |
r_Scalar (const r_Base_Type *newType) | |
constructs a scalar value More... | |
r_Scalar (const r_Scalar &obj) | |
copy constructor More... | |
virtual | ~r_Scalar () |
destructor More... | |
virtual const r_Scalar & | operator= (const r_Scalar &) |
operator for assigning a scalar More... | |
virtual const r_Base_Type * | get_type () const |
get type More... | |
virtual bool | isStructure () const |
virtual bool | isComplex () const |
Additional Inherited Members | |
![]() | |
r_Base_Type * | valueType |
type More... | |
|
explicit |
constructs a scalar type value
r_Primitive::r_Primitive | ( | const r_Primitive & | obj | ) |
copy constructor
r_Primitive::~r_Primitive | ( | ) |
destructor
|
virtual |
const char* r_Primitive::get_buffer | ( | ) | const |
gets the pointer to the buffer
|
virtual |
operator for assigning a primitive
|
virtual |
debug output
Implements r_Scalar.