|
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 |
| static bool | retrieveData (istream &stream_fr, streamoff startData_ir, streamoff endData_ir, std::string &data_tr) |
| static bool | retrieveData (istream &stream_fr, streamoff startData_ir, streamoff endData_ir, std::list< std::string > &data_Vtr) |
| static std::string | data2string (const std::list< std::string > &data_Vtr) |
| static vector< std::string > | split2words (const std::string &line_tr, const std::string &sepchars_tr=" \t\n") |
Static Public Attributes |
| static const streamoff | nopos |
Private Member Functions |
| void | _reset () |
| void | _datareset () |
Static Private Member Functions |
| static streamoff | readLine (istream &stream_fr, std::string &cline_tr) |
| static 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 |
| static const unsigned | bufferLen_i |
| static char | buffer_ac [] |