|
Jpp
17.0.0-rc.1
the software that should make you happy
|
Implementation for ASCII output of objects with ROOT dictionary. More...
#include <JRootStreamer.hh>
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 & | put (const std::string &key, const T &value) |
| Write given key and value according equation format. More... | |
| JRootWriter & | put (const JRootWritableClass &cls) |
| Write ROOT class according equation format. More... | |
| JRootWriter & | put (JRootWritableClass &cls) |
| Write ROOT class according equation format. More... | |
| JRootWriter & | put (const std::string &prefix, const JRootWritableClass &cls, bool eol) |
| Write ROOT class according equation format. More... | |
| virtual JRootWriter & | put (const JEquation &equation) |
| Write equation. More... | |
| template<class T > | |
| JRootWriter & | putObject (const T &object) |
| Write object. More... | |
| JRootWriter & | putObject (const JRootWritableClass &cls) |
| Write ROOT class. More... | |
Private Member Functions | |
| 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... | |
Private Attributes | |
| const JRootDictionary_t & | dictionary |
Implementation for ASCII output of objects with ROOT dictionary.
The method JRootWriter::put is compatible with equation formatting, i.e:
<key>[<division><key>]<separator><value>[<white space><value>]*<end of line>
In this, the key corresponds to the name of a data member which can be recursively parsed via a division character.
The method JRootWriter::putObject relates to simple formatting, i.e:
<value>[<white space><value>]*
The default format for output of std::vector<T> is
<number of elements>[<white space><value>]*
Definition at line 291 of file JRootStreamer.hh.
|
inline |
Constructor.
| out | output stream |
| parameters | equation parameters |
| dictionary | dictionary |
Definition at line 303 of file JRootStreamer.hh.
|
inline |
|
inline |
Write object according equation format.
| object | object |
Definition at line 336 of file JRootStreamer.hh.
|
inline |
Write given key and value according equation format.
| key | key |
| value | value |
Definition at line 350 of file JRootStreamer.hh.
|
inline |
Write ROOT class according equation format.
| cls | ROOT class |
Definition at line 373 of file JRootStreamer.hh.
|
inline |
Write ROOT class according equation format.
| cls | ROOT class |
Definition at line 385 of file JRootStreamer.hh.
|
inline |
Write ROOT class according equation format.
| prefix | prefix |
| cls | ROOT class |
| eol | end-of-line |
Definition at line 399 of file JRootStreamer.hh.
|
inlinevirtual |
Write equation.
| equation | equation |
Reimplemented in JAANET::JHeadWriter.
Definition at line 460 of file JRootStreamer.hh.
|
inline |
Write object.
| object | object |
Definition at line 475 of file JRootStreamer.hh.
|
inline |
Write ROOT class.
| cls | ROOT class |
Definition at line 487 of file JRootStreamer.hh.
|
inlineprivate |
Write object.
| object | object |
| option | true |
Definition at line 535 of file JRootStreamer.hh.
|
inlineprivate |
Write object.
| object | object |
| option | false |
Definition at line 554 of file JRootStreamer.hh.
|
inlineprivate |
Write object.
| object | object |
| option | false |
Definition at line 568 of file JRootStreamer.hh.
|
private |
Definition at line 580 of file JRootStreamer.hh.
1.8.5