1 #ifndef DUNE_COMMON_IOSTREAM_HH
2 #define DUNE_COMMON_IOSTREAM_HH
34 explicit Match (
const T &value )
40 : value_( other.value_ )
45 return (value_ == value);
54 template<
class char_type,
class traits,
class T >
55 inline std::basic_istream< char_type, traits > &
61 in.clear( std::ios_base::failbit );
68 template<
class char_type,
class traits >
69 inline bool isGood ( std::basic_istream< char_type, traits > &in )
71 bool good = in.good();
86 inline iostream::Match< typename iostream::MatchTraits< T >::Type >
Definition: iostream.hh:7
bool isGood(std::basic_istream< char_type, traits > &in)
Definition: iostream.hh:69
iostream::Match< typename iostream::MatchTraits< T >::Type > match(const T &value)
Definition: iostream.hh:87
std::basic_istream< char_type, traits > & operator>>(std::basic_istream< char_type, traits > &in, const Match< T > &match)
Definition: iostream.hh:56
Definition: iostream.hh:14
T Type
Definition: iostream.hh:15
const MatchTraits< T >::Type Type
Definition: iostream.hh:21
std::string Type
Definition: iostream.hh:27
Definition: iostream.hh:33
Match(const T &value)
Definition: iostream.hh:34
bool operator()(const T &value) const
Definition: iostream.hh:43
Match(const Match< U > &other)
Definition: iostream.hh:39