Geant4 10.7.0
Toolkit for the simulation of the passage of particles through matter
|
#include <G4String.hh>
Public Types | |
enum | caseCompare { exact , ignoreCase } |
enum | stripType { leading , trailing , both } |
Public Member Functions | |
G4String () | |
G4String (char) | |
G4String (const char *) | |
G4String (const char *, str_size) | |
G4String (const G4String &) | |
G4String (const std::string &) | |
G4String (G4String &&)=default | |
~G4String () | |
G4String & | operator= (const G4String &) |
G4String & | operator= (const std::string &) |
G4String & | operator= (const char *) |
G4String & | operator= (G4String &&)=default |
char | operator() (str_size) const |
char & | operator() (str_size) |
G4String & | operator+= (const char *) |
G4String & | operator+= (const std::string &) |
G4String & | operator+= (const char &) |
G4bool | operator== (const G4String &) const |
G4bool | operator== (const char *) const |
G4bool | operator!= (const G4String &) const |
G4bool | operator!= (const char *) const |
operator const char * () const | |
G4String | operator() (str_size, str_size) |
G4int | compareTo (const char *, caseCompare mode=exact) const |
G4int | compareTo (const G4String &, caseCompare mode=exact) const |
G4String & | prepend (const char *) |
G4String & | append (const G4String &) |
std::istream & | readLine (std::istream &, G4bool skipWhite=true) |
G4String & | replace (unsigned int, unsigned int, const char *, unsigned int) |
G4String & | replace (str_size, str_size, const char *) |
G4String & | remove (str_size) |
G4String & | remove (str_size, str_size) |
std::size_t | first (char) const |
std::size_t | last (char) const |
G4bool | contains (const std::string &) const |
G4bool | contains (char) const |
G4String | strip (G4int strip_Type=trailing, char c=' ') |
void | toLower () |
void | toUpper () |
G4bool | isNull () const |
str_size | index (const char *, G4int pos=0) const |
str_size | index (char, G4int pos=0) const |
str_size | index (const G4String &, str_size, str_size, caseCompare) const |
const char * | data () const |
G4int | strcasecompare (const char *, const char *) const |
unsigned int | hash (caseCompare cmp=exact) const |
unsigned int | stlhash () const |
Definition at line 52 of file G4String.hh.
Enumerator | |
---|---|
exact | |
ignoreCase |
Definition at line 57 of file G4String.hh.
enum G4String::stripType |
Enumerator | |
---|---|
leading | |
trailing | |
both |
Definition at line 62 of file G4String.hh.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinedefault |
|
inline |
Definition at line 76 of file G4String.hh.
Referenced by G4UIcommandTree::AddNewCommand(), G4CascadeParamMessenger::CreateDirectory(), G4UImessenger::CreateDirectory(), G4UIcommand::DoIt(), G4UIcommandTree::FindCommandTree(), G4UIcommandTree::FindPath(), G4CloneDaughters(), G4CreateCloneVTE(), G4CreateCloneVTEWithDivision(), G4UIGAG::GetCommand(), G4UIGainServer::GetCommand(), G4UIcsh::GetCommandLineString(), G4UItcsh::GetCommandLineString(), G4UImanager::GetCurrentStringValue(), G4tgrFileIn::GetWordsInLine(), G4UItcsh::MakePrompt(), G4VUIshell::MakePrompt(), G4UIcommandTree::RemoveCommand(), and G4GDMLEvaluator::SolveBrackets().
|
inline |
Referenced by G4VisCommandSceneHandlerCreate::SetNewValue(), and G4VisCommandsViewerSet::SetNewValue().
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by G4UImanager::ApplyCommand(), G4PhysListRegistry::DeconstructPhysListName(), G4LatticeLogical::Load_NMap(), G4LatticeLogical::LoadMap(), PG4gsdetu(), PG4gsmixt(), G4OpticalParametersMessenger::SetNewValue(), G4DNAChemistryManager::WriteInto(), and G4PhysChemIO::FormattedText::WriteInto().
|
inline |
Referenced by G4SDStructure::Activate(), G4VSceneHandler::AddCompound(), G4UIcommandTree::AddNewCommand(), G4ParticleHPThermalScatteringData::BuildPhysicsTable(), G4VLEPTSModel::BuildPhysicsTable(), G4HadronicProcess::CheckEnergyMomentumConservation(), G4XDeltaDeltastarTable::CrossSectionTable(), G4XDeltaNstarTable::CrossSectionTable(), G4XNDeltastarTable::CrossSectionTable(), G4XNNstarTable::CrossSectionTable(), G4DCIOcatalog::CurrentDCIOmanager(), G4HCIOcatalog::CurrentHCIOmanager(), G4PersistencyCenter::CurrentObject(), G4TrajectoryDrawByEncounteredVolume::Draw(), G4VScoreWriter::DumpAllQuantitiesToFile(), G4UIcommandTree::FindCommandTree(), G4UIcommandTree::FindPath(), G4SDStructure::FindSensitiveDetector(), G4AttDefStore::GetStoreKey(), G4AttValueFilterT< T, ConversionErrorPolicy >::GetValidElement(), G4BaryonWidth::MassDependentWidth(), G4UIcommandTree::RemoveCommand(), G4DNAModelInterface::SampleSecondaries(), and G4AdjointPrimaryGeneratorAction::UpdateListOfPrimaryParticles().
|
inline |
Referenced by G4UImanager::ApplyCommand(), G4VBasicShell::Complete(), G4UItcsh::CompleteCommand(), G4UIcommandTree::CompleteCommandPath(), G4UIcommand::DoIt(), G4VBasicShell::FindCommand(), G4UIcommandTree::FindCommandTree(), G4VBasicShell::FindDirectory(), G4UIcommandTree::FindPath(), G4UIArrayString::G4UIArrayString(), G4VUIshell::GetAbsCommandDirPath(), G4DCtable::GetCollectionID(), G4HCtable::GetCollectionID(), G4VUIshell::GetCommandTree(), G4VUIshell::ListCommand(), G4VBasicShell::ModifyToFullPathCommand(), G4UImanager::ParseMacroSearchPath(), G4RunManager::RestoreRandomNumberStatus(), G4UImanager::SetAlias(), G4UImanager::SolveAlias(), and G4VBasicShell::TerminalHelp().
|
inline |
|
inline |
Referenced by G4SDStructure::Activate(), G4UIcommandTree::AddNewCommand(), G4SDStructure::AddNewDetector(), G4UImanager::ApplyCommand(), G4UIcommand::CheckNewValue(), G4UIparameter::CheckNewValue(), G4UIcommand::DoIt(), G4TrajectoryDrawByAttribute::Draw(), G4UImanager::GetCurrentStringValue(), G4UIcommand::List(), G4UIparameter::List(), G4VBasicShell::ModifyToFullPathCommand(), G4FilecoutDestination::Open(), G4UIcommandTree::RemoveCommand(), G4UIcontrolMessenger::SetNewValue(), G4VisCommandModelCreate< Factory >::SetNewValue(), G4VisCommandSetTouchable::SetNewValue(), G4ProcessTableMessenger::SetNewValue(), G4PolarizationMessenger::SetNewValue(), G4VUserPhysicsList::SetPhysicsTableRetrieved(), G4VBasicShell::ShowCurrent(), G4TextPPReporter::SparseOption(), G4TextPPRetriever::SparseOption(), and G4VUserPhysicsList::StorePhysicsTable().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by G3CLRead(), G4UIGAG::GetCommand(), G4UIGainServer::GetCommand(), and G4UIcsh::GetCommandLineString().
Referenced by G4SDStructure::Activate(), G4UIcommandTree::AddNewCommand(), G4SDStructure::AddNewDetector(), G4UImanager::ApplyCommand(), G4UItcsh::CompleteCommand(), G4UIcommandTree::CompleteCommandPath(), G4UIcommandTree::FindCommandTree(), G4UIcommandTree::FindPath(), G4SDStructure::FindSensitiveDetector(), G4SDStructure::G4SDStructure(), G4VSensitiveDetector::G4VSensitiveDetector(), G4VUIshell::GetAbsCommandDirPath(), G4UIGAG::GetCommand(), G4UIGainServer::GetCommand(), G4UIcsh::GetCommandLineString(), G4UItcsh::GetCommandLineString(), G4UItcsh::ListMatchedCommand(), G4AdjointTrackingAction::PostUserTrackingAction(), G4AdjointSimManager::RegisterAtEndOfAdjointTrack(), G4UIcommandTree::RemoveCommand(), and G4GDMLRead::Strip().
|
inline |
|
inline |
|
inline |
Referenced by G4XXXFileSceneHandler::AddSolid(), G4XXXSGSceneHandler::AddSolid(), G4XXXStoredSceneHandler::AddSolid(), G4VBasicShell::ApplyShellCommand(), G4VBasicShell::ChangeDirectory(), G4VBasicShell::ChangeDirectoryCommand(), G4VBasicShell::Complete(), G4UItcsh::CompleteCommand(), G4ConversionUtils::Convert(), G4VBasicShell::FindCommand(), G4VBasicShell::FindDirectory(), G4UIArrayString::G4UIArrayString(), G4UItcsh::G4UItcsh(), G4VisCommandSceneHandlerCreate::G4VisCommandSceneHandlerCreate(), G4VViewer::G4VViewer(), G4UIGAG::GetCommand(), G4UIGainServer::GetCommand(), G4UIcsh::GetCommandLineString(), G4VUIshell::GetCommandTree(), G4VUIshell::ListCommand(), G4VBasicShell::ListDirectory(), G4UItcsh::ListMatchedCommand(), G4RadioactiveDecay::LoadDecayTable(), G4RadioactiveDecayBase::LoadDecayTable(), G4VBasicShell::ModifyToFullPathCommand(), G4UImanager::RemoveAlias(), G4VViewer::SetName(), G4VisCommandViewerClone::SetNewValue(), G4VisCommandViewerCreate::SetNewValue(), G4AttCheck::Standard(), G4VBasicShell::TerminalHelp(), and G4VisManager::ViewerShortName().
|
inline |
Referenced by G4Colour::AddToMap(), G4HnMessenger::G4HnMessenger(), G4UIExecutive::G4UIExecutive(), G4Colour::GetColour(), G4BaseFileManager::GetFileType(), G4VisManager::GetVerbosityValue(), G4LatticeReader::ReadMapInfo(), G4VisFilterManager< T >::SetMode(), and G4INCLXXInterfaceMessenger::SetNewValue().
|
inline |
Referenced by G4UIcommand::ConvertToBool(), and G4UImessenger::StoB().