38 for(
int i=0;i<int(DClist.size());i++)
39 {
if(DClist[i]==DCname && DMlist[i]==DMname)
return -1; }
40 DClist.push_back(DCname);
41 DMlist.push_back(DMname);
48 if(DCname.
index(
"/")==std::string::npos)
50 for(
int j=0;j<int(DClist.size());j++)
61 for(
int j=0;j<int(DClist.size());j++)
81 <<
"> does not have a registered digits collection."
88 <<
"> has more than one registered digits collections."
90 G4cerr <<
"Candidates are : ";
96 for(
size_t k=0;k<DMlist.size();k++)
97 {
if(DMlist[k]==aDM->
GetName())
return k; }
G4GLOB_DLL std::ostream G4cerr
G4int Registor(G4String SDname, G4String DCname)
G4int GetCollectionID(G4String DCname) const
str_size index(const char *, G4int pos=0) const
G4int GetNumberOfCollections() const
G4String GetCollectionName(G4int i) const