![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
16 #ifndef POOL_DBTYPEINFO_H
17 #define POOL_DBTYPEINFO_H 1
53 typedef std::vector<const DbColumn*>
Columns;
101 static const std::string
typeName(
const std::type_info& typ);
118 #endif // POOL_DBTYPEINFO_H
static DbTypeInfo * create(const Guid &guid)
Create type information using Guid only Class must already be registered.
Columns & columns()
Modify content of the object by editing columns.
const std::string toString() const
Create string representation of the type information object.
DbTypeInfo(const Guid &guid, TypeH cl, Columns &cols)
Constructor with type id.
static DbTypeInfo * createEx(const Guid &guid, Columns &cols)
Create type information using Guid only Class must already be registered.
TypeH clazz(bool noIdScan=false) const
Access to reflection class. If not known, by default scan all types for class ID.
DbStatus i_fromString(const std::string &string_rep)
Load type information object from string representation.
static DbTypeInfo * create(const Guid &guid, Columns &cols)
Create type information using Guid only Class must already be registered.
void deleteRef() const
Releases the ownership.
std::vector< const DbColumn * > Columns
Column Container definition.
CxxUtils::CachedValue< TypeH > m_class
Reflection class.
static DbTypeInfo * create(const std::string &cl_name)
Create type information using name.
std::atomic< int > m_refCount
Reference counter.
Cached value with atomic update.
RootType TypeH
Definition of reflection class handle.
static DbTypeInfo * create(const std::string &cl_name, Columns &cols)
Create type information using name.
void destroy()
Destroy type information; to be used with extreme care.
virtual ~DbTypeInfo()
Destructor.
static DbTypeInfo * createEx(const Guid &guid)
Create type information using Guid only Class must already be registered.
DbStatus declareBase(const DbTypeInfo *pInfo)
Allow usage of base classes.
Cached value with atomic update.
static const DbTypeInfo * fromString(const std::string &string_rep)
Load type information object from string representation.
Columns m_columns
Column definitions.
This class provides a encapsulation of a GUID/UUID/CLSID/IID data structure (128 bit number).
static DbTypeInfo * regShape(const Guid &guid, const TypeH &type, Columns &cols)
try to add a new shape
const Columns & columns() const
Prepare for the case of discrete columns: Column information.
DbTypeInfo(const Guid &guid)
static const std::string typeName(const std::type_info &typ)
Access type name by type identifier from RTTI.
cl
print [x.__class__ for x in toList(dqregion.getSubRegions()) ]