ATLAS Offline Software
Loading...
Searching...
No Matches
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
19
20// C++ include files
21#include <string>
22#include <vector>
23#include <typeinfo>
24#include <set>
25
26/*
27 * POOL namespace declaration
28 */
29namespace pool {
30 typedef RootType TypeH;
31
40 class DbReflex {
41 private:
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
This file contains the class definition for the Guid class (migrated from POOL).
TTypeAdapter RootType
Definition RootType.h:211
static const TypeH forGuid(const Guid &info)
Access classes by Guid.
static const TypeH forTypeName(const std::string &name)
Access classes by class name.
static const TypeH forTypeInfo(const std::type_info &info)
Access classes by RTTI type information.
DbReflex()
No public construction.
Definition DbReflex.h:43
static std::string fullTypeName(const TypeH &type)
Access full class name with scope.
static Guid guid(const TypeH &id)
Determine Guid (normalized string form) from reflection type.
~DbReflex()
No public destruction.
Definition DbReflex.h:45
pool namespace
Definition libname.h:15
RootType TypeH
Definition DbReflex.h:30