![]() |
The Gaudi Framework
v28r1
|
Small class which allows access to internal type IDs. More...
#include <GaudiKernel/DataTypeInfo.h>
Public Types | |
enum | Type { UNKNOWN = 0, UCHAR, USHORT, UINT, ULONG, CHAR, SHORT, INT, LONG, BOOL, FLOAT, DOUBLE, STRING, NTCHAR, OBJECT_REF, CONTAINED_REF, POINTER, OBJECT_ADDR, LONG_STRING, LONG_NTCHAR, LONGLONG, ULONGLONG } |
Static Public Member Functions | |
static Type | ID (const bool) |
Access to type information: bool. More... | |
static Type | ID (const char) |
Access to type information: char. More... | |
static Type | ID (const short) |
Access to type information: short. More... | |
static Type | ID (const int) |
Access to type information: int. More... | |
static Type | ID (const long) |
Access to type information: long. More... | |
static Type | ID (const long long) |
Access to type information: long long. More... | |
static Type | ID (const unsigned char) |
Access to type information: unsigned char. More... | |
static Type | ID (const unsigned short) |
Access to type information: unsigned short. More... | |
static Type | ID (const unsigned int) |
Access to type information: unsigned int. More... | |
static Type | ID (const unsigned long) |
Access to type information: unsigned long. More... | |
static Type | ID (const unsigned long long) |
Access to type information: unsigned long long. More... | |
static Type | ID (const float) |
Access to type information: float. More... | |
static Type | ID (const double) |
Access to type information: float. More... | |
static Type | ID (const std::string &) |
Access to type information: std::string. More... | |
static Type | ID (const char *) |
Access to type information: char* (NULL terminated) More... | |
static Type | ID (const IOpaqueAddress *) |
Access to type information: IOpaqueAddress. More... | |
static Type | ID (const void *) |
Access to type information: Pointers. More... | |
static Type | ID (const SmartRef< DataObject > &) |
Access to type information: DataObject. More... | |
static Type | ID (const SmartRef< ContainedObject > &) |
Access to type information: Contained object. More... | |
static Type | ID (const std::type_info &typ) |
Access to type information: the reverse way. More... | |
static const std::type_info & | type (long typ) |
Access to type information: the reverse way. More... | |
static long | size (long typ) |
Access to type information: the reverse way. More... | |
static long | size (const std::type_info &typ) |
Access to type information: the reverse way. More... | |
static int | copy (void *tar, const void *src, long typ, int numObj) |
Copy data. More... | |
static std::string | name (long typ) |
static std::string | name (const std::type_info &typ) |
static Type | idByName (const std::string &typ) |
Access to type information. More... | |
static const std::type_info & | typeByName (const std::string &typ) |
Access to type information. More... | |
Private Member Functions | |
DataTypeInfo () | |
Small class which allows access to internal type IDs.
Definition at line 16 of file DataTypeInfo.h.
enum DataTypeInfo::Type |
Enumerator | |
---|---|
UNKNOWN | |
UCHAR | |
USHORT | |
UINT | |
ULONG | |
CHAR | |
SHORT | |
INT | |
LONG | |
BOOL | |
FLOAT | |
DOUBLE | |
STRING | |
NTCHAR | |
OBJECT_REF | |
CONTAINED_REF | |
POINTER | |
OBJECT_ADDR | |
LONG_STRING | |
LONG_NTCHAR | |
LONGLONG | |
ULONGLONG |
Definition at line 22 of file DataTypeInfo.h.
|
inlineprivate |
Definition at line 19 of file DataTypeInfo.h.
|
inlinestatic |
Copy data.
Definition at line 217 of file DataTypeInfo.h.
|
inlinestatic |
Access to type information: bool.
Definition at line 32 of file DataTypeInfo.h.
|
inlinestatic |
Access to type information: char.
Definition at line 34 of file DataTypeInfo.h.
|
inlinestatic |
Access to type information: short.
Definition at line 36 of file DataTypeInfo.h.
|
inlinestatic |
Access to type information: int.
Definition at line 38 of file DataTypeInfo.h.
|
inlinestatic |
Access to type information: long.
Definition at line 40 of file DataTypeInfo.h.
|
inlinestatic |
Access to type information: long long.
Definition at line 42 of file DataTypeInfo.h.
|
inlinestatic |
Access to type information: unsigned char.
Definition at line 44 of file DataTypeInfo.h.
|
inlinestatic |
Access to type information: unsigned short.
Definition at line 46 of file DataTypeInfo.h.
|
inlinestatic |
Access to type information: unsigned int.
Definition at line 48 of file DataTypeInfo.h.
|
inlinestatic |
Access to type information: unsigned long.
Definition at line 50 of file DataTypeInfo.h.
|
inlinestatic |
Access to type information: unsigned long long.
Definition at line 52 of file DataTypeInfo.h.
|
inlinestatic |
Access to type information: float.
Definition at line 54 of file DataTypeInfo.h.
|
inlinestatic |
Access to type information: float.
Definition at line 56 of file DataTypeInfo.h.
|
inlinestatic |
Access to type information: std::string.
Definition at line 58 of file DataTypeInfo.h.
|
inlinestatic |
Access to type information: char* (NULL terminated)
Definition at line 60 of file DataTypeInfo.h.
|
inlinestatic |
Access to type information: IOpaqueAddress.
Definition at line 62 of file DataTypeInfo.h.
|
inlinestatic |
Access to type information: Pointers.
Definition at line 64 of file DataTypeInfo.h.
|
inlinestatic |
Access to type information: DataObject.
Definition at line 66 of file DataTypeInfo.h.
|
inlinestatic |
Access to type information: Contained object.
Definition at line 68 of file DataTypeInfo.h.
|
inlinestatic |
Access to type information: the reverse way.
Definition at line 71 of file DataTypeInfo.h.
|
static |
Access to type information.
Definition at line 24 of file DataTypeInfo.cpp.
|
static |
Definition at line 104 of file DataTypeInfo.cpp.
|
static |
Definition at line 151 of file DataTypeInfo.cpp.
|
inlinestatic |
Access to type information: the reverse way.
Definition at line 165 of file DataTypeInfo.h.
|
inlinestatic |
Access to type information: the reverse way.
Definition at line 212 of file DataTypeInfo.h.
|
inlinestatic |
Access to type information: the reverse way.
Definition at line 115 of file DataTypeInfo.h.
|
static |
Access to type information.
Definition at line 64 of file DataTypeInfo.cpp.