30 const char* d_nam = pObj->
name().c_str() + 1;
31 if ( !gDirectory->GetKey( d_nam ) ) { gDirectory->mkdir( d_nam ); }
32 gDirectory->cd( d_nam );
#define DECLARE_CONVERTER(x)
A DataObject is the base class of any identifiable object on any data store.
const std::string & name() const
Retreive DataObject name. It is the name when registered in the store.
Opaque address interface definition.
DirectoryCnv(ISvcLocator *svc)
Standard constructor.
StatusCode createObj(IOpaqueAddress *pAddr, DataObject *&refpObj) override
Create the transient representation of an object.
StatusCode createRep(DataObject *pObj, IOpaqueAddress *&refpAddr) override
Convert the transient object to the requested representation.
TDirectory * changeDirectory(DataObject *pObject)
Switch to object directory (=Parent directory)
StatusCode createAddress(DataObject *pObject, TDirectory *pDir, TObject *pTObject, IOpaqueAddress *&refpAddr)
Create address of the transient object according to the requested representation.
This class is used for returning status codes from appropriate routines.
constexpr static const auto SUCCESS
constexpr static const auto FAILURE