Geant4 11.2.2
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 ()=default
 
 ~G4AttHolder ()
 
 G4AttHolder (const G4AttHolder &)=delete
 
G4AttHolderoperator= (const G4AttHolder &)=delete
 
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() [1/2]

G4AttHolder::G4AttHolder ( )
default

◆ ~G4AttHolder()

G4AttHolder::~G4AttHolder ( )

Definition at line 33 of file G4AttHolder.cc.

34{
35 for (auto & fValue : fValues) delete fValue;
36}

◆ G4AttHolder() [2/2]

G4AttHolder::G4AttHolder ( const G4AttHolder & )
delete

Member Function Documentation

◆ AddAtts()

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

Definition at line 66 of file G4AttHolder.hh.

68 {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

◆ GetAttValues()

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

◆ operator=()

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

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