Auxiliary class for ROOT class selection.  
 More...
#include <JROOTClassSelector.hh>
Auxiliary class for ROOT class selection. 
Definition at line 91 of file JROOTClassSelector.hh.
 
◆ JROOTClassSelection() [1/3]
  
  
      
        
          | JROOT::JROOTClassSelection::JROOTClassSelection  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ JROOTClassSelection() [2/3]
◆ JROOTClassSelection() [3/3]
template<class T > 
  
  
      
        
          | JROOT::JROOTClassSelection::JROOTClassSelection  | 
          ( | 
          const JType< T > &  | 
          typelist | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ operator()() [1/2]
template<class T > 
  
  
      
        
          | void JROOT::JROOTClassSelection::operator()  | 
          ( | 
          const JType< T > &  | 
          type | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
 
◆ operator()() [2/2]
template<class T > 
  
  
      
        
          | bool JROOT::JROOTClassSelection::operator()  | 
          ( | 
          const JType< T > &  | 
          type | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Get status of given data type. 
- Parameters
 - 
  
  
 
- Returns
 - true if valid class name; else false 
 
Definition at line 142 of file JROOTClassSelector.hh.
 
 
◆ operator>>
Read ROOT class selection from input. 
Note that if the first character of the read class name is:
- '+' the remainder of the class name is added; or
 
- '-' the remainder of the class name is removed; otherwise
 
- the complete class name is added.
 
- Parameters
 - 
  
    | in | input stream  | 
    | object | ROOT class selection  | 
  
   
- Returns
 - input stream 
 
Definition at line 160 of file JROOTClassSelector.hh.
  162       for (std::string buffer; in >> buffer; ) {
 
  164         const TRegexp regexp(buffer.substr(1).c_str());
 
  170           for (JROOTClassSelection::iterator i = 
object.begin(); i != 
object.end(); ) {
 
  172             if (TString(i->c_str()).Index(regexp) != -1)
 
  182           object.insert(buffer.substr(1));
 
  187           object.insert(buffer);
 
 
 
 
◆ operator<<
Write ROOT class selection to output. 
- Parameters
 - 
  
    | out | output stream  | 
    | object | ROOT class selection  | 
  
   
- Returns
 - output stream 
 
Definition at line 203 of file JROOTClassSelector.hh.
  205       for (const_iterator i = 
object.begin(); i != 
object.end(); ++i) {
 
  206         out << *i << std::endl;
 
 
 
 
The documentation for this struct was generated from the following file: