17#ifndef included_Retro_RparseUrl
18#define included_Retro_RparseUrl 1
29 typedef std::map<std::string, std::string>
omap_t;
34 bool Set(
const std::string& url,
const std::string& optlist,
36 bool Set(
const std::string& url,
const std::string& optlist,
37 const std::string& scheme,
RerrMsg& emsg);
38 void SetPath(
const std::string& path);
42 const std::string&
Url()
const;
43 const std::string&
Scheme()
const;
44 const std::string&
Path()
const;
50 bool FindOpt(
const std::string& name)
const;
51 bool FindOpt(
const std::string& name,
52 std::string& value)
const;
54 virtual void Dump(std::ostream& os,
int ind=0,
const char* text=0)
const;
56 static std::string
FindScheme(
const std::string& url,
57 const std::string& def =
"");
60 bool AddOpt(
const std::string& key,
const std::string& val,
61 bool hasval,
const std::string& optlist,
static std::string FindScheme(const std::string &url, const std::string &def="")
FIXME_docs.
bool FindOpt(const std::string &name) const
FIXME_docs.
bool Set(const std::string &url, const std::string &optlist, RerrMsg &emsg)
FIXME_docs.
std::string FileName() const
FIXME_docs.
const std::string & Scheme() const
FIXME_docs.
const std::string & Url() const
FIXME_docs.
bool AddOpt(const std::string &key, const std::string &val, bool hasval, const std::string &optlist, RerrMsg &emsg)
FIXME_docs.
std::string fPath
url path part
RparseUrl()
Default constructor.
std::string FileType() const
FIXME_docs.
std::string fUrl
full url given with open
void SetPath(const std::string &path)
FIXME_docs.
std::string DirName() const
FIXME_docs.
std::string FileStem() const
FIXME_docs.
const omap_t & Opts() const
FIXME_docs.
std::map< std::string, std::string > omap_t
virtual ~RparseUrl()
Destructor.
std::string fScheme
url scheme part
virtual void Dump(std::ostream &os, int ind=0, const char *text=0) const
FIXME_docs.
const std::string & Path() const
FIXME_docs.
Declaration of class ReventLoop.