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