ATLAS Offline Software
DbTransform.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // $Header: /cvs/PF/pool/StorageSvc/StorageSvc/DbTransform.h,v 1.5 2003/10/29 13:58:14 frankb Exp $
6 #ifndef POOL_DBTRANSFORM_H
7 #define POOL_DBTRANSFORM_H
8 
9 #include <string>
10 
11 // Framework includes
12 #include "StorageSvc/DbStatus.h"
13 
14 class Guid;
15 
16 /*
17  * pool namespace declaration
18  */
19 namespace pool {
20  class DbTypeInfo;
21 
28  class DbTransform {
29  private:
32  public:
34  static DbStatus getShape (const Guid& shape_Guid,
35  const DbTypeInfo*& shape);
37  static const DbTypeInfo* getShape(const Guid& shape_Guid, const std::string& rep);
39  static DbStatus regShape (const DbTypeInfo* shape);
40 
42  static void ownShape(const DbTypeInfo* shape);
43 
45  static DbStatus removeShape (const DbTypeInfo* shape);
46  };
47 } // End namespace pool
48 #endif // POOL_DBTRANSFORM_H
pool::DbTransform::DbTransform
DbTransform()
This class does not want to be instantiated....
Definition: DbTransform.h:31
pool::DbStatus
Definition: DbStatus.h:67
make_hlt_rep.rep
rep
Definition: make_hlt_rep.py:32
pool
pool namespace
Definition: libname.h:15
pool::DbTransform::ownShape
static void ownShape(const DbTypeInfo *shape)
keep shape until the end
pool::DbTransform::regShape
static DbStatus regShape(const DbTypeInfo *shape)
Access entry in shape registry.
pool::DbTransform::getShape
static DbStatus getShape(const Guid &shape_Guid, const DbTypeInfo *&shape)
Get the main shape matching the class GUID.
pool::DbTransform::removeShape
static DbStatus removeShape(const DbTypeInfo *shape)
Access entry in shape registry.
Guid
This class provides a encapsulation of a GUID/UUID/CLSID/IID data structure (128 bit number).
Definition: Guid.h:20
pool::DbTransform::getShape
static const DbTypeInfo * getShape(const Guid &shape_Guid, const std::string &rep)
Get the shape matching the class GUID and the exact type shape given as string rep.
pool::DbTransform
Definition: DbTransform.h:28
DbStatus.h
pool::DbTypeInfo
Definition: DbTypeInfo.h:47