#include <uri.h>
Public Types | |
typedef std::map < std::string, std::string > | parameters_t |
The query map type. | |
Public Member Functions | |
URI () | |
Constructor. | |
URI (std::string const &uri) | |
Constructor assigning a URI. | |
URI (char const *uri) | |
Constructor assigning a URI, char const * version. | |
URI (URI const &uri) | |
Copy constructor. | |
URI & | operator= (URI const &right) |
Assignment operator. | |
bool | operator== (URI const &right) |
== operator. | |
bool | operator!= (URI const &right) |
!= operator. | |
bool | assign (std::string const &uri) |
Assigns a URI. | |
bool | assign (char const *uri) |
Same as assign(std::string const &) but with a char const * parameter. | |
void | clear () |
Clears the object from its URI. | |
std::string const & | uri () const |
Returns the full URI. | |
std::string const & | scheme () const |
Returns the URI scheme. | |
std::string const & | contents () const |
Returns the URI scheme-specific part. | |
std::string const & | authority () const |
Returns the URI authority. | |
std::string const & | path () const |
Returns the URI path. | |
std::string const & | query () const |
Returns the URI query. | |
std::string const & | hostname () const |
Returns the URI hostname. | |
uint16_t | port () const |
Returns the URI port. | |
std::string const & | username () const |
Returns the URI username. | |
std::string const & | password () const |
Returns the URI password. | |
parameters_t const & | parameters () const |
Returns the URI parameters as a map. |
bool misc::URI::assign | ( | std::string const & | uri | ) | [inline] |