#include <DataType.h>
|
enum | Type {
NONE = 0x0,
UNKNOWN = 0x0,
UCHAR = 0x1,
CHAR = 0x2,
BOOL = 0x4,
USHORT = 0x8,
SHORT = 0x10,
UINT = 0x20,
INT = 0x40,
ULONG = 0x80,
LONG = 0x100,
FLOAT = 0x200,
DOUBLE = 0x400,
DATE = 0x800,
COMPLEX_FLOAT = 0x1000,
STRING = 0x2000
} |
|
|
| DataType () |
|
| DataType (bool b) |
|
| DataType (unsigned char uc) |
|
| DataType (char ch) |
|
| DataType (unsigned short us) |
|
| DataType (short s) |
|
| DataType (unsigned int ui) |
|
| DataType (int i) |
|
| DataType (unsigned long ul) |
|
| DataType (long l) |
|
| DataType (float f) |
|
| DataType (double d) |
|
| DataType (gcp::util::RegDate date) |
|
| DataType (gcp::util::Complex< float > cf) |
|
virtual | ~DataType () |
|
void | convertToTypeOf (RegMapBlock *blk) |
|
double | getValAsDouble () |
|
void | operator= (bool b) |
|
void | operator= (unsigned char uc) |
|
void | operator= (char ch) |
|
void | operator= (unsigned short us) |
|
void | operator= (short s) |
|
void | operator= (unsigned int ui) |
|
void | operator= (int i) |
|
void | operator= (unsigned long ul) |
|
void | operator= (long l) |
|
void | operator= (float f) |
|
void | operator= (double d) |
|
void | operator= (gcp::util::RegDate date) |
|
void | operator= (gcp::util::Complex< float > cf) |
|
void | operator= (bool *b) |
|
void | operator= (unsigned char *uc) |
|
void | operator= (char *ch) |
|
void | operator= (unsigned short *us) |
|
void | operator= (short *s) |
|
void | operator= (unsigned int *ui) |
|
void | operator= (int *i) |
|
void | operator= (unsigned long *ul) |
|
void | operator= (long *l) |
|
void | operator= (float *f) |
|
void | operator= (double *d) |
|
void | operator= (gcp::util::RegDate *date) |
|
void | operator= (gcp::util::Complex< float > *cf) |
|
void | operator= (DataType &dataType) |
|
void | operator= (const DataType &dataType) |
|
void | operator-= (DataType &dataType) |
|
bool | operator== (DataType &dataType) |
|
bool | operator> (DataType &dataType) |
|
bool | operator>= (DataType &dataType) |
|
bool | operator< (DataType &dataType) |
|
bool | operator<= (DataType &dataType) |
|
void | operator++ () |
|
void | convertToAbs () |
|
void * | data () |
|
void | checkType (DataType &dataType) |
|
|
static unsigned | sizeOf (Type type) |
|
static unsigned | sizeOf (RegMapBlock *blk) |
|
static Type | typeOf (RegMapBlock *blk) |
|
static Type | typeOf (bool *obj) |
|
static Type | typeOf (unsigned char *obj) |
|
static Type | typeOf (char *obj) |
|
static Type | typeOf (unsigned short *obj) |
|
static Type | typeOf (short *obj) |
|
static Type | typeOf (unsigned int *obj) |
|
static Type | typeOf (int *obj) |
|
static Type | typeOf (unsigned long *obj) |
|
static Type | typeOf (long *obj) |
|
static Type | typeOf (float *obj) |
|
static Type | typeOf (double *obj) |
|
static Type | typeOf (gcp::util::RegDate *obj) |
|
static Type | typeOf (gcp::util::Complex< float > *obj) |
|
static Type | typeOf (gcp::util::RegDate::Data *obj) |
|
static Type | typeOf (gcp::util::Complex< float >::Data *obj) |
|
|
union { |
bool b |
|
unsigned char uc |
|
char c |
|
unsigned short us |
|
short s |
|
unsigned int ui |
|
int i |
|
unsigned long ul |
|
long l |
|
float f |
|
double d |
|
gcp::util::RegDate::Data date |
|
gcp::util::Complex< float >::Data cf |
|
} | data_ |
|
Type | type_ |
|
bool | isArray_ |
|
void * | ptr_ |
|
|
std::ostream & | operator<< (std::ostream &os, DataType &dataType) |
|
std::ostream & | operator<< (std::ostream &os, DataType::Type &type) |
|
....................................................................... Constructor.
....................................................................... Destructor.
void * DataType::data |
( |
| ) |
|
Return a void ptr to the data for this data type
void DataType::operator++ |
( |
| ) |
|
....................................................................... If this data type object is storing an array, increment to the next element in the array, else do nothing.
void DataType::operator= |
( |
bool |
b | ) |
|
Assignment operators
....................................................................... Assignment operators
void DataType::operator= |
( |
bool * |
b | ) |
|
Assignment operators for pointers
unsigned DataType::sizeOf |
( |
Type |
type | ) |
|
|
static |
Return the size, in bytes, of the requested type
....................................................................... Return the size, in bytes, of the requested type
unsigned DataType::sizeOf |
( |
RegMapBlock * |
blk | ) |
|
|
static |
Return the size, in bytes, of the type given in RegFlags specification
....................................................................... Return the size, in bytes, of a register block
DataType::Type DataType::typeOf |
( |
RegMapBlock * |
blk | ) |
|
|
static |
Return the data type of a block
....................................................................... Return the datatype of a register block
The documentation for this class was generated from the following files:
- gcpCbass/util/common/DataType.h
- gcpCbass/antenna/control/cbass/DataType.cc