40 {
if(
DClist[i]==DCname &&
DMlist[i]==DMname)
return -1; }
49 if(DCname.
index(
"/")==std::string::npos)
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++)
G4int Registor(G4String SDname, G4String DCname)
G4int GetCollectionID(G4String DCname) const
str_size index(const char *, G4int pos=0) const
typedef int(XMLCALL *XML_NotStandaloneHandler)(void *userData)
G4String GetCollectionName(G4int i) const
G4GLOB_DLL std::ostream G4cerr
std::vector< G4String > DMlist
std::vector< G4String > DClist
G4int GetNumberOfCollections() const