| The Gaudi Framework v29r1 (5cd95fa2)

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

- File List
- File Members

IFileCatalogMgr.h
Go to the documentation of this file.
1 #ifndef GAUDIFILECATALOG_IFILECATALOGMGR_H
2 #define GAUDIFILECATALOG_IFILECATALOGMGR_H
3 // $ID:$
4
5 #include "GaudiKernel/IInterface.h"
6 #include <string>
7 #include <vector>
8
9 /*
10 * Gaudi namespace declaration
11 */
12 namespace Gaudi
13 {
14
15 // Forward declarations
16 class IFileCatalog;
17
27 class GAUDI_API IFileCatalogMgr : virtual public IInterface
28 {
29 public:
31 DeclareInterfaceID( IFileCatalogMgr, 2, 0 );
32
34 typedef std::vector<IFileCatalog*> Catalogs;
35
37 virtual IFileCatalog* findCatalog( const std::string& connect, bool must_be_writable ) const = 0;
40 virtual void addCatalog( const std::string& connect ) = 0;
42 virtual void addCatalog( IFileCatalog* cat ) = 0;
44 virtual void removeCatalog( const std::string& connect ) = 0;
46 virtual void removeCatalog( const IFileCatalog* cat ) = 0;
48 virtual Catalogs& catalogs() = 0;
50 virtual const Catalogs& catalogs() const = 0;
52 virtual IFileCatalog* writeCatalog( const std::string& fid = "" ) const = 0;
54 virtual void setWriteCatalog( IFileCatalog* cat ) = 0;
56 virtual void setWriteCatalog( const std::string& connect ) = 0;
57 };
58 } /* End namespace Gaudi */
59 #endif /* GAUDIFILECATALOG_IFILECATALOGMGR_H */
Gaudi::IFileCatalogMgr::Catalogs
std::vector< IFileCatalog * > Catalogs
Public type definitions.
Definition: IFileCatalogMgr.h:34
std::string
STL class.
DeclareInterfaceID
#define DeclareInterfaceID(iface, major, minor)
Macro to declare the interface ID when using the new mechanism of extending and implementing interfac...
Definition: IInterface.h:13
IInterface
Definition of the basic interface.
Definition: IInterface.h:277
Gaudi::IFileCatalog
File catalog interface.
Definition: IFileCatalog.h:25
std::vector< IFileCatalog * >
Gaudi::IFileCatalogMgr
File catalog manager.
Definition: IFileCatalogMgr.h:27
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:110
IInterface.h
Gaudi
Helper functions to set/get the application return code.
Definition: __init__.py:1