Jpp test-rotations-new
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. | |
const JRootDictionary_t & | getDictionary () const |
Get dictictionary. | |
template<class T > | |
JRootWriter & | put (const T &object) |
Write object according equation format. | |
template<class T > | |
JRootWriter & | put (const std::string &key, const T &value) |
Write given key and value according equation format. | |
JRootWriter & | put (const JRootWritableClass &cls) |
Write ROOT class according equation format. | |
JRootWriter & | put (JRootWritableClass &cls) |
Write ROOT class according equation format. | |
JRootWriter & | put (const std::string &prefix, const JRootWritableClass &cls, bool eol) |
Write ROOT class according equation format. | |
virtual JRootWriter & | put (const JEquation &equation) |
Write equation. | |
template<class T > | |
JRootWriter & | putObject (const T &object) |
Write object. | |
JRootWriter & | putObject (const JRootWritableClass &cls) |
Write ROOT class. | |
Private Member Functions | |
template<class T > | |
JRootWriter & | putObject (const T &object, const JBool< true > &option) |
Write object. | |
template<class T > | |
JRootWriter & | putObject (const T &object, const JBool< false > &option) |
Write object. | |
template<class JElement_t , class JAllocator_t > | |
JRootWriter & | putObject (const std::vector< JElement_t, JAllocator_t > &object, const JBool< false > option) |
Write object. | |
Private Attributes | |
const JRootDictionary_t & | dictionary |
std::ios & | __from |
std::ios & | __to |
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 293 of file JRootStreamer.hh.
|
inline |
Constructor.
out | output stream |
parameters | equation parameters |
dictionary | dictionary |
Definition at line 305 of file JRootStreamer.hh.
|
inline |
|
inline |
Write object according equation format.
object | object |
Definition at line 338 of file JRootStreamer.hh.
|
inline |
Write given key and value according equation format.
key | key |
value | value |
Definition at line 352 of file JRootStreamer.hh.
|
inline |
Write ROOT class according equation format.
cls | ROOT class |
Definition at line 375 of file JRootStreamer.hh.
|
inline |
Write ROOT class according equation format.
cls | ROOT class |
Definition at line 387 of file JRootStreamer.hh.
|
inline |
Write ROOT class according equation format.
prefix | prefix |
cls | ROOT class |
eol | end-of-line |
Definition at line 401 of file JRootStreamer.hh.
|
inlinevirtual |
Write equation.
equation | equation |
Reimplemented in JAANET::JHeadWriter.
Definition at line 462 of file JRootStreamer.hh.
|
inline |
Write object.
object | object |
Definition at line 477 of file JRootStreamer.hh.
|
inline |
Write ROOT class.
cls | ROOT class |
Definition at line 489 of file JRootStreamer.hh.
|
inlineprivate |
Write object.
object | object |
option | true |
Definition at line 537 of file JRootStreamer.hh.
|
inlineprivate |
Write object.
object | object |
option | false |
Definition at line 556 of file JRootStreamer.hh.
|
inlineprivate |
Write object.
object | object |
option | false |
Definition at line 570 of file JRootStreamer.hh.
|
private |
Definition at line 582 of file JRootStreamer.hh.
|
privateinherited |
Definition at line 67 of file JStreamState.hh.
|
privateinherited |
Definition at line 68 of file JStreamState.hh.