39 for(
int i=0;i<
int(DClist.size());i++)
40 {
if(DClist[i]==DCname && DMlist[i]==DMname)
return -1; }
41 DClist.push_back(DCname);
42 DMlist.push_back(DMname);
49 if(DCname.
index(
"/")==std::string::npos)
51 for(
int j=0;j<
int(DClist.size());j++)
62 for(
int j=0;j<
int(DClist.size());j++)
82 <<
"> does not have a registered digits collection."
89 <<
"> has more than one registered digits collections."
91 G4cerr <<
"Candidates are : ";
97 for(
size_t k=0;k<DMlist.size();k++)
98 {
if(DMlist[k]==aDM->
GetName())
return k; }
G4int GetNumberOfCollections() const
str_size index(const char *, G4int pos=0) const
typedef int(XMLCALL *XML_NotStandaloneHandler)(void *userData)
G4int Registor(G4String SDname, G4String DCname)
G4String GetCollectionName(G4int i) const
G4int GetCollectionID(G4String DCname) const
G4GLOB_DLL std::ostream G4cerr