ATLAS Offline Software
Public Types | Public Member Functions | List of all members
StoredMaterialManager Class Referenceabstract

This class holds one or more material managers and makes them storeable, under StoreGate. More...

#include <StoredMaterialManager.h>

Inheritance diagram for StoredMaterialManager:
Collaboration diagram for StoredMaterialManager:

Public Types

using MaterialMap = std::map< std::string, GeoIntrusivePtr< GeoMaterial > >
 
using MaterialMapIterator = MaterialMap::const_iterator
 

Public Member Functions

 StoredMaterialManager ()=default
 
virtual ~StoredMaterialManager ()=default
 
virtual const GeoMaterial * getMaterial (const std::string &name)=0
 
virtual const GeoElement * getElement (const std::string &name)=0
 
virtual const GeoElement * getElement (unsigned int atomicNumber)=0
 
virtual void addMaterial (const std::string &space, GeoMaterial *material)=0
 
virtual MaterialMapIterator begin () const =0
 
virtual MaterialMapIterator end () const =0
 
virtual size_t size ()=0
 
virtual std::ostream & printAll (std::ostream &o=std::cout) const =0
 

Detailed Description

This class holds one or more material managers and makes them storeable, under StoreGate.

Author
Joe Boudreau, March 2003

Definition at line 27 of file StoredMaterialManager.h.

Member Typedef Documentation

◆ MaterialMap

using StoredMaterialManager::MaterialMap = std::map<std::string, GeoIntrusivePtr<GeoMaterial> >

Definition at line 30 of file StoredMaterialManager.h.

◆ MaterialMapIterator

using StoredMaterialManager::MaterialMapIterator = MaterialMap::const_iterator

Definition at line 31 of file StoredMaterialManager.h.

Constructor & Destructor Documentation

◆ StoredMaterialManager()

StoredMaterialManager::StoredMaterialManager ( )
default

◆ ~StoredMaterialManager()

virtual StoredMaterialManager::~StoredMaterialManager ( )
virtualdefault

Member Function Documentation

◆ addMaterial()

virtual void StoredMaterialManager::addMaterial ( const std::string &  space,
GeoMaterial *  material 
)
pure virtual

Implemented in RDBMaterialManager.

◆ begin()

virtual MaterialMapIterator StoredMaterialManager::begin ( ) const
pure virtual

Implemented in RDBMaterialManager.

◆ end()

virtual MaterialMapIterator StoredMaterialManager::end ( ) const
pure virtual

Implemented in RDBMaterialManager.

◆ getElement() [1/2]

virtual const GeoElement* StoredMaterialManager::getElement ( const std::string &  name)
pure virtual

Implemented in RDBMaterialManager.

◆ getElement() [2/2]

virtual const GeoElement* StoredMaterialManager::getElement ( unsigned int  atomicNumber)
pure virtual

Implemented in RDBMaterialManager.

◆ getMaterial()

virtual const GeoMaterial* StoredMaterialManager::getMaterial ( const std::string &  name)
pure virtual

Implemented in RDBMaterialManager.

◆ printAll()

virtual std::ostream& StoredMaterialManager::printAll ( std::ostream &  o = std::cout) const
pure virtual

Implemented in RDBMaterialManager.

◆ size()

virtual size_t StoredMaterialManager::size ( )
pure virtual

Implemented in RDBMaterialManager.


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