Geant4
10.02.p02
|
#include <G4AttCheck.hh>
Public Member Functions | |
G4AttCheck (const std::vector< G4AttValue > *values, const std::map< G4String, G4AttDef > *definitions) | |
~G4AttCheck () | |
const std::vector< G4AttValue > * | GetAttValues () const |
const std::map< G4String, G4AttDef > * | GetAttDefs () const |
G4bool | Check (const G4String &leader="") const |
G4bool | Standard (std::vector< G4AttValue > *standardValues, std::map< G4String, G4AttDef > *standardDefinitions) const |
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::vector< G4AttValue > * | fpValues |
const std::map< G4String, G4AttDef > * | fpDefinitions |
Static Private Attributes | |
static G4ThreadLocal G4bool | fFirst = true |
static G4ThreadLocal std::set < G4String > * | fUnitCategories = 0 |
static G4ThreadLocal std::map < G4String, G4String > * | fStandardUnits = 0 |
static G4ThreadLocal std::set < G4String > * | fCategories = 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 57 of file G4AttCheck.hh.
G4AttCheck::G4AttCheck | ( | const std::vector< G4AttValue > * | values, |
const std::map< G4String, G4AttDef > * | definitions | ||
) |
Definition at line 52 of file G4AttCheck.cc.
References G4UnitDefinition::GetUnitsTable(), and lightions::Init().
G4AttCheck::~G4AttCheck | ( | ) |
Definition at line 110 of file G4AttCheck.cc.
|
private |
Definition at line 332 of file G4AttCheck.cc.
References fpDefinitions, and name.
Referenced by Standard().
Definition at line 123 of file G4AttCheck.cc.
References error, fCategories, fpDefinitions, fpValues, fUnits, fValueTypes, G4cerr, G4endl, G4ThreadLocal, and print().
Referenced by G4XXXStoredSceneHandler::PreAddSolid().
Definition at line 71 of file G4AttCheck.hh.
References fpDefinitions.
|
inline |
Definition at line 67 of file G4AttCheck.hh.
References fpValues.
|
private |
Definition at line 114 of file G4AttCheck.cc.
References fCategories, fStandardUnits, fUnitCategories, fUnits, and fValueTypes.
G4bool G4AttCheck::Standard | ( | std::vector< G4AttValue > * | standardValues, |
std::map< G4String, G4AttDef > * | standardDefinitions | ||
) | const |
Definition at line 351 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(), and G4String::strip().
Referenced by G4XXXStoredSceneHandler::PreAddSolid().
|
friend |
Definition at line 249 of file G4AttCheck.cc.
|
staticprivate |
Definition at line 106 of file G4AttCheck.hh.
Referenced by Check(), Init(), operator<<(), and Standard().
|
staticprivate |
Definition at line 103 of file G4AttCheck.hh.
Definition at line 101 of file G4AttCheck.hh.
Referenced by AddValuesAndDefs(), Check(), GetAttDefs(), operator<<(), and Standard().
|
private |
Definition at line 100 of file G4AttCheck.hh.
Referenced by Check(), GetAttValues(), operator<<(), and Standard().
|
staticprivate |
Definition at line 105 of file G4AttCheck.hh.
Referenced by Init().
|
staticprivate |
Definition at line 104 of file G4AttCheck.hh.
Referenced by Init(), and Standard().
|
staticprivate |
Definition at line 107 of file G4AttCheck.hh.
Referenced by Check(), Init(), operator<<(), and Standard().
|
staticprivate |
Definition at line 108 of file G4AttCheck.hh.
Referenced by Check(), Init(), operator<<(), and Standard().