#include <wordstreamiterator.h>
Public Methods | |
wordstream_iterator (istream &is, const set< string > &ignore) | |
Constructor. More... | |
wordstream_iterator () | |
const string & | operator * () const |
wordstream_iterator & | operator++ () |
wordstream_iterator | operator++ (int) |
size_t | ignored () const |
size_t | read () const |
Friends | |
bool | operator== (const wordstream_iterator &i1, const wordstream_iterator &i2) |
The words are guaranteed to conform to the class Word and do not appear in an ignore set of common words.
Definition at line 18 of file wordstreamiterator.h.
|
Constructor.
Definition at line 6 of file wordstreamiterator.C.
00007 : ignore_(&ignore), is_(&is), ok_(true), 00008 ignored_(0), read_(0) { 00009 get(); 00010 } |
|
Definition at line 12 of file wordstreamiterator.C. References ignored().
00012 : ignore_(0), is_(0), ok_(false) { 00013 } |
|
Definition at line 28 of file wordstreamiterator.h.
00028 { return value_; } |
|
Definition at line 29 of file wordstreamiterator.h.
00029 { get(); return *this; } |
|
Definition at line 30 of file wordstreamiterator.h.
00030 { 00031 wordstream_iterator tmp(*this); 00032 get(); 00033 return tmp; 00034 } |
|
Definition at line 41 of file wordstreamiterator.h. Referenced by wordstream_iterator().
00041 { return ignored_; } |
|
Definition at line 42 of file wordstreamiterator.h.
00042 { return read_; } |
|
Definition at line 36 of file wordstreamiterator.h.
|
textindexer-0.2 | [27 March, 2002] |