76      if(!fgTypesPtr.compare_exchange_strong(
expected,tmp)) {
 
   83   return fgTypesPtr ? *fgTypesPtr : *(fgTypesPtr = 
new Types());
 
 
   93   if (fgTypesPtr != 0) { 
delete fgTypesPtr.load(); fgTypesPtr = 0; }
 
   95   if (fgTypesPtr != 0) { 
delete fgTypesPtr; fgTypesPtr = 0; }
 
 
  106   std::map<TString, EMVA>::const_iterator it = fStr2type.find( 
methodname );
 
  107   if (it != fStr2type.end()) {
 
  110            << 
" to the name->type map because it exists already" << 
Endl;
 
 
  126   std::map<TString, EMVA>::const_iterator it = fStr2type.find( 
method );
 
  127   if (it == fStr2type.end()) {
 
  128      Log() << kFATAL << 
"Unknown method in map: " << 
method << 
Endl;
 
  131   else return it->second;
 
 
  141   std::map<TString, EMVA>::const_iterator it = fStr2type.begin();
 
  142   for (; it!=fStr2type.end(); ++it) 
if (it->second == 
method) 
return it->first;
 
  143   Log() << kFATAL << 
"Unknown method index in map: " << 
method << 
Endl;
 
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
 
static std::mutex gTypesMutex
 
ostringstream derivative to redirect and format output
 
Singleton class for Global types used by TMVA.
 
static void DestroyInstance()
"destructor" of the single instance
 
static std::atomic< Types * > fgTypesPtr
 
TString GetMethodName(Types::EMVA method) const
 
static Types & Instance()
The single instance of "Types" if existing already, or create it (Singleton)
 
Bool_t AddTypeMapping(Types::EMVA method, const TString &methodname)
 
Types::EMVA GetMethodType(const TString &method) const
returns the method type (enum) for a given method (string)
 
MsgLogger & Endl(MsgLogger &ml)