|
ATLAS Offline Software
|
Go to the documentation of this file.
13 #ifndef POOL_DBCOLUMN_H
14 #define POOL_DBCOLUMN_H 1
88 int number_of_elements=1,
92 const std::string& clazz,
121 #endif // POOL_DBCOLUMN_H
int offset() const
Offset of column from this pointer.
bool isValid() const
Is it a valid (known) data type ?
std::string m_typeName
OS independent type name.
int m_type
Storage Type identifier.
DbStatus fromString(const std::string &string_rep)
Load type information object from string representation.
int nElement() const
Number of elements.
virtual ~DbColumn()
Standard destructor.
static const std::string typeName(int typ)
Access type name by type identifier from RTTI.
DbColumn & operator=(const DbColumn &)=default
std::string m_colName
Column name.
DbColumn(const std::string &nam, const std::string &clazz, int object_type, int object_offset)
Initializing constructor for composite columns.
const std::string & typeName() const
Access to OS independent type name.
int m_nElem
For fixed size arrays: number of object elements.
int size() const
Size of a single object within the column.
const std::string & name() const
Access to column name.
int options() const
Access to options.
int m_opts
Column options.
DbColumn(const DbColumn &)=default
Default copy constructor.
DbColumn(const std::string &column_name, int object_type, int object_offset, int object_size, int number_of_elements=1, int opt=0)
Initializing constructor for fixed size arrays.
int typeID() const
Integer type identifier.
DbColumn()
Cache class information (if available) Do not allow unwanted instantiations by users.
int m_offset
Offset from object pointer.
const std::string toString() const
Create string representation of the type information object.