|
ATLAS Offline Software
|
Go to the documentation of this file.
13 #ifndef POOL_DBTOKEN_H
14 #define POOL_DBTOKEN_H 1
95 #endif // POOL_DBTOKEN_H
const Guid & contKey() const
Access to user key #1.
void setKeyEx(int which, const Guid &guid)
Copy the key.
static void makeKey(const Token *tok, int which, Guid &guid)
Produce the token keys only on demand for export.
Guid m_keyFull
Buffer to hold user key identifying full token.
void addTypeSetting(int val)
Add type setting.
const DbTypeInfo * typeInfo() const
Access type information.
Guid m_contKey
Buffer to hold user key #1.
Db objects: DbToken, DbToken.h, POOLCore/DbToken.h.
DbToken()
Standard constructor.
This class provides a token that identifies in a unique way objects on the persistent storage.
Token & setType(int t)
Set token type.
void setTypeInfo(const DbTypeInfo *t)
Update type information.
virtual bool equal(const Token &pTok) const
Fast token comparison: operator equal.
void setUserKey(int i, const Guid &guid)
Set a user key.
bool isLocal() const
Access local flag.
std::vector< Guid > m_ukeys
Optional other user keys.
int type() const
Access token type.
const DbTypeInfo * m_info
Database type information cache.
virtual bool less(const Token &pTok) const
Fast token comparison: operator less.
This class provides a encapsulation of a GUID/UUID/CLSID/IID data structure (128 bit number).
const Guid & fullKey() const
Access to user key identifying full token.
void setLocal(bool val)
Set local flag.
This file contains the class definition for the Token class (migrated from POOL).
void removeTypeSetting(int val)
Add type setting.
const Guid & userkey(int i) const
Access to optional user keys #2.
bool m_local
Flag to indicate if toekn is local or foreign.
void setKey(int which)
Produce the keys only on demand.