|
Public Types |
typedef ReaderIterator | iterator |
typedef const ReaderIterator | const_iterator |
Public Methods |
| Reader () |
| Reader (istream &, const char *encoding="US-ASCII") |
| Reader (const Reader &) |
| ~Reader () |
const Reader & | operator= (const Reader &) |
bool | expectTag () |
bool | checkTag () const |
bool | expectText () |
bool | checkText () const |
bool | expectTagName (const string &) |
bool | expectTagName (const char *) |
bool | checkTagName (const string &) const |
bool | checkTagName (const char *) const |
template<class Num> bool | expectTagNum (Num &) |
template<class Num> bool | checkTagNum (Num &) |
template<class Num> bool | expectTagNumVector (vector< Num > &) |
template<class Num> bool | checkTagNumVector (vector< Num > &) |
template<class Field> bool | expectFieldNum (const Field &, typename Field::Element &) |
template<class Field> bool | checkFieldNum (const Field &, typename Field::Element &) |
template<class Field> bool | expectFieldNumVector (const Field &, vector< typename Field::Element > &) |
template<class Field> bool | checkFieldNumVector (const Field &, vector< typename Field::Element > &) |
bool | expectTextString (string &) |
template<class Num> bool | expectTextNum (Num &) |
template<class Num> bool | expectTextNumVector (vector< Num > &, bool=false) |
bool | checkTextString (string &) const |
template<class Num> bool | checkTextNum (Num &) const |
template<class Num> bool | checkTextNumVector (vector< Num > &, bool=false) const |
bool | expectAttributeString (const string &name, string &value) |
template<class Num> bool | expectAttributeNum (const string &name, Num &value) |
bool | checkAttributeString (const string &name, string &value) const |
template<class Num> bool | checkAttributeNum (const string &name, Num &value) const |
bool | expectNChildren (const size_t &N) |
bool | expectAtLeastNChildren (const size_t &N) |
bool | expectChildTextString (string &) |
template<class Num> bool | expectChildTextNum (Num &) |
template<class Num> bool | expectChildTextNumVector (vector< Num > &, bool=false) |
bool | checkChildTextString (string &) const |
template<class Num> bool | checkChildTextNum (Num &) const |
template<class Num> bool | checkChildTextNumVector (vector< Num > &, bool=false) const |
bool | expectChildTag () |
bool | checkChildTag () const |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
Reader & | Up (size_t N=1) |
Reader & | Down (size_t N=1) |
Reader & | Right (size_t N=1) |
Reader & | Left (size_t N=1) |
Static Public Attributes |
const int | TAGNAME_ERROR = 3 |
const int | MISSING_ATT = 4 |
const int | WRONG_ATT_TYPE = 5 |
const int | WRONG_N_CHILD = 6 |
const int | CHILD_NOT_DATA = 7 |
const int | WRONG_DATA_TYPE = 8 |
const int | CHILD_NOT_TAG = 9 |
const int | NOT_TEXT = 10 |
const int | NOT_TAG = 11 |
const int | OVFLOW = 13 |
const int | OTHER = 14 |