|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TopLevelTPCnvBaseP_H
6 #define TopLevelTPCnvBaseP_H
24 template<
class TL_PERS >
virtual TPCnvTokenList_p1 * getTokenListVarFrom(void *persObj) override
Return the list of tokens to the objects extending the object NOT owned by this converter.
virtual ~TopLevelTPCnvBaseP()
virtual TPCnvTokenList_p1 * getTokenListVar() override
Return the list of tokens to the objects extending the object owned by this converter.
TL_PERS * getTLPersObject()
TopLevelTPCnvBaseP & operator=(const TopLevelTPCnvBaseP &)=delete
virtual void * getTLPersObjectAsVoid() override
virtual const void * getTLPersObjectAsVoid() const override
virtual void deleteTLPersObject() override
Delete the persistent object owned by the converter.
virtual void clearTLPersObject() override
Discard the persistent object.
virtual void setPStorage(TL_PERS *persObj)=0
A stub for a method that should be provided by the converter creator.
const TL_PERS * getTLPersObject() const
TopLevelTPCnvBaseP(const TopLevelTPCnvBaseP &)=delete
TL_PERS * releaseTLPersObject()
@release the persistent object from this converter
Base class for top-level TP converters.
TL_PERS * m_tlPersObject
The persistent object this conveter is working on.
virtual void setTLPersObject(void *persObj) override
Take ownership of the persistent object.
Defines the base class for top-level TP converters.
virtual bool hasTLPersObject() const override
Returns true if the converter has a persistent object.
virtual void createTLPersObject() override
Create persistent object - the converter keeps it.