2 #ifndef GAUDIKERNEL_DATAOBJECT_H
3 #define GAUDIKERNEL_DATAOBJECT_H
6 #include "GaudiKernel/ClassID.h"
7 #include "GaudiKernel/StatusCode.h"
21 static const CLID CLID_DataObject = 1;
34 unsigned long m_refCount;
36 unsigned char m_version;
50 virtual unsigned long addRef();
52 virtual unsigned long release();
54 virtual const CLID& clID()
const;
56 static const CLID& classID();
58 const std::string& name()
const;
66 m_pRegistry = pRegistry;
77 unsigned char version()
const {
81 void setVersion(
unsigned char vsn) {
85 unsigned long refCount()
const {
89 virtual std::ostream& fillStream( std::ostream&
s )
const {
90 s <<
"DataObject at " << std::hex <<
this;
109 #endif // GAUDIKERNEL_DATAOBJECT_H
std::ostream & operator<<(std::ostream &str, const GaudiAlg::ID &id)
Operator overloading for ostream.
GAUDI_API void popCurrentDataObject()
The stream buffer is a small object collecting object data.
GAUDI_API DataObject * getCurrentDataObject()
virtual std::ostream & fillStream(std::ostream &s) const
Fill the output stream (ASCII)
This class is used for returning status codes from appropriate routines.
The IRegistry represents the entry door to the environment any data object residing in a transient da...
GAUDI_API void pushCurrentDataObject(DataObject **pobjAddr)
unsigned int CLID
Class ID definition.
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.