ATLAS Offline Software
Loading...
Searching...
No Matches
AGDDParameterStore Class Reference

#include <AGDDParameterStore.h>

Inheritance diagram for AGDDParameterStore:
Collaboration diagram for AGDDParameterStore:

Public Member Functions

 AGDDParameterStore ()
virtual ~AGDDParameterStore ()
void RegisterParameterBag (const std::string &volName, AGDDParameterBag *paraBag)
AGDDParameterBagGetParameterBag (const std::string &volName)
bool Exist (const std::string &volName) const

Public Attributes

std::string keys
 STL member.
std::string keys
 STL member.
AGDDParameterBagelements
 STL member.
AGDDParameterBagelements
 STL member.

Detailed Description

Definition at line 14 of file AGDDParameterStore.h.

Constructor & Destructor Documentation

◆ AGDDParameterStore()

AGDDParameterStore::AGDDParameterStore ( )
inline

Definition at line 16 of file AGDDParameterStore.h.

16{}

◆ ~AGDDParameterStore()

virtual AGDDParameterStore::~AGDDParameterStore ( )
inlinevirtual

Definition at line 18 of file AGDDParameterStore.h.

18{}

Member Function Documentation

◆ Exist()

bool AGDDParameterStore::Exist ( const std::string & volName) const
inline

Definition at line 33 of file AGDDParameterStore.h.

33 {
34 return ((*this).find(volName) != (*this).end());
35 }

◆ GetParameterBag()

AGDDParameterBag * AGDDParameterStore::GetParameterBag ( const std::string & volName)
inline

Definition at line 24 of file AGDDParameterStore.h.

24 {
25 if ((*this).find(volName) != (*this).end())
26 return (*this)[volName];
27 else {
28 std::cout << " Parameters for Volume "<<volName<<" not found: returning 0"<<std::endl;
29 return 0;
30 }
31 }

◆ RegisterParameterBag()

void AGDDParameterStore::RegisterParameterBag ( const std::string & volName,
AGDDParameterBag * paraBag )
inline

Definition at line 20 of file AGDDParameterStore.h.

20 {
21 (*this)[volName]=paraBag;
22 }

Member Data Documentation

◆ elements [1/2]

AGDDParameterBag * std::map< std::string, AGDDParameterBag * >::elements
inherited

STL member.

◆ elements [2/2]

AGDDParameterBag * std::map< std::string, AGDDParameterBag * >::elements
inherited

STL member.

◆ keys [1/2]

std::string std::map< std::string, AGDDParameterBag * >::keys
inherited

STL member.

◆ keys [2/2]

std::string std::map< std::string, AGDDParameterBag * >::keys
inherited

STL member.


The documentation for this class was generated from the following file: