Geant4-11
|
#include <G4AttCheck.hh>
Public Member Functions | |
G4bool | Check (const G4String &leader="") const |
G4AttCheck (const std::vector< G4AttValue > *values, const std::map< G4String, G4AttDef > *definitions) | |
const std::map< G4String, G4AttDef > * | GetAttDefs () const |
const std::vector< G4AttValue > * | GetAttValues () const |
G4bool | Standard (std::vector< G4AttValue > *standardValues, std::map< G4String, G4AttDef > *standardDefinitions) const |
~G4AttCheck () | |
Private Member Functions | |
void | AddValuesAndDefs (std::vector< G4AttValue > *newValues, std::map< G4String, G4AttDef > *newDefinitions, const G4String &oldName, const G4String &name, const G4String &value, const G4String &extra, const G4String &description="") const |
void | Init () |
Private Attributes | |
const std::map< G4String, G4AttDef > * | fpDefinitions |
const std::vector< G4AttValue > * | fpValues |
Static Private Attributes | |
static G4ThreadLocal std::set< G4String > * | fCategories = 0 |
static G4ThreadLocal G4bool | fFirst = true |
static G4ThreadLocal std::map< G4String, G4String > * | fStandardUnits = 0 |
static G4ThreadLocal std::set< G4String > * | fUnitCategories = 0 |
static G4ThreadLocal std::set< G4String > * | fUnits = 0 |
static G4ThreadLocal std::set< G4String > * | fValueTypes = 0 |
Friends | |
std::ostream & | operator<< (std::ostream &, const G4AttCheck &) |
Definition at line 56 of file G4AttCheck.hh.
G4AttCheck::G4AttCheck | ( | const std::vector< G4AttValue > * | values, |
const std::map< G4String, G4AttDef > * | definitions | ||
) |
Definition at line 50 of file G4AttCheck.cc.
References fCategories, fFirst, fUnitCategories, fUnits, fValueTypes, G4UnitDefinition::GetUnitsTable(), and Init().
G4AttCheck::~G4AttCheck | ( | ) |
Definition at line 109 of file G4AttCheck.cc.
|
private |
Definition at line 330 of file G4AttCheck.cc.
References fpDefinitions, and G4InuclParticleNames::name().
Referenced by Standard().
Definition at line 122 of file G4AttCheck.cc.
References error, fCategories, fpDefinitions, fpValues, fUnits, fValueTypes, G4cerr, G4endl, G4ThreadLocal, and print().
Referenced by G4TrajectoriesModelDebugG4AttValues().
Definition at line 70 of file G4AttCheck.hh.
References fpDefinitions.
|
inline |
|
private |
Definition at line 113 of file G4AttCheck.cc.
References fCategories, fStandardUnits, fUnitCategories, fUnits, and fValueTypes.
Referenced by G4AttCheck().
G4bool G4AttCheck::Standard | ( | std::vector< G4AttValue > * | standardValues, |
std::map< G4String, G4AttDef > * | standardDefinitions | ||
) | const |
Definition at line 349 of file G4AttCheck.cc.
References AddValuesAndDefs(), G4UIcommand::ConvertTo3Vector(), G4UIcommand::ConvertToDimensioned3Vector(), G4UIcommand::ConvertToDimensionedDouble(), G4UIcommand::ConvertToString(), error, fCategories, fpDefinitions, fpValues, fUnitCategories, fUnits, fValueTypes, G4cerr, G4endl, G4UnitDefinition::GetCategory(), G4UnitDefinition::GetValueOf(), G4StrUtil::strip_copy(), CLHEP::Hep3Vector::x(), CLHEP::Hep3Vector::y(), and CLHEP::Hep3Vector::z().
Referenced by G4HepRepFileSceneHandler::AddCompound(), and G4TrajectoriesModelDebugG4AttValues().
|
friend |
Definition at line 248 of file G4AttCheck.cc.
|
staticprivate |
Definition at line 105 of file G4AttCheck.hh.
Referenced by Check(), G4AttCheck(), Init(), and Standard().
|
staticprivate |
Definition at line 102 of file G4AttCheck.hh.
Referenced by G4AttCheck().
Definition at line 100 of file G4AttCheck.hh.
Referenced by AddValuesAndDefs(), Check(), GetAttDefs(), and Standard().
|
private |
Definition at line 99 of file G4AttCheck.hh.
Referenced by Check(), GetAttValues(), and Standard().
|
staticprivate |
Definition at line 104 of file G4AttCheck.hh.
Referenced by Init().
|
staticprivate |
Definition at line 103 of file G4AttCheck.hh.
Referenced by G4AttCheck(), Init(), and Standard().
|
staticprivate |
Definition at line 106 of file G4AttCheck.hh.
Referenced by Check(), G4AttCheck(), Init(), and Standard().
|
staticprivate |
Definition at line 107 of file G4AttCheck.hh.
Referenced by Check(), G4AttCheck(), Init(), and Standard().