Geant4-11
Public Member Functions | Private Member Functions | Private Attributes
G4AttHolder Class Reference

#include <G4AttHolder.hh>

Inheritance diagram for G4AttHolder:
SoG4LineSet SoG4MarkerSet SoG4Polyhedron

Public Member Functions

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

Private Member Functions

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

Private Attributes

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

Detailed Description

Definition at line 52 of file G4AttHolder.hh.

Constructor & Destructor Documentation

◆ G4AttHolder() [1/2]

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}
std::vector< const std::vector< G4AttValue > * > fValues
Definition: G4AttHolder.hh:74

References fValues.

◆ 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 64 of file G4AttHolder.hh.

66 {fValues.push_back(values); fDefs.push_back(defs);}
std::vector< const std::map< G4String, G4AttDef > * > fDefs
Definition: G4AttHolder.hh:75

References fDefs, and fValues.

Referenced by G4VSceneHandler::LoadAtts().

◆ GetAttDefs()

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

◆ GetAttValues()

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

◆ operator=()

G4AttHolder & G4AttHolder::operator= ( const G4AttHolder )
private

Field Documentation

◆ fDefs

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

Definition at line 75 of file G4AttHolder.hh.

Referenced by AddAtts(), and GetAttDefs().

◆ fValues

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

Definition at line 74 of file G4AttHolder.hh.

Referenced by AddAtts(), GetAttValues(), and ~G4AttHolder().


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