PairReader< _Pair, _FirstReader, _SecondReader > Class Template Reference
[Item readers and writers]


Detailed Description

template<typename _Pair, typename _FirstReader = DefaultReader<typename _Pair::first_type>, typename _SecondReader = DefaultReader<typename _Pair::second_type>>
class lemon::PairReader< _Pair, _FirstReader, _SecondReader >

Reader for std::pair.

Author:
Balazs Dezso
#include <lemon/bits/item_reader.h>

List of all members.

Public Member Functions

 PairReader (const FirstReader &_first_reader=FirstReader(), const SecondReader &_second_reader=SecondReader())
 Constructor.
void read (std::istream &is, Value &value) const


Constructor & Destructor Documentation

PairReader ( const FirstReader &  _first_reader = FirstReader(),
const SecondReader &  _second_reader = SecondReader() 
) [inline]

Constructor for the PairReader.


Member Function Documentation

void read ( std::istream &  is,
Value &  value 
) const [inline]

Reads the pair from the given stream.


Generated on Thu Jun 4 04:06:43 2009 for LEMON by  doxygen 1.5.9