Defines an iterator on content provided by a segmenter.
More...
#include <contentIteratorInterface.hpp>
Defines an iterator on content provided by a segmenter.
- Note
- Used for content statistics analysis
virtual strus::ContentIteratorInterface::~ContentIteratorInterface |
( |
| ) |
|
|
inlinevirtual |
virtual bool strus::ContentIteratorInterface::getNext |
( |
const char *& |
expression, |
|
|
std::size_t & |
expressionsize, |
|
|
const char *& |
segment, |
|
|
std::size_t & |
segmentsize |
|
) |
| |
|
pure virtual |
Fetch next content item.
- Parameters
-
[in] | expression | selector scope expression of the chunk |
[in] | segment | segment content of the chunk |
- Returns
- true, if more, false on error or EOF
- Note
- returned chunks only valid after the call, owned by the segmenter
The documentation for this class was generated from the following file: