![]() |
Exiv2
|
A container for URL components. It also provides the method to parse a URL to get the protocol, host, path, port, querystring, username, password. More...
#include <futils.hpp>
Static Public Member Functions | |
| static Uri EXIV2API | Parse (const std::string &uri) |
| Parse the input URL to the protocol, host, path, username, password. | |
| static void EXIV2API | Decode (Uri &uri) |
| Decode the url components. | |
Public Attributes | |
| std::string | QueryString |
| URL query string. | |
| std::string | Path |
| URL file path. | |
| std::string | Protocol |
| URL protocol. | |
| std::string | Host |
| URL host. | |
| std::string | Port |
| URL port. | |
| std::string | Username |
| URL username. | |
| std::string | Password |
| URL password. | |
A container for URL components. It also provides the method to parse a URL to get the protocol, host, path, port, querystring, username, password.
Source: http://stackoverflow.com/questions/2616011/easy-way-to-parse-a-url-in-c-cross-platform
|
static |
Decode the url components.
References Host, Password, Path, QueryString, Exiv2::urldecode(), and Username.
|
static |
Parse the input URL to the protocol, host, path, username, password.
References Host, Password, Path, Port, Protocol, QueryString, and Username.
Referenced by Exiv2::http().
| std::string Exiv2::Uri::Host |
URL host.
Referenced by Decode(), Exiv2::http(), and Parse().
| std::string Exiv2::Uri::Port |
URL port.
Referenced by Exiv2::http(), and Parse().
| std::string Exiv2::Uri::Protocol |
URL protocol.
Referenced by Parse().