| 
    Jpp
    
   | 
 
Implementation for ASCII input of objects with ROOT dictionary. More...
#include <JRootStreamer.hh>
  
 Classes | |
| struct | JDefaultHelper | 
| Default helper class for formatting.  More... | |
| struct | JHelper | 
| Helper class for user formatting.  More... | |
| struct | JHelper< vector< JAANET::physics > > | 
| Specialisation of std::vector<JAANET::physics> for reading one element at a time.  More... | |
Public Member Functions | |
| JRootReader (std::istream &in, const JEquationParameters ¶meters, const JRootDictionary_t &dictionary) | |
| Constructor.  More... | |
| const JRootDictionary_t & | getDictionary () const | 
| Get dictionary.  More... | |
| template<class T > | |
| JRootReader & | get (T &object) | 
| Read object according equation format.  More... | |
| template<class T > | |
| JRootReader & | getObject (T &object) | 
| Read object.  More... | |
| JRootReader & | get (const JRootClassReader &cls) | 
| Read ROOT class according equation format.  More... | |
| JRootReader & | getObject (const JRootClassReader &cls) | 
| Read ROOT class.  More... | |
Static Public Member Functions | |
| template<class T > | |
| static JRootReader & | getObject (JRootReader &reader, T &object) | 
| Read object.  More... | |
Protected Member Functions | |
| template<class T > | |
| JRootReader & | getObject (T &object, const JBool< true > &option) | 
| Read object.  More... | |
| template<class T > | |
| JRootReader & | getObject (T &object, const JBool< false > &option) | 
| Read object.  More... | |
| template<class JElement_t , class JAllocator_t > | |
| JRootReader & | getObject (std::vector< JElement_t, JAllocator_t > &object, const JBool< false > &option) | 
| Read object.  More... | |
Protected Attributes | |
| const JRootDictionary_t & | dictionary | 
Implementation for ASCII input of objects with ROOT dictionary.
The method JRootReader::get is compatible with equation formatting, i.e:
<key><separator><value>[<white space><value>]*<end of line>
and method JRootReader::getObject with simple formatting, i.e:
<value>[<white space><value>]*
The default format for input of std::vector<T> is
<number of elements>[<white space><value>]*
Definition at line 61 of file JRootStreamer.hh.
      
  | 
  inline | 
Constructor.
| in | input stream | 
| parameters | equation parameters | 
| dictionary | dictionary | 
Definition at line 105 of file JRootStreamer.hh.
      
  | 
  inline | 
      
  | 
  inlinestatic | 
Read object.
This method transfers the reading of the given object to the template JHelper class so that the default format can be changed through specialisation of this class.
| reader | ROOT reader | 
| object | object | 
Definition at line 138 of file JRootStreamer.hh.
      
  | 
  inline | 
Read object according equation format.
| object | object | 
Definition at line 151 of file JRootStreamer.hh.
      
  | 
  inline | 
Read object.
| object | object | 
Definition at line 164 of file JRootStreamer.hh.
      
  | 
  inline | 
Read ROOT class according equation format.
| cls | ROOT class | 
Definition at line 176 of file JRootStreamer.hh.
      
  | 
  inline | 
Read ROOT class.
| cls | ROOT class | 
Definition at line 221 of file JRootStreamer.hh.
      
  | 
  inlineprotected | 
Read object.
| object | object | 
| option | true | 
Definition at line 266 of file JRootStreamer.hh.
      
  | 
  inlineprotected | 
Read object.
| object | object | 
| option | false | 
Definition at line 282 of file JRootStreamer.hh.
      
  | 
  inlineprotected | 
Read object.
| object | object | 
| option | false | 
Definition at line 296 of file JRootStreamer.hh.
      
  | 
  protected | 
Definition at line 310 of file JRootStreamer.hh.
 1.8.5