#define ClassDef(name, id)
THashList implements a hybrid collection class consisting of a hash table and a list to store TObject...
TMap implements an associative array of (key,value) pairs using a THashTable for efficient retrieval ...
Mother of all ROOT objects.
This class represents a WWW compatible URL.
void CleanRelativePath()
Recompute the path removing all relative directory jumps via '..'.
static TObjArray * GetSpecialProtocols()
Read the list of special protocols from the rootrc files.
const char * GetAnchor() const
const char * GetUrl(Bool_t withDeflt=kFALSE) const
Return full URL.
void SetAnchor(const char *anchor)
void FindFile(char *u, Bool_t stripDoubleSlash=kTRUE)
Find file and optionally anchor and options.
const char * GetFileAndOptions() const
Return the file and its options (the string specified behind the ?).
const char * GetFile() const
void SetUser(const char *user)
const char * GetValueFromOptions(const char *key) const
Return a value for a given key from the URL options.
void SetUrl(const char *url, Bool_t defaultIsFile=kFALSE)
Parse url character string and split in its different subcomponents.
void SetProtocol(const char *proto, Bool_t setDefaultPort=kFALSE)
Set protocol and, optionally, change the port accordingly.
TUrl & operator=(const TUrl &rhs)
TUrl assignment operator.
Int_t GetIntValueFromOptions(const char *key) const
Return a value for a given key from the URL options as an Int_t, a missing key returns -1.
Int_t Compare(const TObject *obj) const
Compare two urls as strings.
const char * GetUser() const
const char * GetHost() const
const char * GetPasswd() const
Int_t fPort
fully qualified host name
void SetOptions(const char *opt)
const char * GetHostFQDN() const
Return fully qualified domain name of url host.
void Print(Option_t *option="") const
Print URL on stdout.
static THashList * fgHostFQDNs
void ParseOptions() const
Parse URL options into a key/value map.
const char * GetOptions() const
TString fHostFQ
file with option and anchor
void SetHost(const char *host)
const char * GetProtocol() const
void SetFile(const char *file)
void SetPasswd(const char *pw)
Bool_t IsSortable() const
Bool_t HasOption(const char *key) const
Returns true if the given key appears in the URL options list.
static TObjArray * fgSpecialProtocols
map containing options key/value pairs