Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4AttHolder Class Reference

#include <G4AttHolder.hh>

+ Inheritance diagram for G4AttHolder:

Public Member Functions

 G4AttHolder ()
 
 ~G4AttHolder ()
 
const std::vector< const std::vector< G4AttValue > * > & GetAttValues () const
 
const std::vector< const std::map< G4String, G4AttDef > * > & GetAttDefs () const
 
void AddAtts (const std::vector< G4AttValue > *values, const std::map< G4String, G4AttDef > *defs)
 

Detailed Description

Definition at line 52 of file G4AttHolder.hh.

Constructor & Destructor Documentation

◆ G4AttHolder()

G4AttHolder::G4AttHolder ( )
inline

Definition at line 56 of file G4AttHolder.hh.

56{}

◆ ~G4AttHolder()

G4AttHolder::~G4AttHolder ( )

Definition at line 33 of file G4AttHolder.cc.

34{
35 for (size_t i = 0; i < fValues.size(); ++i) delete fValues[i];
36}

Member Function Documentation

◆ AddAtts()

void G4AttHolder::AddAtts ( const std::vector< G4AttValue > *  values,
const std::map< G4String, G4AttDef > *  defs 
)
inline

Definition at line 64 of file G4AttHolder.hh.

66 {fValues.push_back(values); fDefs.push_back(defs);}

Referenced by G4VSceneHandler::LoadAtts().

◆ GetAttDefs()

const std::vector< const std::map< G4String, G4AttDef > * > & G4AttHolder::GetAttDefs ( ) const
inline

Definition at line 61 of file G4AttHolder.hh.

62 {return fDefs;}

◆ GetAttValues()

const std::vector< const std::vector< G4AttValue > * > & G4AttHolder::GetAttValues ( ) const
inline

Definition at line 59 of file G4AttHolder.hh.

60 {return fValues;}

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