| # Gaudi Framework, version v25r0 |

Home |  | Generated: Mon Feb 17 2014

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
INTupleSvc.h
Go to the documentation of this file.
1 #ifndef GAUDIKERNEL_INTUPLESVC_H
2 #define GAUDIKERNEL_INTUPLESVC_H
3
4 // Framework include files
5 #include "GaudiKernel/IDataProviderSvc.h"
6 #include "GaudiKernel/ClassID.h"
7
8
9 // Forward declarations
10 namespace NTuple {
11 class Tuple;
12 class Directory;
13 }
14
37 class GAUDI_API INTupleSvc: virtual public IDataProviderSvc {
38 public:
40 DeclareInterfaceID(INTupleSvc,2,0);
42 virtual StatusCode create(const CLID& typ, const std::string& title, NTuple::Tuple*& refpTuple) = 0;
52 virtual NTuple::Tuple* book (const std::string& fullPath, const CLID& type, const std::string& title) = 0;
64 virtual NTuple::Tuple* book (const std::string& dirPath, const std::string& relPath, const CLID& type, const std::string& title) = 0;
75 virtual NTuple::Tuple* book (const std::string& dirPath, long id, const CLID& type, const std::string& title) = 0;
87 virtual NTuple::Tuple* book (DataObject* pParent, const std::string& relPath, const CLID& type, const std::string& title) = 0;
97 virtual NTuple::Tuple* book (DataObject* pParent, long id, const CLID& type, const std::string& title) = 0;
105 virtual NTuple::Directory* createDirectory (DataObject* pParent, const std::string& title) = 0;
113 virtual NTuple::Directory* createDirectory (DataObject* pParent, long id) = 0;
121 virtual NTuple::Directory* createDirectory (const std::string& dirPath, long id) = 0;
129 virtual NTuple::Directory* createDirectory (const std::string& dirPath, const std::string& title) = 0;
134 virtual NTuple::Directory* createDirectory (const std::string& fullPath) = 0;
140 virtual NTuple::Tuple* access(const std::string& fullPath, const std::string& filename) = 0;
141
146 virtual StatusCode save(const std::string& fullPath) = 0;
147
152 virtual StatusCode save(NTuple::Tuple* tuple) = 0;
153
160 virtual StatusCode save(DataObject* pParent, const std::string& relPath) = 0;
161
166 virtual StatusCode writeRecord( NTuple::Tuple* tuple) = 0;
167
172 virtual StatusCode writeRecord(const std::string& fullPath) = 0;
173
180 virtual StatusCode writeRecord( DataObject* pParent, const std::string& relPath) = 0;
181
186 virtual StatusCode readRecord(NTuple::Tuple* tuple) = 0;
187
192 virtual StatusCode readRecord(const std::string& fullPath) = 0;
193
200 virtual StatusCode readRecord(DataObject* pParent, const std::string& relPath) = 0;
201
203 virtual ~INTupleSvc() {}
204 };
205
206 #endif // INTERFACES_INTUPLESVC_H