|
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... | |
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... | |
| JRootWriter & | put (const JRootWritableClass &cls) |
| Write object according equation format. More... | |
| JRootWriter & | put (JRootWritableClass &cls) |
| Write object according equation format. More... | |
| template<class T > | |
| JRootWriter & | putObject (const T &object) |
| Write object. More... | |
| JRootWriter & | put (const std::string &prefix, const JRootWritableClass &cls, bool eol) |
| ROOT class output. More... | |
| JRootWriter & | putObject (const JRootWritableClass &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... | |
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... | |
Protected Member Functions | |
| 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... | |
Protected 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 332 of file JRootStreamer.hh.
|
inline |
Constructor.
| out | output stream |
| parameters | equation parameters |
| dictionary | dictionary |
Definition at line 390 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 427 of file JRootStreamer.hh.
|
inlinestatic |
Write given key and value according equation format.
| writer | ROOT writer |
| key | key |
| value | value |
Definition at line 442 of file JRootStreamer.hh.
|
inline |
Write object according equation format.
| object | object |
Definition at line 455 of file JRootStreamer.hh.
|
inline |
Write object according equation format.
| cls | ROOT class |
Definition at line 467 of file JRootStreamer.hh.
|
inline |
Write object according equation format.
| cls | ROOT class |
Definition at line 479 of file JRootStreamer.hh.
|
inline |
Write object.
| object | object |
Definition at line 492 of file JRootStreamer.hh.
|
inline |
ROOT class output.
| prefix | prefix |
| cls | ROOT class |
| eol | end-of-line |
Definition at line 506 of file JRootStreamer.hh.
|
inline |
ROOT class output.
| cls | ROOT class |
Definition at line 564 of file JRootStreamer.hh.
|
inline |
Write given key and value according equation format.
| key | key |
| value | value |
Definition at line 612 of file JRootStreamer.hh.
|
inlineprotected |
Write given key and value according equation format.
| key | key |
| value | value |
| option | true |
Definition at line 627 of file JRootStreamer.hh.
|
inlineprotected |
Write given key and value according equation format.
| key | key |
| value | value |
| option | false |
Definition at line 650 of file JRootStreamer.hh.
|
inlineprotected |
Write given key and value according equation format.
| key | key |
| value | value |
| option | false |
Definition at line 674 of file JRootStreamer.hh.
|
inlineprotected |
Write object.
| object | object |
| option | true |
Definition at line 692 of file JRootStreamer.hh.
|
inlineprotected |
Write object.
| object | object |
| option | false |
Definition at line 711 of file JRootStreamer.hh.
|
inlineprotected |
Write object.
| object | object |
| option | false |
Definition at line 725 of file JRootStreamer.hh.
|
protected |
Definition at line 737 of file JRootStreamer.hh.
1.8.5