Herwig 7.3.0
|
generator reading binary tree from istream More...
#include <binary_tree.h>
Public Member Functions | |
istream_generator (IStream &is) | |
construct from istream reference | |
istream_generator (const istream_generator &x) | |
copy constructor | |
value_type | root () |
read the root node | |
bool | split () |
read children nodes | |
std::pair< value_type, value_type > | generate (const value_type &) |
return the children generated | |
void | initialize_leaf (const value_type &) |
initialize a leaf | |
Private Attributes | |
IStream * | is_ |
pointer to the istream used | |
std::pair< value_type, value_type > | children_ |
the children currently handled | |
std::string | tag_ |
temporary storage for tags | |
generator reading binary tree from istream
Definition at line 701 of file binary_tree.h.
|
inlineexplicit |
construct from istream reference
Definition at line 704 of file binary_tree.h.
|
inline |
copy constructor
Definition at line 708 of file binary_tree.h.
|
inline |
return the children generated
Definition at line 743 of file binary_tree.h.
References exsample::binary_tree< Value >::istream_generator< IStream >::children_.
|
inline |
initialize a leaf
Definition at line 748 of file binary_tree.h.
|
inline |
read the root node
Definition at line 712 of file binary_tree.h.
References exsample::binary_tree< Value >::istream_generator< IStream >::is_, and exsample::binary_tree< Value >::istream_generator< IStream >::tag_.
|
inline |
read children nodes
Definition at line 723 of file binary_tree.h.
References exsample::binary_tree< Value >::istream_generator< IStream >::children_, exsample::binary_tree< Value >::istream_generator< IStream >::is_, and exsample::binary_tree< Value >::istream_generator< IStream >::tag_.
|
private |
the children currently handled
Definition at line 756 of file binary_tree.h.
Referenced by exsample::binary_tree< Value >::istream_generator< IStream >::generate(), and exsample::binary_tree< Value >::istream_generator< IStream >::split().
|
private |
pointer to the istream used
Definition at line 753 of file binary_tree.h.
Referenced by exsample::binary_tree< Value >::istream_generator< IStream >::root(), and exsample::binary_tree< Value >::istream_generator< IStream >::split().
|
private |
temporary storage for tags
Definition at line 759 of file binary_tree.h.
Referenced by exsample::binary_tree< Value >::istream_generator< IStream >::root(), and exsample::binary_tree< Value >::istream_generator< IStream >::split().