18#define URL_CLEAN_UNIX 3
53 else return to_string (
rep->t[0]);
163 return u->t ==
"...";
167 return u.label () ==
"none";
171 return u.label () ==
"root";
175 return u.label () ==
"concat";
179 return u.label () ==
"or";
183 return u.label () ==
"wildcard";
blank_url(const char *name)
#define CONCRETE_CODE(PTR)
Macro used to define the implementation of a concrete smart pointer.
file_url(const char *name)
ftp_url(const char *name)
http_url(const char *name)
https_url(const char *name)
The list class represents a linked list.
friend url as_url(url_tree t)
Structure representing a concrete object with a reference count.
url url_or(url u1, url u2)
bool is_rooted_name(url u)
url url_system(string name)
url url_general(string name, int type)
url url_concat(url u1, url u2)
url url_standard(string name)
url url_path(string s, int type=URL_SYSTEM)
url reroot(url u, string s)
url operator*(url u1, url u2)
string basename(url u, string suf)
tm_ostream & operator<<(tm_ostream &out, url u)
url operator|(url u1, url u2)
url url_root(string protocol)
bool is_rooted(url u, string protocol)
string as_string(url u, int type=URL_SYSTEM)
url relative(url base, url u)
bool is_pseudo_atomic(url u)
bool descends(url u, url base)
string as_standard_string(url u)
lolly_tree< int > url_tree
url url_ramdisc(string contents)
url url_unix(string name)
string as_system_string(url u)
url delta(url base, url u)
string as_unix_string(url u)
bool is_rooted_blank(url u)
bool is_rooted_web(url u)
url unglue(url u, int nr)
bool is_root_blank(url u)
url glue(url u, string s)
void skip_ipv6(string s, int &i)
bool is_root(url u, string s)
url url_get_name(string s, int type=URL_STANDARD, int i=0)