1 #ifndef GAUDIKERNEL_DATAOBJECT_H 2 #define GAUDIKERNEL_DATAOBJECT_H 20 static const CLID CLID_DataObject = 1;
34 unsigned long m_refCount = 0;
36 unsigned char m_version = 0;
56 virtual unsigned long addRef();
58 virtual unsigned long release();
60 virtual const CLID& clID()
const;
62 static const CLID& classID();
70 void setRegistry(
IRegistry* pRegistry ) { m_pRegistry = pRegistry; }
77 unsigned char version()
const {
return m_version; }
79 void setVersion(
unsigned char vsn ) { m_version = vsn; }
81 unsigned long refCount()
const {
return m_refCount; }
85 s <<
"DataObject at " <<
std::hex <<
this;
101 #endif // GAUDIKERNEL_DATAOBJECT_H
GAUDI_API void popCurrentDataObject()
The stream buffer is a small object collecting object data.
GAUDI_API DataObject * getCurrentDataObject()
IRegistry * registry() const
Get pointer to Registry.
LinkManager * linkMgr() const
Retrieve Link manager.
PropertyMgr & operator=(const PropertyMgr &)=delete
virtual std::ostream & fillStream(std::ostream &s) const
Fill the output stream (ASCII)
This class is used for returning status codes from appropriate routines.
unsigned long refCount() const
Return the refcount.
The IRegistry represents the entry door to the environment any data object residing in a transient da...
unsigned int CLID
Class ID definition.
GAUDI_API void pushCurrentDataObject(DataObject **pobjAddr)
unsigned char version() const
Retrieve version number of this object representation.
friend std::ostream & operator<<(std::ostream &s, const DataObject &obj)
Output operator (ASCII)
std::unique_ptr< LinkManager > m_pLinkMgr
Store of symbolic links.
Opaque address interface definition.
A DataObject is the base class of any identifiable object on any data store.
A LinkManager is the object aggregated into a DataObject, which is responsible for the handling of no...
Helper functions to set/get the application return code.
void setVersion(unsigned char vsn)
Set version number of this object representation.