15 #ifndef Om_Source_StreamSource_
17 #define Om_Source_StreamSource_ \
18 Om::Source::StreamSource
22 #ifndef Om_Macro_Precompilation_
24 #include "boost/optional.hpp"
42 template <
typename ThisItem =
char>
46 StreamSource<ThisItem>
90 template <
typename TheItem>
96 template <
typename TheItem>
110 template <
typename TheItem>
A partial implementation of Source.
A Source adapter for an input stream.
StreamSource & operator=(StreamSource)
void Swap(StreamSource &)
bool Equals(StreamSource const &) const
boost::optional< ThisItem > thisItem
The current item.
StreamSource(std::istream &)
virtual void Pop()
Pops the current item.
virtual bool operator!() const
virtual ThisItem const & operator*() const
StreamIterator thisStreamIterator
std::istreambuf_iterator< ThisItem > StreamIterator
bool operator==(CodePointSource< TheCodeUnitIterator > const &, CodePointSource< TheCodeUnitIterator > const &)
bool operator!=(CodePointSource< TheCodeUnitIterator > const &, CodePointSource< TheCodeUnitIterator > const &)
void swap(Om::Language::Expression &, Om::Language::Expression &)