Geant4  10.02.p03
G4AttHolder Class Reference

#include <G4AttHolder.hh>

Inheritance diagram for G4AttHolder:
Collaboration 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)
 

Private Member Functions

 G4AttHolder (const G4AttHolder &)
 
G4AttHolderoperator= (const G4AttHolder &)
 

Private Attributes

std::vector< const std::vector< G4AttValue > * > fValues
 
std::vector< const std::map< G4String, G4AttDef > * > fDefs
 

Detailed Description

Definition at line 53 of file G4AttHolder.hh.

Constructor & Destructor Documentation

◆ G4AttHolder() [1/2]

G4AttHolder::G4AttHolder ( )
inline

Definition at line 57 of file G4AttHolder.hh.

57 {}
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~G4AttHolder()

G4AttHolder::~G4AttHolder ( )

Definition at line 34 of file G4AttHolder.cc.

35 {
36  for (size_t i = 0; i < fValues.size(); ++i) delete fValues[i];
37 }
std::vector< const std::vector< G4AttValue > * > fValues
Definition: G4AttHolder.hh:75
Here is the caller graph for this function:

◆ G4AttHolder() [2/2]

G4AttHolder::G4AttHolder ( const G4AttHolder )
private

Member Function Documentation

◆ AddAtts()

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

Definition at line 65 of file G4AttHolder.hh.

67  {fValues.push_back(values); fDefs.push_back(defs);}
std::vector< const std::vector< G4AttValue > * > fValues
Definition: G4AttHolder.hh:75
std::vector< const std::map< G4String, G4AttDef > * > fDefs
Definition: G4AttHolder.hh:76
Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetAttDefs()

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

Definition at line 62 of file G4AttHolder.hh.

63  {return fDefs;}
std::vector< const std::map< G4String, G4AttDef > * > fDefs
Definition: G4AttHolder.hh:76
Here is the caller graph for this function:

◆ GetAttValues()

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

Definition at line 60 of file G4AttHolder.hh.

61  {return fValues;}
std::vector< const std::vector< G4AttValue > * > fValues
Definition: G4AttHolder.hh:75
Here is the caller graph for this function:

◆ operator=()

G4AttHolder& G4AttHolder::operator= ( const G4AttHolder )
private
Here is the caller graph for this function:

Member Data Documentation

◆ fDefs

std::vector<const std::map<G4String,G4AttDef>*> G4AttHolder::fDefs
private

Definition at line 76 of file G4AttHolder.hh.

◆ fValues

std::vector<const std::vector<G4AttValue>*> G4AttHolder::fValues
private

Definition at line 75 of file G4AttHolder.hh.


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