59 const std::string&
string()
const;
78 std::string
const * stringPtr_;
90 if (cursor_ == end_)
return;
93 if (cursor_ == end_) {
97 c_ = (*stringPtr_)[cursor_];
106 if (cursor_ == end_)
return;
108 if (cursor_ != end_) {
109 c_ = (*stringPtr_)[cursor_];
119 {
return (*stringPtr_); }
137 {
return (cursor_ == end_); }
Base class for classes that parse XML markup tags.
void skip()
Skip leading white space, if any.
const std::string & string() const
Return the associated string.
void setCursor(int cursor)
Set cursor.
void next()
Advance to the next character.
int cursor() const
Return the index of the current character.
void setString(const std::string &string, int cursor=0)
Initialize string and cursor.
int c() const
Return the current character.
bool isEnd() const
Has the cursor reached the end of the string?
File containing preprocessor macros for error handling.
Utility classes for scientific computation.