uripp Namespace Reference


Detailed Description

URI library namespace additions.

These functions are added to uripp so that there is a single namespace for converting both URI- and HTTP-related data types.


Functions

std::string RESTCGI_API convert (const restcgi::date_time &v)
 date and time to string
bool RESTCGI_API convert (const std::string &s, restcgi::date_time &v)
 String to date and time, returning true if set, which is when the string is not empty or all isspace.


Function Documentation

bool RESTCGI_API uripp::convert ( const std::string &  s,
restcgi::date_time v 
)

String to date and time, returning true if set, which is when the string is not empty or all isspace.

Space before and/or after value OK.

Exceptions:
std::invalid_argument on conversion error


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