| 
    Jpp
    
   | 
 
Implementation for ASCII output 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 writing only first element.  More... | |
Public Member Functions | |
| JRootWriter (std::ostream &out, const JEquationParameters ¶meters, const JRootDictionary_t &dictionary) | |
| Constructor.  More... | |
| const JRootDictionary_t & | getDictionary () const | 
| Get dictictionary.  More... | |
| template<class T > | |
| JRootWriter & | put (const T &object) | 
| Write object according equation format.  More... | |
| template<class T > | |
| JRootWriter & | putObject (const T &object) | 
| Write object.  More... | |
| JRootWriter & | put (const std::string &prefix, const JRootClassWriter &cls, bool eol) | 
| ROOT class output.  More... | |
| JRootWriter & | putObject (const JRootClassWriter &cls) | 
| ROOT class output.  More... | |
| template<class T > | |
| JRootWriter & | put (const std::string &key, const T &value) | 
| Write given key and value according equation format.  More... | |
| template<class T > | |
| JRootWriter & | put (const std::string &key, const T &value, const JBool< true > option) | 
| Write given key and value according equation format.  More... | |
| template<class T > | |
| JRootWriter & | put (const std::string &key, const T &value, const JBool< false > option) | 
| Write given key and value according equation format.  More... | |
| template<class JElement_t , class JAllocator_t > | |
| JRootWriter & | put (const std::string &key, const std::vector< JElement_t, JAllocator_t > &value, const JBool< false > option) | 
| Write given key and value according equation format.  More... | |
| template<class T > | |
| JRootWriter & | putObject (const T &object, const JBool< true > &option) | 
| Write object.  More... | |
| template<class T > | |
| JRootWriter & | putObject (const T &object, const JBool< false > &option) | 
| Write object.  More... | |
| template<class JElement_t , class JAllocator_t > | |
| JRootWriter & | putObject (const std::vector< JElement_t, JAllocator_t > &object, const JBool< false > option) | 
| Write object.  More... | |
Static Public Member Functions | |
| template<class T > | |
| static JRootWriter & | putObject (JRootWriter &writer, const T &object) | 
| Write object.  More... | |
| template<class T > | |
| static JRootWriter & | put (JRootWriter &writer, const std::string &key, const T &value) | 
| Write given key and value according equation format.  More... | |
Public Attributes | |
| const JRootDictionary_t & | dictionary | 
Implementation for ASCII output of objects with ROOT dictionary.
The method JRootReader::put is compatible with equation formatting, i.e:
<key><separator><value>[<white space><value>]*<end of line>
and method JRootReader::putObject 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 329 of file JRootStreamer.hh.
      
  | 
  inline | 
Constructor.
| out | output stream | 
| parameters | equation parameters | 
| dictionary | dictionary | 
Definition at line 387 of file JRootStreamer.hh.
      
  | 
  inline | 
      
  | 
  inlinestatic | 
Write object.
This method transfers the writing of the given object to the template JHelper class so that the default format can be changed through specialisation of this class.
| writer | ROOT writer | 
| object | object | 
Definition at line 420 of file JRootStreamer.hh.
      
  | 
  inlinestatic | 
Write given key and value according equation format.
| writer | ROOT writer | 
| key | key | 
| value | value | 
Definition at line 435 of file JRootStreamer.hh.
      
  | 
  inline | 
Write object according equation format.
| object | object | 
Definition at line 448 of file JRootStreamer.hh.
      
  | 
  inline | 
Write object.
| object | object | 
Definition at line 461 of file JRootStreamer.hh.
      
  | 
  inline | 
ROOT class output.
| prefix | prefix | 
| cls | ROOT class | 
| eol | end-of-line | 
Definition at line 475 of file JRootStreamer.hh.
      
  | 
  inline | 
ROOT class output.
| cls | ROOT class | 
Definition at line 533 of file JRootStreamer.hh.
      
  | 
  inline | 
Write given key and value according equation format.
| key | key | 
| value | value | 
Definition at line 581 of file JRootStreamer.hh.
      
  | 
  inline | 
Write given key and value according equation format.
| key | key | 
| value | value | 
| option | true | 
Definition at line 596 of file JRootStreamer.hh.
      
  | 
  inline | 
Write given key and value according equation format.
| key | key | 
| value | value | 
| option | false | 
Definition at line 619 of file JRootStreamer.hh.
      
  | 
  inline | 
Write given key and value according equation format.
| key | key | 
| value | value | 
| option | false | 
Definition at line 643 of file JRootStreamer.hh.
      
  | 
  inline | 
Write object.
| object | object | 
| option | true | 
Definition at line 661 of file JRootStreamer.hh.
      
  | 
  inline | 
Write object.
| object | object | 
| option | false | 
Definition at line 680 of file JRootStreamer.hh.
      
  | 
  inline | 
Write object.
| object | object | 
| option | false | 
Definition at line 694 of file JRootStreamer.hh.
| const JRootDictionary_t& JROOT::JRootWriter::dictionary | 
Definition at line 706 of file JRootStreamer.hh.
 1.8.5