rasdaman complete source
|
#include <qtatomicdata.hh>
Public Member Functions | |
QtAtomicData () | |
default constructor More... | |
QtAtomicData (r_Long value, unsigned short byteLength) | |
constructor getting signed integer data More... | |
QtAtomicData (r_ULong value, unsigned short byteLength) | |
constructor getting unsigned integer data More... | |
QtAtomicData (bool value) | |
constructor getting boolean data More... | |
QtAtomicData (double value, unsigned short byteLength) | |
constructor getting float data More... | |
QtAtomicData (double valRe, double valIm, unsigned short size) | |
constructor getting complex data More... | |
QtAtomicData (const QtAtomicData &obj) | |
copy constructor More... | |
virtual | ~QtAtomicData () |
destructor More... | |
r_ULong | getUnsignedValue () const |
returning unsigned value of an unsigned atomic type if it is one, 0 otherwise More... | |
r_Long | getSignedValue () const |
returning signed value of a signed atomic type if it is one, 0 otherwise More... | |
double | getDoubleValue () const |
returning double value if it is one, 0 otherwise More... | |
virtual void | printStatus (std::ostream &stream=std::cout) const |
print status of the object to the specified stream More... | |
![]() | |
QtScalarData () | |
default constructor More... | |
QtScalarData (const QtScalarData &obj) | |
copy constructor More... | |
virtual | ~QtScalarData () |
virtual destructor More... | |
virtual bool | equal (const QtData *obj) const |
compares data content More... | |
virtual std::string | getSpelling () const |
returns content dependent string representation More... | |
virtual QtDataType | getDataType () const |
returns data type More... | |
virtual bool | isScalarData () const |
returns true meaning that the data is of type scalar More... | |
const BaseType * | getValueType () const |
returns a pointer to the value type More... | |
void | setValueType (const BaseType *newType) |
sets the value type More... | |
const char * | getValueBuffer () const |
returns a pointer to the internal character representation More... | |
void | setValueBuffer (char *buffer) |
sets the value buffer More... | |
virtual char * | getTypeStructure () const |
returns a null-terminated string describing the type structure More... | |
![]() | |
QtData () | |
QtData (const std::string name) | |
QtData (const QtData &obj) | |
copy constructor More... | |
virtual | ~QtData () |
destructor More... | |
const QtData & | operator= (const QtData &obj) |
assignement operator More... | |
std::string const | getIteratorName () const |
get the iterator name More... | |
void | setIteratorName (const std::string &iteratorNameNew) |
QtLifetime const | getLifetime () const |
void | setLifetime (QtLifetime flag) |
unsigned int | getRefNo () const |
return number of references to the self object More... | |
void | incRef () |
increases the reference counter by one More... | |
int | deleteRef () |
deletes one reference and the object if it was the last one More... | |
ParseInfo | getParseInfo () |
void | setParseInfo (const ParseInfo &info) |
Additional Inherited Members | |
![]() | |
enum | QtLifetime { QT_PERSISTENT, QT_TRANSIENT } |
![]() | |
const BaseType * | valueType |
pointer to the value type More... | |
char * | valueBuffer |
pointer to the value buffer More... | |
![]() | |
ParseInfo * | parseInfo |
pointer to an optional parser info More... | |
QtAtomicData::QtAtomicData | ( | ) |
default constructor
QtAtomicData::QtAtomicData | ( | r_Long | value, |
unsigned short | byteLength | ||
) |
constructor getting signed integer data
QtAtomicData::QtAtomicData | ( | r_ULong | value, |
unsigned short | byteLength | ||
) |
constructor getting unsigned integer data
The value for { byteLength} specifies the type of the constant.
{tabular}{lll} 1 && OCTET\ 2 && SHORT\ 4 && LONG\ {tabular}
QtAtomicData::QtAtomicData | ( | bool | value | ) |
constructor getting boolean data
The value for { byteLength} specifies the type of the constant.
{tabular}{lll} 1 && CHAR\ 2 && USHORT\ 4 && ULONG\ {tabular}
QtAtomicData::QtAtomicData | ( | double | value, |
unsigned short | byteLength | ||
) |
constructor getting float data
QtAtomicData::QtAtomicData | ( | double | valRe, |
double | valIm, | ||
unsigned short | size | ||
) |
constructor getting complex data
The value for { byteLength} specifies the type of the constant.
{tabular}{lll} 4 && FLOAT\ 8 && DOUBLE\ {tabular}
QtAtomicData::QtAtomicData | ( | const QtAtomicData & | obj | ) |
copy constructor
|
virtual |
destructor
double QtAtomicData::getDoubleValue | ( | ) | const |
returning double value if it is one, 0 otherwise
r_Long QtAtomicData::getSignedValue | ( | ) | const |
returning signed value of a signed atomic type if it is one, 0 otherwise
r_ULong QtAtomicData::getUnsignedValue | ( | ) | const |
returning unsigned value of an unsigned atomic type if it is one, 0 otherwise
|
virtual |
print status of the object to the specified stream
Reimplemented from QtScalarData.