restcgi::tiny_parser Class Reference

List of all members.

Detailed Description

Tiny parser.


Public Member Functions

 tiny_parser (std::string::const_iterator first, std::string::const_iterator last)
 Construct.
bool space (size_t size=0)
 match isspace chars, variable size if size 0
bool operator() (const char *p)
 match literal
int digits (size_t num, bool leading0=true)
 match digits, -1 means no
int array_item (const char **a, size_t size)
 match array item, -1 means no
bool at_end () const
 test at end
void push ()
 save first
void pop ()
 restore first
const std::string::const_iterator & first () const
 first (next position)


Generated on Fri May 15 11:27:12 2009 for restcgi by  doxygen 1.4.7