15#include <TDirectory.h>
53 std::string
directory(
const std::string& loc );
60 std::string
convertId(
const std::string& )
const;
unsigned int CLID
Class ID definition.
const long ROOT_StorageType
Converter(long storage_type, const CLID &class_type, ISvcLocator *svc=0)
Standard Constructor.
virtual long i_repSvcType() const
Retrieve the class type of the data store the converter uses.
A DataObject is the base class of any identifiable object on any data store.
virtual ~GlobalDirectoryRestore()
Opaque address interface definition.
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
StatusCode createDiskDirectory(const std::string &loc)
std::string directory(const std::string &loc)
StatusCode createRep(DataObject *pObj, IOpaqueAddress *&refpAddr) override
Convert the transient object to the requested representation.
std::string diskDirectory(const std::string &loc)
static long storageType()
Inquire storage type.
long repSvcType() const override
StatusCode findTFile(const std::string &, TFile *&)
std::string getDirectory()
void setDirectory(const std::string &loc)
void setDiskDirectory(const std::string &loc)
StatusCode createDirectory(const std::string &loc)
StatusCode regTFile(const std::string &, const TFile *)
virtual StatusCode readObject(IOpaqueAddress *pAddr, DataObject *&refpObj)
Create the transient representation of an object.
TDirectory * changeDirectory(DataObject *pObject)
Switch to object directory (=Parent directory)
RConverter(const CLID &clid, ISvcLocator *svc)
Standard constructor.
virtual TObject * createPersistent(DataObject *pObj)
Create the persistent representation of an object.
StatusCode createAddress(DataObject *pObject, TDirectory *pDir, TObject *pTObject, IOpaqueAddress *&refpAddr)
Create address of the transient object according to the requested representation.
StatusCode error(const std::string &msg)
std::string convertId(const std::string &) const
This class is used for returning status codes from appropriate routines.