|
Public Member Functions |
| TagParser () |
virtual | ~TagParser () |
streamoff | lookupStart () const |
streamoff | posStartTag () const |
const std::string & | startTag () const |
streamoff | posEndTag () const |
const std::string & | endTag () const |
streamoff | posDataStart () const |
streamoff | posDataEnd () const |
unsigned | dataLength () const |
unsigned | dataLines () const |
const std::list< std::string > & | data () const |
bool | lookupTag (istream &stream_fr, const std::string &stag_tr="") |
bool | parseData (istream &stream_fr, const std::string &etag_tr) |
Static Public Member Functions |
bool | retrieveData (istream &stream_fr, streamoff startData_ir, streamoff endData_ir, std::string &data_tr) |
bool | retrieveData (istream &stream_fr, streamoff startData_ir, streamoff endData_ir, std::list< std::string > &data_Vtr) |
std::string | data2string (const std::list< std::string > &data_Vtr) |
vector< std::string > | split2words (const std::string &line_tr, const std::string &sepchars_tr="\t\n") |
Static Public Attributes |
const streamoff | nopos = streamoff(-1) |
Private Member Functions |
void | _reset () |
void | _datareset () |
Static Private Member Functions |
streamoff | readLine (istream &stream_fr, std::string &cline_tr) |
bool | tagOnLine (const std::string &cline_tr, std::string &tag_tr, std::string::size_type &delim_ir) |
Private Attributes |
streamoff | lookupStart_i |
streamoff | startTag_i |
streamoff | startData_i |
streamoff | endData_i |
streamoff | endTag_i |
std::string | startTag_t |
std::string | endTag_t |
std::list< std::string > | data_Vt |
Static Private Attributes |
const unsigned | bufferLen_i = 1024 |
char | buffer_ac [] |