Jpp
16.0.3
the software that should make you happy
|
Implementation for ASCII input of objects with ROOT dictionary. More...
#include <JRootStreamer.hh>
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... | |
JRootReader & | get (const JRootReadableClass &cls) |
Read ROOT class according equation format. More... | |
template<class T > | |
JRootReader & | getObject (T &object) |
Read object. More... | |
JRootReader & | getObject (const JRootReadableClass &cls) |
Read ROOT class. More... | |
JRootReader & | getObject (JRootReadableClass &cls) |
Read ROOT class. More... | |
Private 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... | |
Private 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>[<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 JRootReader::getObject relates to 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 58 of file JRootStreamer.hh.
|
inline |
Constructor.
in | input stream |
parameters | equation parameters |
dictionary | dictionary |
Definition at line 70 of file JRootStreamer.hh.
|
inline |
|
inline |
Read object according equation format.
object | object |
Definition at line 99 of file JRootStreamer.hh.
|
inline |
Read ROOT class according equation format.
cls | ROOT class |
Definition at line 111 of file JRootStreamer.hh.
|
inline |
Read object.
object | object |
Definition at line 157 of file JRootStreamer.hh.
|
inline |
Read ROOT class.
cls | ROOT class |
Definition at line 169 of file JRootStreamer.hh.
|
inline |
Read ROOT class.
cls | ROOT class |
Definition at line 211 of file JRootStreamer.hh.
|
inlineprivate |
Read object.
object | object |
option | true |
Definition at line 225 of file JRootStreamer.hh.
|
inlineprivate |
Read object.
object | object |
option | false |
Definition at line 241 of file JRootStreamer.hh.
|
inlineprivate |
Read object.
object | object |
option | false |
Definition at line 255 of file JRootStreamer.hh.
|
private |
Definition at line 269 of file JRootStreamer.hh.