dmlite::Url Struct Reference
#include <urls.h>
List of all members.
Public Member Functions |
| | Url (const std::string &url) throw () |
| bool | operator== (const Url &) const |
| bool | operator!= (const Url &) const |
| bool | operator< (const Url &) const |
| bool | operator> (const Url &) const |
Static Public Member Functions |
| static std::vector< std::string > | splitPath (const std::string &path) throw () |
| static std::string | joinPath (const std::vector< std::string > &components) throw () |
| | Build a path from a list of components.
|
| static std::string | normalizePath (const std::string &path) throw () |
| | Remove multiple slashes.
|
Public Attributes |
| std::string | scheme |
| std::string | domain |
| unsigned | port |
| std::string | path |
| std::string | query |
Constructor & Destructor Documentation
| Url::Url |
( |
const std::string & |
url |
) |
throw () [explicit] |
Member Function Documentation
| std::string Url::joinPath |
( |
const std::vector< std::string > & |
components |
) |
throw () [static] |
Build a path from a list of components.
| std::string Url::normalizePath |
( |
const std::string & |
path |
) |
throw () [static] |
| bool Url::operator!= |
( |
const Url & |
u |
) |
const |
| bool Url::operator< |
( |
const Url & |
u |
) |
const |
| bool Url::operator== |
( |
const Url & |
u |
) |
const |
| bool Url::operator> |
( |
const Url & |
u |
) |
const |
| std::vector< std::string > Url::splitPath |
( |
const std::string & |
path |
) |
throw () [static] |
Split a path into a list of components.
- Parameters:
-
- Returns:
- A list with the extracted components.
Member Data Documentation
The documentation for this struct was generated from the following files: