Jpp
|
Implementation for ASCII input 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 | |
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... | |
template<class T > | |
JRootReader & | getObject (T &object) |
Read object. More... | |
JRootReader & | get (const JRootReadableClass &cls) |
Read ROOT class according equation format. More... | |
JRootReader & | getObject (const JRootReadableClass &cls) |
Read ROOT class. More... | |
JRootReader & | getObject (JRootReadableClass &cls) |
Read ROOT class according equation format. More... | |
Static Public Member Functions | |
template<class T > | |
static JRootReader & | getObject (JRootReader &reader, T &object) |
Read object. More... | |
Protected 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... | |
Protected 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><separator><value>[<white space><value>]*<end of line>
and method JRootReader::getObject 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 52 of file JRootStreamer.hh.
|
inline |
Constructor.
in | input stream |
parameters | equation parameters |
dictionary | dictionary |
Definition at line 96 of file JRootStreamer.hh.
|
inline |
|
inlinestatic |
Read object.
This method transfers the reading of the given object to the template JHelper class so that the default format can be changed through specialisation of this class.
reader | ROOT reader |
object | object |
Definition at line 129 of file JRootStreamer.hh.
|
inline |
Read object according equation format.
object | object |
Definition at line 142 of file JRootStreamer.hh.
|
inline |
Read object.
object | object |
Definition at line 155 of file JRootStreamer.hh.
|
inline |
Read ROOT class according equation format.
cls | ROOT class |
Definition at line 167 of file JRootStreamer.hh.
|
inline |
Read ROOT class.
cls | ROOT class |
Definition at line 212 of file JRootStreamer.hh.
|
inline |
Read ROOT class according equation format.
cls | ROOT class |
Definition at line 254 of file JRootStreamer.hh.
|
inlineprotected |
Read object.
object | object |
option | true |
Definition at line 269 of file JRootStreamer.hh.
|
inlineprotected |
Read object.
object | object |
option | false |
Definition at line 285 of file JRootStreamer.hh.
|
inlineprotected |
Read object.
object | object |
option | false |
Definition at line 299 of file JRootStreamer.hh.
|
protected |
Definition at line 313 of file JRootStreamer.hh.