#include <urls.h>
List of all members.
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.
|
Constructor & Destructor Documentation
| dmlite::Url::Url |
( |
| ) |
throw () |
| dmlite::Url::Url |
( |
const std::string & |
url | ) |
throw () |
|
explicit |
Member Function Documentation
| static std::string dmlite::Url::joinPath |
( |
const std::vector< std::string > & |
components | ) |
throw () |
|
static |
Build a path from a list of components.
| static std::string dmlite::Url::normalizePath |
( |
const std::string & |
path | ) |
throw () |
|
static |
| bool dmlite::Url::operator!= |
( |
const Url & |
| ) |
const |
| bool dmlite::Url::operator< |
( |
const Url & |
| ) |
const |
| bool dmlite::Url::operator== |
( |
const Url & |
| ) |
const |
| bool dmlite::Url::operator> |
( |
const Url & |
| ) |
const |
| void dmlite::Url::queryFromString |
( |
const std::string & |
str | ) |
|
| std::string dmlite::Url::queryToString |
( |
void |
| ) |
const |
| static std::vector<std::string> dmlite::Url::splitPath |
( |
const std::string & |
path | ) |
throw () |
|
static |
Split a path into a list of components.
- Parameters:
-
- Returns:
- A list with the extracted components.
| std::string dmlite::Url::toString |
( |
void |
| ) |
const |
Member Data Documentation
| std::string dmlite::Url::domain |
| std::string dmlite::Url::path |
| unsigned dmlite::Url::port |
| std::string dmlite::Url::scheme |
The documentation for this struct was generated from the following file:
- include/dmlite/cpp/utils/urls.h