15 #ifndef Om_Source_CodePointSource_
17 #define Om_Source_CodePointSource_ \
18 Om::Source::CodePointSource
33 template <
typename ThisCodeUnitIterator =
char const *>
37 CodePointSource<ThisCodeUnitIterator>
49 ThisCodeUnitIterator theInputStart,
50 ThisCodeUnitIterator
const theInputEnd
114 char const theCodeUnitIterator[]
132 template <
typename TheCodeUnitIterator>
138 template <
typename TheCodeUnitIterator>
152 template <
typename TheCodeUnitIterator>
CodePointSource(char const theCodeUnitIterator[])
IteratorSource< char const, char const * > CodeUnitSource
A convenience typedef of the underlying IteratorSource.
A CodePoint Source that reads each code unit from the iterator.
CodePointSource(ThisCodeUnitIterator theInputStart, ThisCodeUnitIterator const theInputEnd)
virtual CodePoint const & operator*() const
void Swap(CodePointSource &)
bool Equals(CodePointSource const &) const
virtual void Pop()
Pops the current item.
ThisCodeUnitIterator thisInputEnd
The input code unit end iterator.
CodePointSource & operator=(CodePointSource)
virtual bool operator!() const
CodePoint thisCodePoint
The current Om::CodePoint.
ThisCodeUnitIterator thisInputIterator
The input code unit start iterator.
A partial implementation of Source.
A Source adapter for a sentinal-terminated input iterator.
Any object that items can be pulled from.
bool operator==(CodePointSource< TheCodeUnitIterator > const &, CodePointSource< TheCodeUnitIterator > const &)
bool operator!=(CodePointSource< TheCodeUnitIterator > const &, CodePointSource< TheCodeUnitIterator > const &)
boost::locale::utf::code_point CodePoint
A UTF-8 code point.
void swap(Om::Language::Expression &, Om::Language::Expression &)