herwig is hosted by Hepforge, IPPP Durham
Herwig  7.2.1
exsample::binary_tree< Value >::istream_generator< IStream > Struct Template Reference

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_typegenerate (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_typechildren_
 the children currently handled
 
std::string tag_
 temporary storage for tags
 

Detailed Description

template<class Value>
template<class IStream>
struct exsample::binary_tree< Value >::istream_generator< IStream >

generator reading binary tree from istream

Definition at line 701 of file binary_tree.h.


The documentation for this struct was generated from the following file: