ATLAS Offline Software
Loading...
Searching...
No Matches
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
14class Guid;
15
16/*
17 * pool namespace declaration
18 */
19namespace pool {
20 class DbTypeInfo;
21
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
This class provides a encapsulation of a GUID/UUID/CLSID/IID data structure (128 bit number).
Definition Guid.h:25
This class is highly inspired by the error code distribution system as it is used in DEC/VMS or MS/WN...
Definition DbStatus.h:64
static DbStatus regShape(const DbTypeInfo *shape)
Access entry in shape registry.
static DbStatus getShape(const Guid &shape_Guid, const DbTypeInfo *&shape)
Get the main shape matching the class GUID.
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.
static DbStatus removeShape(const DbTypeInfo *shape)
Access entry in shape registry.
static void ownShape(const DbTypeInfo *shape)
keep shape until the end
DbTransform()
This class does not want to be instantiated....
Definition DbTransform.h:31
Definition of class DbTypeInfo.
Definition DbTypeInfo.h:47
pool namespace
Definition libname.h:15