1#ifndef VISTLE_UTIL_URL_H
2#define VISTLE_UTIL_URL_H
12 Url(
const std::string &url);
13 static Url fromFileOrUrl(
const std::string &furl);
14 static std::string decode(
const std::string &str,
bool path =
false);
16 std::string str()
const;
17 operator std::string()
const;
19 std::string extension()
const;
23 const std::string &scheme()
const;
24 const std::string &authority()
const;
25 const std::string &userinfo()
const;
26 const std::string &host()
const;
27 const std::string &port()
const;
28 const std::string &path()
const;
29 const std::map<std::string, std::string> &query()
const;
30 std::pair<std::string, bool> query(
const std::string &key)
const;
31 const std::string &fragment()
const;
37 std::string m_authority;
38 bool m_haveAuthority =
false;
39 std::string m_userinfo;
43 std::map<std::string, std::string> m_query;
44 std::string m_fragment;
Definition: allobjects.cpp:30
#define V_UTILEXPORT
Definition: export.h:19