ATLAS Offline Software
Loading...
Searching...
No Matches
AGDDMaterialStore.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef AGDDMaterialStore_H
6#define AGDDMaterialStore_H
7
8#include <string>
9#include <string_view>
10#include <map>
11
13class AGDDElement;
14
15
16
17typedef std::map<std::string,AGDDSimpleMaterial*, std::less<> > AGDDMaterialMap;
18typedef std::map<std::string,AGDDElement*, std::less<> > AGDDElementMap;
19
20typedef AGDDMaterialMap::const_iterator MaterialIterator;
21typedef AGDDElementMap::const_iterator ElementIterator;
22
24public:
28 AGDDSimpleMaterial* GetMaterial(std::string_view);
29 AGDDElement* GetElement(std::string_view);
30
33
38
39
40 void PrintElementNames();
41 void PrintMaterialNames();
42 void PrintElement(const std::string& n);
43 void PrintMaterial(const std::string& n);
44
45private:
48
51
52};
53
54#endif
std::map< std::string, AGDDSimpleMaterial *, std::less<> > AGDDMaterialMap
AGDDElementMap::const_iterator ElementIterator
AGDDMaterialMap::const_iterator MaterialIterator
std::map< std::string, AGDDElement *, std::less<> > AGDDElementMap
void RegisterElement(AGDDElement *)
AGDDMaterialMap m_theMaterials
ElementIterator ElementEnd()
MaterialIterator MaterialBegin()
void RegisterMaterial(AGDDSimpleMaterial *)
AGDDSimpleMaterial * GetMaterial(std::string_view)
void PrintElement(const std::string &n)
AGDDElementMap m_theElements
AGDDElement * GetElement(std::string_view)
void PrintMaterial(const std::string &n)
ElementIterator ElementBegin()
MaterialIterator MaterialEnd()