ATLAS Offline Software
DbReflex.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 // $Id: DbReflex.h 601961 2014-06-16 14:49:09Z mnowak $
6 //====================================================================
7 // DbDatabase and related class definitions
8 //--------------------------------------------------------------------
9 //
10 // Package : StorageSvc (The POOL project)
11 // @author M.Frank
12 //====================================================================
13 #ifndef POOL_DBREFLEX_H
14 #define POOL_DBREFLEX_H
15 
16 // Framework include files
18 #include "DataModelRoot/RootType.h"
19 
20 // C++ include files
21 #include <string>
22 #include <vector>
23 #include <typeinfo>
24 #include <set>
25 
26 /*
27  * POOL namespace declaration
28  */
29 namespace pool {
30  typedef RootType TypeH;
31 
40  class DbReflex {
41  private:
43  DbReflex() {}
45  ~DbReflex() {}
46  public:
48 
52  static const TypeH forTypeName(const std::string& name);
53 
55 
59  static const TypeH forTypeInfo(const std::type_info& info);
60 
62 
66  static const TypeH forGuid(const Guid& info);
67 
69 
73  static std::string fullTypeName(const TypeH& type);
74 
76 
80  static Guid guid(const TypeH& id);
81  };
82 } // End namespace pool
83 #endif // POOL_DBREFLEX_H
grepfile.info
info
Definition: grepfile.py:38
pool
pool namespace
Definition: libname.h:15
pool::DbReflex::forGuid
static const TypeH forGuid(const Guid &info)
Access classes by Guid.
pool::DbReflex::~DbReflex
~DbReflex()
No public destruction.
Definition: DbReflex.h:45
pool::DbReflex::fullTypeName
static std::string fullTypeName(const TypeH &type)
Access full class name with scope.
pool::DbReflex
Definition: DbReflex.h:40
pool::DbReflex::forTypeInfo
static const TypeH forTypeInfo(const std::type_info &info)
Access classes by RTTI type information.
pool::DbReflex::DbReflex
DbReflex()
No public construction.
Definition: DbReflex.h:43
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
Guid
This class provides a encapsulation of a GUID/UUID/CLSID/IID data structure (128 bit number).
Definition: Guid.h:20
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
RootType.h
pool::DbReflex::forTypeName
static const TypeH forTypeName(const std::string &name)
Access classes by class name.
Guid.h
This file contains the class definition for the Guid class (migrated from POOL).
pool::TypeH
RootType TypeH
Definition: DbReflex.h:30
TScopeAdapter
Definition: RootType.h:119
pool::DbReflex::guid
static Guid guid(const TypeH &id)
Determine Guid (normalized string form) from reflection type.