#include <TagRetrievalPos.h>
Public Member Functions | |
TagRetrievalPos () | |
TagRetrievalPos (std::streamoff begin, std::streamoff end) | |
~TagRetrievalPos () | |
bool | empty () const |
const std::streamoff | begin () const |
const std::streamoff | end () const |
void | set (std::streamoff begin, std::streamoff end) |
bool | retrieveData (std::istream &input, std::string &data_r) const |
bool | retrieveData (std::istream &input, std::list< std::string > &data_r) const |
Static Public Attributes | |
const std::streamoff | nopos = streamoff(-1) |
Private Member Functions | |
int | positionStream (std::istream &stream_fr) const |
Private Attributes | |
std::streamoff | _begin |
std::streamoff | _end |
Static Private Attributes | |
const unsigned | bufferLen_i = 1024 |
char | buffer_ac [] |
|
|
|
|
|
|
|
access functions |
|
test if empty |
|
|
|
position stream to _begin return _end - _begin ( == expected data size) |
|
retrieve multi-line data |
|
retrieve single-line data |
|
set position |
|
|
|
|
|
|
|
|
|
|