ATLAS Offline Software
Loading...
Searching...
No Matches
AGDDSection.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef AGDDSection_H
6#define AGDDSection_H
7
8class AGDDVolume;
10
11#include <string>
12#include <map>
13
14typedef std::map<std::string, AGDDVolume*> volumeList;
15typedef volumeList::const_iterator volumeIterator;
16
18public:
19 AGDDSection(const std::string&, const std::string&, const std::string&,
20 const std::string&, const std::string&,
22 bool buildFlag=true);
23 void AddVolume(AGDDVolume*);
24 AGDDVolume* GetVolume(const std::string&);
26 void Name(const std::string& n) {m_name=n;}
27 void Version(const std::string& n) {m_version=n;}
28 void Author(const std::string& n) {m_author=n;}
29 void Date(const std::string& n) {m_date=n;}
30 void TopVolume(const std::string& n) {m_topVolume=n;}
31 const std::string& Name() const {return m_name;}
32 const std::string& Version() const {return m_version;}
33 const std::string& Author() const {return m_author;}
34 const std::string& Date() const {return m_date;}
35 const std::string& TopVolume() const {return m_topVolume;}
36 bool IsToBeBuilt() const {return m_toBeBuilt;}
39 void Print();
40private:
41 std::string m_name;
42 std::string m_version;
43 std::string m_author;
44 std::string m_date;
45 std::string m_topVolume;
47
49};
50
51#endif
std::map< std::string, AGDDVolume * > volumeList
Definition AGDDSection.h:14
volumeList::const_iterator volumeIterator
Definition AGDDSection.h:15
static Double_t ss
std::string m_author
Definition AGDDSection.h:43
void TopVolume(const std::string &n)
Definition AGDDSection.h:30
std::string m_version
Definition AGDDSection.h:42
void Date(const std::string &n)
Definition AGDDSection.h:29
std::string m_name
Definition AGDDSection.h:41
void Version(const std::string &n)
Definition AGDDSection.h:27
AGDDVolume * GetVolume(const std::string &)
void AddVolume(AGDDVolume *)
void Register(AGDDSectionStore &ss)
volumeList m_theVolumes
Definition AGDDSection.h:48
void Name(const std::string &n)
Definition AGDDSection.h:26
bool IsToBeBuilt() const
Definition AGDDSection.h:36
const std::string & TopVolume() const
Definition AGDDSection.h:35
std::string m_date
Definition AGDDSection.h:44
const std::string & Name() const
Definition AGDDSection.h:31
volumeIterator VolumeBegin()
Definition AGDDSection.h:37
AGDDSection(const std::string &, const std::string &, const std::string &, const std::string &, const std::string &, AGDDSectionStore &ss, bool buildFlag=true)
volumeIterator VolumeEnd()
Definition AGDDSection.h:38
std::string m_topVolume
Definition AGDDSection.h:45
bool m_toBeBuilt
Definition AGDDSection.h:46
const std::string & Version() const
Definition AGDDSection.h:32
const std::string & Author() const
Definition AGDDSection.h:33
const std::string & Date() const
Definition AGDDSection.h:34
void Author(const std::string &n)
Definition AGDDSection.h:28