![]() |
ATLAS Offline Software
|
This class provides the interface to the ROOT software. More...
#include <IRootSvc.h>
Public Member Functions | |
| virtual | ~IRootSvc () |
| DeclareInterfaceID (IRootSvc, 1, 0) | |
| Declare interface ID. More... | |
| virtual StatusCode | open (const std::string &fname, const std::string &mode)=0 |
Open the file fname with open mode mode More... | |
| virtual StatusCode | connect (const std::string &fname)=0 |
Connect the file fname to the service. More... | |
| virtual StatusCode | commitOutput ()=0 |
| Commit data and flush buffer. More... | |
| virtual StatusCode | disconnect (const std::string &fname)=0 |
Disconnect the file fname from the service. More... | |
| virtual Athena::RootConnection * | connection (const std::string &fname)=0 |
Get the RootConnection associated with file fname More... | |
| virtual RootType | getType (const std::type_info &type) const =0 |
| virtual void * | readObject (const Token &token, void *&pObj)=0 |
| Read object from Root. More... | |
| virtual const Token * | writeObject (const Placement &placement, const RootType &type, const void *pObj)=0 |
| Write object of a given class to Root. More... | |
| virtual void * | createObject (const RootType &type) const =0 |
Create an object of a given RootType. More... | |
| virtual void | destructObject (const RootType &type, void *pObj) const =0 |
Destruct a given object of type RootType. More... | |
This class provides the interface to the ROOT software.
Definition at line 32 of file IRootSvc.h.
|
virtual |
Definition at line 17 of file IRootSvc.cxx.
|
pure virtual |
Commit data and flush buffer.
|
pure virtual |
Connect the file fname to the service.
|
pure virtual |
Get the RootConnection associated with file fname
Create an object of a given RootType.
| IRootSvc::DeclareInterfaceID | ( | IRootSvc | , |
| 1 | , | ||
| 0 | |||
| ) |
Declare interface ID.
Destruct a given object of type RootType.
|
pure virtual |
Disconnect the file fname from the service.
RootType-base interface Load the type (dictionary) from Root.
|
pure virtual |
Open the file fname with open mode mode
Read object from Root.
|
pure virtual |
Write object of a given class to Root.
1.8.18