![]() |
ATLAS Offline Software
|
Definition of class DbTypeInfo. More...
#include <StorageSvc/DbTypeInfo.h>
Public Types | |
| typedef std::vector< const DbColumn * > | Columns |
| Column Container definition. | |
Public Member Functions | |
| const Guid & | typeID () const |
| Access the type identifier. | |
| Guid & | typeID () |
| void | setTypeID (const Guid &id) |
| Set the type identifier. | |
| Guid & | setTypeID (const std::string &id) |
| void | destroy () |
| Destroy type information; to be used with extreme care. | |
| void | addRef () const |
| void | deleteRef () const |
| Releases the ownership. | |
| RootType | clazz (bool noIdScan=false) const |
| Access to reflection class. If not known, by default scan all types for class ID. | |
| const Columns & | columns () const |
| Prepare for the case of discrete columns: Column information. | |
| Columns & | columns () |
| Modify content of the object by editing columns. | |
| const std::string | toString () const |
| Create string representation of the type information object. | |
| StatusCode | declareBase (const DbTypeInfo *pInfo) |
| Allow usage of base classes. | |
Static Public Member Functions | |
| static const DbTypeInfo * | create (const std::string &cl_name) |
| Create type information using name. | |
| static const DbTypeInfo * | create (const std::string &cl_name, Columns &cols) |
| Create type information using name. | |
| static const DbTypeInfo * | create (const Guid &guid) |
| Create type information using Guid only Class must already be registered. | |
| static const DbTypeInfo * | create (const Guid &guid, Columns &cols) |
| Create type information using Guid only Class must already be registered. | |
| static const DbTypeInfo * | createEx (const Guid &guid) |
| Create type information using Guid only Class must already be registered. | |
| static const DbTypeInfo * | createEx (const Guid &guid, Columns &cols) |
| Create type information using Guid only Class must already be registered. | |
| static const DbTypeInfo * | fromString (const std::string &string_rep) |
| Load type information object from string representation. | |
| static const std::string | typeName (const std::type_info &typ) |
| Access type name by type identifier from RTTI. | |
Protected Member Functions | |
| DbTypeInfo (const Guid &guid, RootType cl, Columns &cols) | |
| Constructor with type id. | |
| DbTypeInfo (const Guid &guid) | |
| ~DbTypeInfo () | |
| Destructor. | |
| StatusCode | i_fromString (const std::string &string_rep) |
| Load type information object from string representation. | |
Static Protected Member Functions | |
| static DbTypeInfo * | regShape (const Guid &guid, const RootType &type, Columns &cols) |
| try to add a new shape | |
Private Attributes | |
| std::atomic< int > | m_refCount |
| Reference counter. | |
| Guid | m_id |
| Type global identifier. | |
| Columns | m_columns |
| Column definitions. | |
| int | m_mult |
| Multiplicity. | |
| CxxUtils::CachedValue< RootType > | m_class |
| Reflection class. | |
Definition of class DbTypeInfo.
Description: Generalized persistent type information
Definition at line 31 of file DbTypeInfo.h.
| typedef std::vector<const DbColumn*> DbTypeInfo::Columns |
Column Container definition.
Definition at line 35 of file DbTypeInfo.h.
Constructor with type id.
|
protected |
Destructor.
|
inline |
Definition at line 94 of file DbTypeInfo.h.
| RootType DbTypeInfo::clazz | ( | bool | noIdScan = false | ) | const |
Access to reflection class. If not known, by default scan all types for class ID.
|
inline |
Prepare for the case of discrete columns: Column information.
Definition at line 100 of file DbTypeInfo.h.
|
static |
Create type information using Guid only Class must already be registered.
Note: Existence of reflection class is Mandatory!
|
static |
Create type information using Guid only Class must already be registered.
Note: Existence of reflection class is Mandatory!
|
static |
Create type information using name.
Note: Existence of reflection class is Mandatory!
|
static |
Create type information using name.
|
static |
Create type information using Guid only Class must already be registered.
Note: Existence of reflection class is NOT mandatory!
|
static |
Create type information using Guid only Class must already be registered.
Note: Existence of reflection class is NOT mandatory!
| StatusCode DbTypeInfo::declareBase | ( | const DbTypeInfo * | pInfo | ) |
Allow usage of base classes.
| void DbTypeInfo::deleteRef | ( | ) | const |
Releases the ownership.
|
inline |
Destroy type information; to be used with extreme care.
Definition at line 71 of file DbTypeInfo.h.
|
static |
Load type information object from string representation.
|
protected |
Load type information object from string representation.
|
staticprotected |
try to add a new shape
Definition at line 68 of file DbTypeInfo.h.
| const std::string DbTypeInfo::toString | ( | ) | const |
Create string representation of the type information object.
|
inline |
Definition at line 65 of file DbTypeInfo.h.
Access type name by type identifier from RTTI.
|
private |
Reflection class.
Definition at line 47 of file DbTypeInfo.h.
|
private |
Column definitions.
Definition at line 43 of file DbTypeInfo.h.
|
private |
Type global identifier.
Definition at line 41 of file DbTypeInfo.h.
|
private |
Multiplicity.
Definition at line 45 of file DbTypeInfo.h.
|
mutableprivate |
Reference counter.
Definition at line 39 of file DbTypeInfo.h.