|
ProteoWizard
|
An extended SAX interface for custom XML stream parsing. More...
Classes | |
| class | saxstring |
| class | Handler |
| SAX event handler interface. More... | |
Functions | |
| PWIZ_API_DECL size_t | count_trail_ws (const char *data, size_t len) |
| PWIZ_API_DECL void | unescapeXML (char *str) |
| PWIZ_API_DECL void | unescapeXML (std::string &str) |
| std::ostream & | operator<< (std::ostream &os, const saxstring &s) |
| template<typename Target > | |
| Target | textToValue (const char *txt) |
| template<> | |
| float | textToValue (const char *txt) |
| bool | istrue (const char *t) |
| PWIZ_API_DECL void | parse (std::istream &is, Handler &handler) |
| Extract a single XML element from the istream, sending SAX events to the handler. | |
An extended SAX interface for custom XML stream parsing.
Use cases:
| PWIZ_API_DECL size_t pwiz::minimxml::SAXParser::count_trail_ws | ( | const char * | data, |
| size_t | len | ||
| ) |
Referenced by pwiz::minimxml::SAXParser::saxstring::trim_trail_ws().
| PWIZ_API_DECL void pwiz::minimxml::SAXParser::unescapeXML | ( | char * | str | ) |
| PWIZ_API_DECL void pwiz::minimxml::SAXParser::unescapeXML | ( | std::string & | str | ) |
|
inline |
Definition at line 218 of file SAXParser.hpp.
References pwiz::minimxml::SAXParser::saxstring::c_str().
|
inline |
|
inline |
|
inline |
Definition at line 286 of file SAXParser.hpp.
| PWIZ_API_DECL void pwiz::minimxml::SAXParser::parse | ( | std::istream & | is, |
| Handler & | handler | ||
| ) |
Extract a single XML element from the istream, sending SAX events to the handler.
Behavior:
Notes:
1.8.1.1