Simple wrapper class around JROOT::JRootDictionary so that other classes could be included in this dictionary if necessary.  
 More...
#include <JTriggerDictionary.hh>
 | 
| template<class T >  | 
| void  | add () | 
|   | Addition of class and container classes.  
  | 
|   | 
| template<class T >  | 
| void  | operator() (const JType< T > &type) | 
|   | Addition of class.  
  | 
|   | 
| template<class T >  | 
| void  | operator() (const char *const name, const JType< T > &type) | 
|   | Addition of class.  
  | 
|   | 
Simple wrapper class around JROOT::JRootDictionary so that other classes could be included in this dictionary if necessary. 
Definition at line 18 of file JTriggerDictionary.hh.
 
◆ data_type
◆ JTriggerDictionary()
  
  
      
        
          | JTRIGGER::JTriggerDictionary::JTriggerDictionary  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlineprivate   | 
  
 
Default constructor. 
Definition at line 25 of file JTriggerDictionary.hh.
   25                         :
   27    {
   29    }
void add()
Addition of class and container classes.
 
JRootDictionary()
Default constructor.
 
static data_type & getInstance()
Get unique instance of template class.
 
 
 
 
◆ getInstance()
Get reference to unique instance of this class object. 
This JROOT::JRootDictionary object includes the various Monte Carlo data types.
- Returns
 - reference to this class object 
 
Definition at line 39 of file JTriggerDictionary.hh.
   40    {
   42 
   43      return dictionary;
   44    }
Simple wrapper class around JROOT::JRootDictionary so that other classes could be included in this di...
 
 
 
 
◆ add()
template<class T > 
  
  
      
        
          | void JROOT::JRootDictionary::add  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inlineinherited   | 
  
 
Addition of class and container classes. 
Definition at line 54 of file JRootDictionary.hh.
   55    {
   57 
   58      for_each<typename JTYPELIST< T, std::vector<T> >::typelist>(*this);
   59    }
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 
 
 
 
◆ operator()() [1/2]
template<class T > 
  
  
      
        
          | void JROOT::JRootDictionary::operator()  | 
          ( | 
          const JType< T > & |           type | ) | 
           | 
         
       
   | 
  
inlineinherited   | 
  
 
Addition of class. 
- Parameters
 - 
  
  
 
Definition at line 68 of file JRootDictionary.hh.
   69    {
   70      const TDictionary* pDictionary = TDictionary::GetDictionary(typeid(T));
   71 
   72      if (pDictionary != NULL)
   73        (*this)(pDictionary->GetName(), type);
   74      else
   75        THROW(JException, 
"ROOT TDictionary unknown data type.");
 
   76    }
#define THROW(JException_t, A)
Marco for throwing exception with std::ostream compatible message.
 
 
 
 
◆ operator()() [2/2]
template<class T > 
  
  
      
        
          | void JROOT::JRootDictionary::operator()  | 
          ( | 
          const char *const |           name,  | 
         
        
           | 
           | 
          const JType< T > & |           type ) | 
         
       
   | 
  
inlineinherited   | 
  
 
Addition of class. 
- Parameters
 - 
  
    | name | data name  | 
    | type | data type  | 
  
   
Definition at line 86 of file JRootDictionary.hh.
   87    {
   88      this->insert(value_type(name, new JObjectStreamer<T>()));
   89    }
 
 
 
The documentation for this class was generated from the following file: