Geant4  10.01.p02
G4VisListManager< T > Class Template Reference

#include <G4VisListManager.hh>

Public Member Functions

 G4VisListManager ()
 
virtual ~G4VisListManager ()
 
void Register (T *ptr)
 
void SetCurrent (const G4String &name)
 
const T * Current () const
 
const std::map< G4String, T * > & Map () const
 
void Print (std::ostream &ostr, const G4String &name="") const
 

Private Attributes

std::map< G4String, T * > fMap
 
T * fpCurrent
 

Detailed Description

template<typename T>
class G4VisListManager< T >

Definition at line 43 of file G4VisListManager.hh.

Constructor & Destructor Documentation

template<typename T >
G4VisListManager< T >::G4VisListManager ( )

Definition at line 73 of file G4VisListManager.hh.

template<typename T >
G4VisListManager< T >::~G4VisListManager ( )
virtual

Definition at line 78 of file G4VisListManager.hh.

Member Function Documentation

template<typename T>
const T* G4VisListManager< T >::Current ( ) const
inline

Definition at line 58 of file G4VisListManager.hh.

References G4VisListManager< T >::fpCurrent.

Referenced by G4VisManager::PrintAvailableModels().

+ Here is the caller graph for this function:

template<typename T >
const std::map< G4String, T * > & G4VisListManager< T >::Map ( ) const

Definition at line 149 of file G4VisListManager.hh.

Referenced by G4VisManager::PrintAvailableModels().

+ Here is the caller graph for this function:

template<typename T >
void G4VisListManager< T >::Print ( std::ostream &  ostr,
const G4String name = "" 
) const

Definition at line 117 of file G4VisListManager.hh.

References G4cout, and G4String::isNull().

+ Here is the call graph for this function:

template<typename T >
void G4VisListManager< T >::Register ( T *  ptr)

Definition at line 90 of file G4VisListManager.hh.

template<typename T >
void G4VisListManager< T >::SetCurrent ( const G4String name)

Definition at line 101 of file G4VisListManager.hh.

References G4Exception(), and JustWarning.

+ Here is the call graph for this function:

Member Data Documentation

template<typename T>
std::map<G4String, T*> G4VisListManager< T >::fMap
private

Definition at line 67 of file G4VisListManager.hh.

template<typename T>
T* G4VisListManager< T >::fpCurrent
private

Definition at line 68 of file G4VisListManager.hh.

Referenced by G4VisListManager< T >::Current().


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