Files Classes Functions Hierarchy
#include <stringtagparser.h>
Public Member Functions | |
| stringtagiter (stringc &arg_, stringc &tag_) | |
| Pass text to parse and tag. | |
| void | reset () |
| arg or tag can be changed. | |
| void | operator++ () |
| Look for the next. | |
| boolc | operator! () |
| Is the iterator valid? | |
| stringc | operator() () |
| Extract text between tags. | |
Public Attributes | |
| string | tag |
| The tag generally not unique. | |
Definition at line 107 of file stringtagparser.h.
Pass text to parse and tag.
Definition at line 159 of file stringtagparser.cpp.
00160 : stringtagparser(arg_), tag(tag_) {}
| boolc stringtagiter::operator! | ( | ) | [inline] |
| stringc stringtagiter::operator() | ( | ) | [inline] |
| void stringtagiter::operator++ | ( | ) |
| void stringtagiter::reset | ( | ) |
arg or tag can be changed.
Definition at line 130 of file stringtagparser.cpp.
References stringtagparser::arg, and tag.
Referenced by stringtagparsertest::test03().
00131 { 00132 data = ""; 00133 res=false; 00134 tagbeg = "<" + tag + ">"; 00135 tagend = "</" + tag + ">"; 00136 00137 extractbetweentag(arg); 00138 }
| string stringtagiter::tag |
The tag generally not unique.
Definition at line 125 of file stringtagparser.h.
Referenced by reset().
1.5.8