Geant4
10.02.p02
|
#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 G4SubString &) | |
G4String (const std::string &) | |
~G4String () | |
G4String & | operator= (const G4String &) |
G4String & | operator= (const std::string &) |
G4String & | operator= (const char *) |
char | operator() (str_size) const |
char & | operator() (str_size) |
G4String & | operator+= (const G4SubString &) |
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 | |
G4SubString | 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) |
G4int | first (char) const |
G4int | 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 |
Private Types | |
typedef std::string | std_string |
Private Attributes | |
int | dummy |
Definition at line 45 of file G4String.hh.
|
private |
Definition at line 106 of file G4String.hh.
Enumerator | |
---|---|
exact | |
ignoreCase |
Definition at line 110 of file G4String.hh.
enum G4String::stripType |
Enumerator | |
---|---|
leading | |
trailing | |
both |
Definition at line 111 of file G4String.hh.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 120 of file G4String.hh.
Referenced by G4UIcommandTree::AddNewCommand(), G4UIGAG::CodeGenTclTree(), G4CascadeParamMessenger::CreateDirectory(), G4UImessenger::CreateDirectory(), G4UIcommand::DoIt(), G4UIcommandTree::FindCommandTree(), G4UIcommandTree::FindPath(), G4XmlNtupleManager::FinishTNtuple(), G4CloneDaughters(), G4CreateCloneVTE(), G4CreateCloneVTEWithDivision(), G4UIGAG::GetCommand(), G4UIGainServer::GetCommand(), G4UIcsh::GetCommandLineString(), G4UItcsh::GetCommandLineString(), G4UImanager::GetCurrentStringValue(), G4BaseFileManager::GetFullFileName(), G4UIGAG::GetFullPath(), G4UIGainServer::GetFullPath(), G4XmlAnalysisReader::GetHandler(), G4BaseFileManager::GetHnFileName(), G4BaseFileManager::GetNtupleFileName(), G4BaseFileManager::GetPlotFileName(), G4tgrFileIn::GetWordsInLine(), main(), G4VUIshell::MakePrompt(), G4UItcsh::MakePrompt(), G4UIcommandTree::RemoveCommand(), G4UIGAG::SendAParamProperty(), G4UIGainServer::SendAParamProperty(), G4UIGAG::SendATclParamProperty(), G4PlotMessenger::SetLayoutCmd(), G4GDMLEvaluator::SolveBrackets(), G4BaseFileManager::TakeOffExtension(), and G4VAnalysisManager::WriteAscii().
|
inline |
Referenced by G4VisCommandsViewerSet::SetNewValue(), and G4VisCommandSceneHandlerCreate::SetNewValue().
|
inline |
|
inline |
Referenced by G4GDMLParser::ExportRegions(), G4GDMLWrite::GenerateName(), G3VolTableEntry::GetMasterClone(), G4GDMLParser::ImportRegions(), G4AdjointTrackingAction::PreUserTrackingAction(), and G4ProcessTableMessenger::SetNumberOfProcessType().
|
inline |
|
inline |
Referenced by G4UImanager::ApplyCommand(), DicomHandler::CheckFileFormat(), G4PhysListRegistry::DeconstructPhysListName(), GetValues(), G4LatticeLogical::Load_NMap(), G4LatticeLogical::LoadMap(), PG4gsdetu(), PG4gsmixt(), G4OpticalPhysicsMessenger::SetNewValue(), G4UIparameter::TypeCheck(), G4DNAChemistryManager::WriteInto(), G4UIparameter::Yylex(), and G4UIcommand::Yylex().
|
inline |
Referenced by G4SDStructure::Activate(), G4VSceneHandler::AddCompound(), G4UIcommandTree::AddNewCommand(), CCalSensAssign::assign(), G4VLEPTSModel::BuildPhysicsTable(), G4ParticleHPThermalScatteringData::BuildPhysicsTable(), G4ParticleHPThermalScattering::buildPhysicsTable(), G4HadronicProcess::CheckEnergyMomentumConservation(), G4XDeltaNstarTable::CrossSectionTable(), G4XNNstarTable::CrossSectionTable(), G4XDeltaDeltastarTable::CrossSectionTable(), G4XNDeltastarTable::CrossSectionTable(), G4PSHitsModel::DescribeYourselfTo(), G4GDMLReadStructure::DivisionvolRead(), G4VScoreWriter::DumpAllQuantitiesToFile(), Run::EndOfRun(), G4SDStructure::ExtractDirName(), G4UIcommandTree::FindCommandTree(), G4UIcommandTree::FindPath(), G4SDStructure::FindSensitiveDetector(), G4tgbGeometryDumper::FindSolidName(), G4tgbGeometryDumper::GetIsotopeName(), G3VolTableEntry::GetMasterClone(), G4tgbGeometryDumper::GetObjectName(), G4AttDefStore::GetStoreKey(), G4AttValueFilterT< T, ConversionErrorPolicy >::GetValidElement(), G4tgbGeometryDumper::LookForExistingRotation(), G4BaryonWidth::MassDependentWidth(), G4MoleculeIterator< MOLECULE >::Name(), operator<<(), G4GDMLReadStructure::PhysvolRead(), G4DNAPARSER::CommandLineParser::PrintHelp(), G4UIcommandTree::RemoveCommand(), G4GDMLReadStructure::ReplicaRead(), G4HumanPhantomEventAction::totalEventEnergyDeposit(), G4HumanPhantomRunAction::totalRunEnergyDeposit(), and G4AdjointPrimaryGeneratorAction::UpdateListOfPrimaryParticles().
|
inline |
Referenced by G4UImanager::ApplyCommand(), G4VBasicShell::Complete(), G4UItcsh::CompleteCommand(), G4UIcommandTree::CompleteCommandPath(), G4UIcommandTree::CreateFileName(), G4UIcommand::DoIt(), G4UIterminal::ExecuteCommand(), G4VBasicShell::FindCommand(), G4UIcommandTree::FindCommandTree(), G4VBasicShell::FindDirectory(), G4UImanager::FindDirectory(), G4UIGAG::FindDirPath(), G4UIGainServer::FindDirPath(), G4UIcommandTree::FindPath(), G4UIArrayString::G4UIArrayString(), G4VUIshell::GetAbsCommandDirPath(), G4HCtable::GetCollectionID(), G4DCtable::GetCollectionID(), G4VUIshell::GetCommandTree(), G4VUIshell::ListCommand(), G4VBasicShell::ModifyToFullPathCommand(), G4UImanager::ParseMacroSearchPath(), G4RunManager::RestoreRandomNumberStatus(), G4UImanager::SetAlias(), G4UImanager::SolveAlias(), G4UIGAG::TerminalHelp(), G4VBasicShell::TerminalHelp(), and G4UIGainServer::TerminalHelp().
|
inline |
|
inline |
Referenced by G4SDStructure::Activate(), G4UIcommandTree::AddNewCommand(), G4SDStructure::AddNewDetector(), G4UImanager::ApplyCommand(), G4UIparameter::CheckNewValue(), G4UIcommand::CheckNewValue(), G4UIcommand::DoIt(), G4TrajectoryDrawByAttribute::Draw(), G4UImanager::GetCurrentStringValue(), GetValues(), G4ParticleGunMessenger::IonCommand(), G4GeneralParticleSourceMessenger::IonCommand(), G4ParticleGunMessenger::IonLevelCommand(), G4GeneralParticleSourceMessenger::IonLvlCommand(), G4UIparameter::List(), G4UIcommand::List(), G4VBasicShell::ModifyToFullPathCommand(), G4VisListManager< T >::Print(), G4VisFilterManager< T >::Print(), G4UIcommandTree::RemoveCommand(), G4VisCommandModelCreate< Factory >::SetNewValue(), G4PolarizationMessenger::SetNewValue(), G4ProcessTableMessenger::SetNewValue(), DMXParticleSourceMessenger::SetNewValue(), G4UIcontrolMessenger::SetNewValue(), G4VUserPhysicsList::SetPhysicsTableRetrieved(), G4VBasicShell::ShowCurrent(), G4UIGAG::ShowCurrent(), G4UIGainServer::ShowCurrent(), G4TextPPReporter::SparseOption(), G4HtmlPPReporter::SparseOption(), G4TextPPRetriever::SparseOption(), and G4VUserPhysicsList::StorePhysicsTable().
|
inline |
Referenced by G4UItcsh::CompleteCommand(), G4UIcommandTree::CompleteCommandPath(), G4SDStructure::G4SDStructure(), G4VSensitiveDetector::G4VSensitiveDetector(), G4VUIshell::GetAbsCommandDirPath(), G4UItcsh::ListMatchedCommand(), G4UIGAG::ModifyPrefix(), G4UIGainServer::ModifyPrefix(), and G4LatticeReader::OpenFile().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by G4SDManager::Activate(), G4SDStructure::AddNewDetector(), G4SDManager::AddNewDetector(), G4CascadeParamMessenger::CreateDirectory(), G4SDManager::FindSensitiveDetector(), G4VSensitiveDetector::G4VSensitiveDetector(), G4UIGAG::TerminalHelp(), and G4UIGainServer::TerminalHelp().
|
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(), G4SDStructure::ExtractDirName(), G4UIcommandTree::FindCommandTree(), G4UIcommandTree::FindPath(), G4SDStructure::FindSensitiveDetector(), G4SDStructure::G4SDStructure(), G4VSensitiveDetector::G4VSensitiveDetector(), G4VUIshell::GetAbsCommandDirPath(), G4MPIsession::GetCommand(), G4UIGAG::GetCommand(), G4UIterminal::GetCommand(), G4UIGainServer::GetCommand(), G4UIcsh::GetCommandLineString(), G4UItcsh::GetCommandLineString(), G4UItcsh::ListMatchedCommand(), G4AdjointTrackingAction::PostUserTrackingAction(), G4AdjointSimManager::RegisterAtEndOfAdjointTrack(), G4UIcommandTree::RemoveCommand(), G4GDMLRead::Strip(), and G4GDMLRead::StripName().
|
inline |
Referenced by G4VMPIsession::BypassCommand(), G4MPIbatch::ReadCommand(), and G4UIbatch::ReadCommand().
|
inline |
|
inline |
Referenced by G4VBasicShell::ApplyShellCommand(), G4VBasicShell::ChangeDirectory(), G4UIGAG::ChangeDirectory(), G4UIGainServer::ChangeDirectory(), G4VBasicShell::ChangeDirectoryCommand(), G4VBasicShell::Complete(), G4UItcsh::CompleteCommand(), F04DetectorConstruction::ConstructDetector(), G4ConversionUtils::Convert(), G4VBasicShell::FindCommand(), G4VBasicShell::FindDirectory(), G4UImanager::FindDirectory(), G4gsmate(), G4UIArrayString::G4UIArrayString(), G4UItcsh::G4UItcsh(), G4VisCommandSceneHandlerCreate::G4VisCommandSceneHandlerCreate(), G4VViewer::G4VViewer(), G4MPIsession::GetCommand(), G4UIGAG::GetCommand(), G4UIterminal::GetCommand(), G4UIGainServer::GetCommand(), G4UIcsh::GetCommandLineString(), G4VUIshell::GetCommandTree(), G4UIGAG::GetFullPath(), G4UIGainServer::GetFullPath(), G4RIsotopeTable::GetMeanLifeTime(), GetValues(), G4VUIshell::ListCommand(), G4UIGAG::ListDirectory(), G4VBasicShell::ListDirectory(), G4UIGainServer::ListDirectory(), G4UItcsh::ListMatchedCommand(), G4RadioactiveDecay::LoadDecayTable(), G4VBasicShell::ModifyToFullPathCommand(), G4MPIbatch::ReadCommand(), G4UIbatch::ReadCommand(), readName(), G4UImanager::RemoveAlias(), G4UIExecutive::SelectSessionByFile(), G4VViewer::SetName(), G4VisCommandViewerClone::SetNewValue(), G4VisCommandViewerCreate::SetNewValue(), G4AttCheck::Standard(), G4UIGAG::TerminalHelp(), G4VBasicShell::TerminalHelp(), G4UIGainServer::TerminalHelp(), and G4VisManager::ViewerShortName().
|
inline |
Referenced by G4Colour::AddToMap(), G4HnMessenger::G4HnMessenger(), G4UIExecutive::G4UIExecutive(), G4Colour::GetColour(), G4BaseFileManager::GetFileType(), G4VisManager::GetVerbosityValue(), G4LatticeReader::ReadMapInfo(), G4UIExecutive::SelectSessionByFile(), G4VisFilterManager< T >::SetMode(), G4INCLXXInterfaceMessenger::SetNewValue(), and G4AnalysisMessengerHelper::Update().
|
inline |
Referenced by G4UIcommand::ConvertToBool(), G4UImessenger::StoB(), G4UIparameter::TypeCheck(), and G4AnalysisMessengerHelper::Update().
|
private |
Definition at line 47 of file G4String.hh.