ROOT
6.06/09
Reference Guide
|
This class represents a RFC 3986 compatible URI.
See http://rfc.net/rfc3986.html. It provides member functions to set and return the different the different parts of an URI. The functionality is that of a validating parser.
Public Member Functions | |
TUri (const TUri &uri) | |
TUri copy ctor. More... | |
TUri () | |
TUri (const TString &uri) | |
TUri (const char *uri) | |
Constructor that calls SetUri with a complete URI. More... | |
TUri & | operator= (const TUri &rhs) |
TUri assignment operator. More... | |
virtual | ~TUri () |
const TString | GetUri () const |
Returns the whole URI - an implementation of chapter 5.3 component recomposition. More... | |
const TString | GetScheme () const |
const TString | GetHierPart () const |
hier-part = "//" authority path-abempty
/ path-absolute
/ path-rootless
/ path-empty
| |
const TString | GetRelativePart () const |
relative-part = "//" authority path-abempty / path-absolute
/ path-noscheme
/ path-empty
| |
const TString | GetAuthority () const |
Returns the authority part of the instance: authority = [ userinfo "@" ] host [ ":" port ]
. More... | |
const TString | GetUserInfo () const |
const TString | GetHost () const |
const TString | GetPort () const |
const TString | GetPath () const |
const TString | GetQuery () const |
const TString | GetFragment () const |
Bool_t | HasScheme () const |
Bool_t | HasHierPart () const |
Bool_t | HasAuthority () const |
Bool_t | HasUserInfo () const |
Bool_t | HasHost () const |
Bool_t | HasPort () const |
Bool_t | HasPath () const |
Bool_t | HasQuery () const |
Bool_t | HasFragment () const |
Bool_t | HasRelativePart () const |
Bool_t | SetUri (const TString &uri) |
Parse URI and set the member variables accordingly, returns kTRUE if URI validates, and kFALSE otherwise: URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ]
hier-part = "//" authority path-abempty
/ path-absolute
/ path-rootless
/ path-empty
. More... | |
Bool_t | SetScheme (const TString &scheme) |
Set scheme component of URI: . More... | |
Bool_t | SetHierPart (const TString &hier) |
returns hier-part component of URI hier-part = "//" authority path-abempty
/ path-absolute
/ path-rootless
/ path-empty
| |
Bool_t | SetAuthority (const TString &authority) |
Set authority part of URI: authority = [ userinfo "@" ] host [ ":" port ]
. More... | |
Bool_t | SetUserInfo (const TString &userinfo) |
Set userinfo component of URI: userinfo = *( unreserved / pct-encoded / sub-delims / ":" )
. More... | |
Bool_t | SetHost (const TString &host) |
Set host component of URI: . More... | |
Bool_t | SetPort (const TString &port) |
Set port component of URI: port = *DIGIT
. More... | |
Bool_t | SetPath (const TString &path) |
Set path component of URI: path = path-abempty ; begins with "/" or is empty
/ path-absolute ; begins with "/" but not "//"
/ path-noscheme ; begins with a non-colon segment
/ path-rootless ; begins with a segment
/ path-empty ; zero characters
. More... | |
Bool_t | SetQuery (const TString &path) |
Set query component of URI: query = *( pchar / "/" / "?" )
. More... | |
Bool_t | SetFragment (const TString &fragment) |
Set fragment component of URI: fragment = *( pchar / "/" / "?" )
. More... | |
Bool_t | SetRelativePart (const TString &) |
Returns kTRUE is string qualifies as relative-part: relative-part = "//" authority path-abempty
/ path-absolute
/ path-noscheme
/ path-empty
. More... | |
void | Print (Option_t *option="") const |
Display function,. More... | |
Bool_t | IsSortable () const |
void | Normalise () |
Syntax based normalisation according to RFC chapter 6.2.2. More... | |
void | Reset () |
Initialize this URI object. More... | |
Bool_t | IsAbsolute () const |
Returns kTRUE if instance qualifies as absolute-URI absolute-URI = scheme ":" hier-part [ "?" query ] cf. More... | |
Bool_t | IsRelative () const |
Returns kTRUE if instance qualifies as relative-ref relative-ref = relative-part [ "?" query ] [ "#" fragment ] cf. More... | |
Bool_t | IsUri () const |
Returns kTRUE if instance qualifies as URI URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ] cf. More... | |
Bool_t | IsReference () const |
Returns kTRUE if instance qualifies as URI-reference URI-reference = URI / relative-ref cf. More... | |
Public Member Functions inherited from TObject | |
TObject () | |
TObject (const TObject &object) | |
TObject copy ctor. More... | |
TObject & | operator= (const TObject &rhs) |
TObject assignment operator. More... | |
virtual | ~TObject () |
TObject destructor. More... | |
virtual void | AppendPad (Option_t *option="") |
Append graphics object to current pad. More... | |
virtual void | Browse (TBrowser *b) |
Browse object. May be overridden for another default action. More... | |
virtual const char * | ClassName () const |
Returns name of class to which the object belongs. More... | |
virtual void | Clear (Option_t *="") |
virtual TObject * | Clone (const char *newname="") const |
Make a clone of an object using the Streamer facility. More... | |
virtual Int_t | Compare (const TObject *obj) const |
Compare abstract method. More... | |
virtual void | Copy (TObject &object) const |
Copy this to obj. More... | |
virtual void | Delete (Option_t *option="") |
Delete this object. More... | |
virtual Int_t | DistancetoPrimitive (Int_t px, Int_t py) |
Computes distance from point (px,py) to the object. More... | |
virtual void | Draw (Option_t *option="") |
Default Draw method for all objects. More... | |
virtual void | DrawClass () const |
Draw class inheritance tree of the class to which this object belongs. More... | |
virtual TObject * | DrawClone (Option_t *option="") const |
Draw a clone of this object in the current pad. More... | |
virtual void | Dump () const |
Dump contents of object on stdout. More... | |
virtual void | Execute (const char *method, const char *params, Int_t *error=0) |
Execute method on this object with the given parameter string, e.g. More... | |
virtual void | Execute (TMethod *method, TObjArray *params, Int_t *error=0) |
Execute method on this object with parameters stored in the TObjArray. More... | |
virtual void | ExecuteEvent (Int_t event, Int_t px, Int_t py) |
Execute action corresponding to an event at (px,py). More... | |
virtual TObject * | FindObject (const char *name) const |
Must be redefined in derived classes. More... | |
virtual TObject * | FindObject (const TObject *obj) const |
Must be redefined in derived classes. More... | |
virtual Option_t * | GetDrawOption () const |
Get option used by the graphics system to draw this object. More... | |
virtual UInt_t | GetUniqueID () const |
Return the unique object id. More... | |
virtual const char * | GetName () const |
Returns name of object. More... | |
virtual const char * | GetIconName () const |
Returns mime type name of object. More... | |
virtual Option_t * | GetOption () const |
virtual char * | GetObjectInfo (Int_t px, Int_t py) const |
Returns string containing info about the object at position (px,py). More... | |
virtual const char * | GetTitle () const |
Returns title of object. More... | |
virtual Bool_t | HandleTimer (TTimer *timer) |
Execute action in response of a timer timing out. More... | |
virtual ULong_t | Hash () const |
Return hash value for this object. More... | |
virtual Bool_t | InheritsFrom (const char *classname) const |
Returns kTRUE if object inherits from class "classname". More... | |
virtual Bool_t | InheritsFrom (const TClass *cl) const |
Returns kTRUE if object inherits from TClass cl. More... | |
virtual void | Inspect () const |
Dump contents of this object in a graphics canvas. More... | |
virtual Bool_t | IsFolder () const |
Returns kTRUE in case object contains browsable objects (like containers or lists of other objects). More... | |
virtual Bool_t | IsEqual (const TObject *obj) const |
Default equal comparison (objects are equal if they have the same address in memory). More... | |
Bool_t | IsOnHeap () const |
Bool_t | IsZombie () const |
virtual Bool_t | Notify () |
This method must be overridden to handle object notification. More... | |
virtual void | ls (Option_t *option="") const |
The ls function lists the contents of a class on stdout. More... | |
virtual void | Paint (Option_t *option="") |
This method must be overridden if a class wants to paint itself. More... | |
virtual void | Pop () |
Pop on object drawn in a pad to the top of the display list. More... | |
virtual Int_t | Read (const char *name) |
Read contents of object with specified name from the current directory. More... | |
virtual void | RecursiveRemove (TObject *obj) |
Recursively remove this object from a list. More... | |
virtual void | SaveAs (const char *filename="", Option_t *option="") const |
Save this object in the file specified by filename. More... | |
virtual void | SavePrimitive (std::ostream &out, Option_t *option="") |
Save a primitive as a C++ statement(s) on output stream "out". More... | |
virtual void | SetDrawOption (Option_t *option="") |
Set drawing option for object. More... | |
virtual void | SetUniqueID (UInt_t uid) |
Set the unique object id. More... | |
virtual void | UseCurrentStyle () |
Set current style settings in this object This function is called when either TCanvas::UseCurrentStyle or TROOT::ForceStyle have been invoked. More... | |
virtual Int_t | Write (const char *name=0, Int_t option=0, Int_t bufsize=0) |
Write this object to the current directory. More... | |
virtual Int_t | Write (const char *name=0, Int_t option=0, Int_t bufsize=0) const |
Write this object to the current directory. More... | |
void * | operator new (size_t sz) |
void * | operator new[] (size_t sz) |
void * | operator new (size_t sz, void *vp) |
void * | operator new[] (size_t sz, void *vp) |
void | operator delete (void *ptr) |
Operator delete. More... | |
void | operator delete[] (void *ptr) |
Operator delete []. More... | |
void | SetBit (UInt_t f, Bool_t set) |
Set or unset the user status bits as specified in f. More... | |
void | SetBit (UInt_t f) |
void | ResetBit (UInt_t f) |
Bool_t | TestBit (UInt_t f) const |
Int_t | TestBits (UInt_t f) const |
void | InvertBit (UInt_t f) |
virtual void | Info (const char *method, const char *msgfmt,...) const |
Issue info message. More... | |
virtual void | Warning (const char *method, const char *msgfmt,...) const |
Issue warning message. More... | |
virtual void | Error (const char *method, const char *msgfmt,...) const |
Issue error message. More... | |
virtual void | SysError (const char *method, const char *msgfmt,...) const |
Issue system error message. More... | |
virtual void | Fatal (const char *method, const char *msgfmt,...) const |
Issue fatal error message. More... | |
void | AbstractMethod (const char *method) const |
Use this method to implement an "abstract" method that you don't want to leave purely abstract. More... | |
void | MayNotUse (const char *method) const |
Use this method to signal that a method (defined in a base class) may not be called in a derived class (in principle against good design since a child class should not provide less functionality than its parent, however, sometimes it is necessary). More... | |
void | Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const |
Use this method to declare a method obsolete. More... | |
Static Public Member Functions | |
static Bool_t | IsUnreserved (const TString &string) |
Returns kTRUE, if the given string does not contain RFC 3986 reserved characters . More... | |
static const TString | PctEncode (const TString &source) |
Percent-encode and return the given string according to RFC 3986 in principle, this function cannot fail or produce an error. More... | |
static const TString | PctDecode (const TString &source) |
Percent-decode the given string according to chapter 2.1 we assume a valid pct-encoded string. More... | |
static const TString | PctDecodeUnreserved (const TString &source) |
Percent-decode the given string according to chapter 2.1 we assume a valid pct-encoded string. More... | |
static const TString | PctNormalise (const TString &source) |
Normalise the percent-encoded parts of the string i.e. More... | |
static Bool_t | IsScheme (const TString &) |
Returns kTRUE if string qualifies as URI scheme: . More... | |
static Bool_t | IsHierPart (const TString &) |
Returns kTRUE if string qualifies as hier-part: hier-part = "//" authority path-abempty
/ path-absolute
/ path-rootless
/ path-empty
. More... | |
static Bool_t | IsAuthority (const TString &) |
Returns kTRUE if string qualifies as valid URI authority: authority = [ userinfo "@" ] host [ ":" port ]
. More... | |
static Bool_t | IsUserInfo (const TString &) |
Return kTRUE is string qualifies as valid URI userinfo: userinfo = *( unreserved / pct-encoded / sub-delims / ":" )
this equals to pchar without the '@' character. More... | |
static Bool_t | IsHost (const TString &) |
Returns kTRUE if string qualifies as valid host component: host = IP-literal / IPv4address / reg-name implemented: host = IPv4address / reg-name. More... | |
static Bool_t | IsIpv4 (const TString &) |
Returns kTRUE, if string holds a valid IPv4 address currently only decimal variant supported. More... | |
static Bool_t | IsRegName (const TString &) |
Returns kTRUE if string qualifies as valid reg-name: reg-name = *( unreserved / pct-encoded / sub-delims )
sub-delims = "!" / "$" / "&" / "'" / "(" / ")"
/ "*" / "+" / "," / ";" / "="
. More... | |
static Bool_t | IsPort (const TString &) |
Returns kTRUE if string qualifies as valid port component: RFC 3986: port = *DIGIT
. More... | |
static Bool_t | IsPath (const TString &) |
Returns kTRUE if string qualifies as valid path component: path = path-abempty ; begins with "/" or is empty
/ path-absolute ; begins with "/" but not "//"
/ path-noscheme ; begins with a non-colon segment
/ path-rootless ; begins with a segment
/ path-empty ; zero characters
. More... | |
static Bool_t | IsPathAbsolute (const TString &) |
Returns kTRUE if string qualifies as valid path-absolute component path-absolute = "/" [ segment-nz *( "/" segment ) ]
segment-nz = 1*pchar
segment = *pchar
. More... | |
static Bool_t | IsPathAbempty (const TString &) |
Returns kTRUE if string qualifies as valid path-abempty component: path-abempty = *( "/" segment )
segment = *pchar
. More... | |
static Bool_t | IsPathNoscheme (const TString &) |
Returns kTRUE if string qualifies as valid path-noscheme component: path-noscheme = segment-nz-nc *( "/" segment )
segment-nz-nc = 1*( unreserved / pct-encoded / sub-delims / "@" )
segment = *pchar
. More... | |
static Bool_t | IsPathRootless (const TString &) |
Returns kTRUE if string qualifies as valid path-rootless component: path-rootless = segment-nz *( "/" segment )
. More... | |
static Bool_t | IsPathEmpty (const TString &) |
Returns kTRUE if string qualifies as valid path-empty component: path-empty = 0<pchar>
. More... | |
static Bool_t | IsQuery (const TString &) |
Returns kTRUE if string qualifies as URI query: query = *( pchar / "/" / "?" )
. More... | |
static Bool_t | IsFragment (const TString &) |
Returns kTRUE if string qualifies as valid fragment component fragment = *( pchar / "/" / "?" )
. More... | |
static Bool_t | IsRelativePart (const TString &) |
Returns kTRUE is string qualifies as relative-part: relative-part = "//" authority path-abempty
/ path-absolute
/ path-noscheme
/ path-empty
. More... | |
static const TString | RemoveDotSegments (const TString &) |
This functions implements the "remove_dot_segments" routine of chapter 5.2.4 "for interpreting and removing the special '. More... | |
static TUri | Transform (const TUri &reference, const TUri &base) |
Transform a URI reference into its target URI using given a base URI. More... | |
static const TString | MergePaths (const TUri &reference, const TUri &base) |
RFC 3986, 5.3.2. More... | |
Static Public Member Functions inherited from TObject | |
static Long_t | GetDtorOnly () |
Return destructor only flag. More... | |
static void | SetDtorOnly (void *obj) |
Set destructor only flag. More... | |
static Bool_t | GetObjectStat () |
Get status of object stat flag. More... | |
static void | SetObjectStat (Bool_t stat) |
Turn on/off tracking of objects in the TObjectTable. More... | |
Friends | |
Bool_t | operator== (const TUri &u1, const TUri &u2) |
Implementation of a TUri Equivalence operator that uses syntax-based normalisation see chapter 6.2.2. More... | |
Additional Inherited Members | |
Public Types inherited from TObject | |
enum | EStatusBits { kCanDelete = BIT(0), kMustCleanup = BIT(3), kObjInCanvas = BIT(3), kIsReferenced = BIT(4), kHasUUID = BIT(5), kCannotPick = BIT(6), kNoContextMenu = BIT(8), kInvalidObject = BIT(13) } |
enum | { kIsOnHeap = 0x01000000, kNotDeleted = 0x02000000, kZombie = 0x04000000, kBitMask = 0x00ffffff } |
enum | { kSingleKey = BIT(0), kOverwrite = BIT(1), kWriteDelete = BIT(2) } |
Protected Member Functions inherited from TObject | |
void | MakeZombie () |
virtual void | DoError (int level, const char *location, const char *fmt, va_list va) const |
Interface to ErrorHandler (protected). More... | |
#include <TUri.h>
TUri::TUri | ( | const TString & | uri | ) |
TUri::TUri | ( | const char * | uri | ) |
const TString TUri::GetAuthority | ( | ) | const |
Returns the authority part of the instance:
.
Definition at line 282 of file TUri.cxx.
Referenced by GetHierPart(), GetRelativePart(), Print(), and Transform().
|
inline |
Definition at line 93 of file TUri.h.
Referenced by TDataSetManager::ParseUri(), and Transform().
const TString TUri::GetHierPart | ( | ) | const |
Definition at line 659 of file TUri.cxx.
Referenced by GetUri(), HasHierPart(), and Print().
|
inline |
Definition at line 89 of file TUri.h.
Referenced by Normalise().
|
inline |
Definition at line 91 of file TUri.h.
Referenced by MergePaths(), Normalise(), TDataSetManager::ParseUri(), and Transform().
|
inline |
Definition at line 90 of file TUri.h.
Referenced by TFileCollection::GetFilesOnServer(), and TFileCollection::GetFilesPerServer().
|
inline |
Definition at line 92 of file TUri.h.
Referenced by TDataSetManager::ParseUri(), and Transform().
const TString TUri::GetRelativePart | ( | ) | const |
relative-part = "//" authority path-abempty
Definition at line 675 of file TUri.cxx.
Referenced by HasRelativePart().
|
inline |
Definition at line 84 of file TUri.h.
Referenced by TFileCollection::GetFilesOnServer(), TFileCollection::GetFilesPerServer(), and Transform().
const TString TUri::GetUri | ( | ) | const |
Returns the whole URI - an implementation of chapter 5.3 component recomposition.
The result URI is composed out of the five basic parts.
Definition at line 139 of file TUri.cxx.
Referenced by operator==(), Print(), TProofLite::SetDataSetTreeName(), and TProof::SetDataSetTreeName().
|
inline |
Definition at line 97 of file TUri.h.
Referenced by GetHierPart(), GetRelativePart(), MergePaths(), Print(), and Transform().
|
inline |
Definition at line 103 of file TUri.h.
Referenced by IsAbsolute(), and Transform().
|
inline |
Definition at line 96 of file TUri.h.
Referenced by IsAbsolute(), and IsUri().
|
inline |
Definition at line 101 of file TUri.h.
Referenced by Transform().
|
inline |
Definition at line 102 of file TUri.h.
Referenced by TDataSetManager::ParseUri(), and Transform().
|
inline |
Definition at line 104 of file TUri.h.
Referenced by IsRelative().
|
inline |
Definition at line 95 of file TUri.h.
Referenced by IsAbsolute(), IsRelative(), IsUri(), and Transform().
Bool_t TUri::IsAbsolute | ( | ) | const |
Returns kTRUE if string qualifies as valid fragment component
.
Definition at line 515 of file TUri.cxx.
Referenced by SetFragment().
Returns kTRUE if string qualifies as hier-part:
.
Definition at line 742 of file TUri.cxx.
Referenced by HasHierPart().
Returns kTRUE if string qualifies as valid host component: host = IP-literal / IPv4address / reg-name implemented: host = IPv4address / reg-name.
Definition at line 838 of file TUri.cxx.
Referenced by IsAuthority(), and SetHost().
Returns kTRUE if string qualifies as valid path component:
.
Definition at line 853 of file TUri.cxx.
Referenced by SetPath().
Returns kTRUE if string qualifies as valid path-abempty component:
.
Definition at line 869 of file TUri.cxx.
Referenced by GetHierPart(), GetRelativePart(), IsPath(), Print(), SetHierPart(), and SetRelativePart().
Returns kTRUE if string qualifies as valid path-absolute component
.
Definition at line 884 of file TUri.cxx.
Referenced by IsPath(), Print(), SetHierPart(), and SetRelativePart().
Returns kTRUE if string qualifies as valid path-empty component:
.
Definition at line 925 of file TUri.cxx.
Referenced by IsPath(), Print(), SetHierPart(), and SetRelativePart().
Returns kTRUE if string qualifies as valid path-noscheme component:
.
Definition at line 899 of file TUri.cxx.
Referenced by IsPath(), and SetRelativePart().
Returns kTRUE if string qualifies as valid path-rootless component:
.
Definition at line 912 of file TUri.cxx.
Referenced by IsPath(), Print(), and SetHierPart().
Returns kTRUE if string qualifies as valid port component:
.
Definition at line 936 of file TUri.cxx.
Referenced by IsAuthority(), and SetPort().
Returns kTRUE if string qualifies as URI query:
.
Definition at line 319 of file TUri.cxx.
Referenced by SetQuery().
Bool_t TUri::IsReference | ( | ) | const |
Bool_t TUri::IsRelative | ( | ) | const |
Returns kTRUE if instance qualifies as relative-ref relative-ref = relative-part [ "?" query ] [ "#" fragment ] cf.
Appendix A.
Definition at line 216 of file TUri.cxx.
Referenced by IsReference(), and Print().
Returns kTRUE is string qualifies as relative-part:
.
Definition at line 759 of file TUri.cxx.
Referenced by HasRelativePart().
Returns kTRUE if string qualifies as URI scheme:
.
Definition at line 269 of file TUri.cxx.
Referenced by SetScheme().
|
inlinevirtual |
Returns kTRUE, if the given string does not contain RFC 3986 reserved characters
.
Definition at line 974 of file TUri.cxx.
Referenced by PctEncode().
Bool_t TUri::IsUri | ( | ) | const |
Returns kTRUE if instance qualifies as URI URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ] cf.
Appendix A.
Definition at line 226 of file TUri.cxx.
Referenced by IsReference(), and Print().
Return kTRUE is string qualifies as valid URI userinfo:
this equals to pchar without the '@' character.
Definition at line 427 of file TUri.cxx.
Referenced by IsAuthority(), and SetUserInfo().
RFC 3986, 5.3.2.
If the base URI has a defined authority component and an empty path, then return a string consisting of "/" concatenated with the reference's path; otherwise, return a string consisting of the reference's path component appended to all but the last segment of the base URI's path (i.e., excluding any characters after the right-most "/" in the base URI path, or excluding the entire base URI path if it does not contain any "/" characters).
Definition at line 1179 of file TUri.cxx.
Referenced by Transform().
void TUri::Normalise | ( | ) |
Syntax based normalisation according to RFC chapter 6.2.2.
Definition at line 984 of file TUri.cxx.
Referenced by operator==().
Percent-decode the given string according to chapter 2.1 we assume a valid pct-encoded string.
Definition at line 1011 of file TUri.cxx.
Referenced by Normalise().
Normalise the percent-encoded parts of the string i.e.
uppercase the hexadecimal digits %[:alpha:][:alpha:] -> %[:ALPHA:][:ALPHA:]
Definition at line 1056 of file TUri.cxx.
Referenced by Normalise().
This functions implements the "remove_dot_segments" routine of chapter 5.2.4 "for interpreting and removing the special '.
' and '..' complete path segments from a referenced path".
Definition at line 158 of file TUri.cxx.
Referenced by Normalise(), and Transform().
Set authority part of URI:
.
Split into components {userinfo@, host, :port}, remember that according to the RFC, it is necessary to distinguish between missing component (no delimiter) and empty component (delimiter present).
Definition at line 337 of file TUri.cxx.
Referenced by SetHierPart(), SetRelativePart(), SetUri(), and Transform().
Set fragment component of URI:
.
Definition at line 497 of file TUri.cxx.
Referenced by TProofLite::SetDataSetTreeName(), TProof::SetDataSetTreeName(), SetUri(), and Transform().
returns hier-part component of URI
Definition at line 692 of file TUri.cxx.
Referenced by IsHierPart().
Set host component of URI:
.
Definition at line 441 of file TUri.cxx.
Referenced by Normalise(), and SetAuthority().
Set path component of URI:
.
Definition at line 480 of file TUri.cxx.
Referenced by Normalise(), SetHierPart(), SetRelativePart(), SetUri(), and Transform().
Set port component of URI:
.
Definition at line 459 of file TUri.cxx.
Referenced by SetAuthority().
Set query component of URI:
.
Definition at line 297 of file TUri.cxx.
Referenced by SetUri(), and Transform().
Returns kTRUE is string qualifies as relative-part:
.
Definition at line 776 of file TUri.cxx.
Referenced by IsRelativePart().
Set scheme component of URI:
.
Definition at line 247 of file TUri.cxx.
Referenced by SetUri(), and Transform().
Parse URI and set the member variables accordingly, returns kTRUE if URI validates, and kFALSE otherwise:
.
Definition at line 600 of file TUri.cxx.
Referenced by TFileCollection::GetFilesPerServer(), TDataSetManagerFile::Init(), and TUri().
Set userinfo component of URI:
.
Definition at line 404 of file TUri.cxx.
Referenced by SetAuthority().
Transform a URI reference into its target URI using given a base URI.
This is an implementation of the pseudocode in chapter 5.2.2.
Definition at line 1121 of file TUri.cxx.
Referenced by TDataSetManager::ParseUri().
|
private |
Definition at line 65 of file TUri.h.
Referenced by GetFragment(), GetUri(), Normalise(), operator=(), Print(), Reset(), SetFragment(), and TUri().
|
private |
Definition at line 73 of file TUri.h.
Referenced by GetUri(), HasFragment(), operator=(), Print(), Reset(), SetFragment(), and TUri().
|
private |
Definition at line 69 of file TUri.h.
Referenced by HasAuthority(), HasHost(), Normalise(), operator=(), Print(), Reset(), SetAuthority(), SetHost(), and TUri().
|
private |
Definition at line 71 of file TUri.h.
Referenced by HasPath(), Normalise(), operator=(), Print(), Reset(), SetPath(), and TUri().
|
private |
Definition at line 70 of file TUri.h.
Referenced by GetAuthority(), HasPort(), operator=(), Print(), Reset(), SetAuthority(), SetPort(), and TUri().
|
private |
Definition at line 72 of file TUri.h.
Referenced by GetUri(), HasQuery(), operator=(), Print(), Reset(), SetQuery(), and TUri().
|
private |
Definition at line 67 of file TUri.h.
Referenced by GetUri(), HasScheme(), operator=(), Print(), Reset(), SetScheme(), and TUri().
|
private |
Definition at line 68 of file TUri.h.
Referenced by GetAuthority(), HasUserInfo(), operator=(), Print(), Reset(), SetAuthority(), SetUserInfo(), and TUri().
|
private |
Definition at line 61 of file TUri.h.
Referenced by GetAuthority(), GetHost(), Normalise(), operator=(), Print(), Reset(), SetHost(), and TUri().
|
private |
Definition at line 63 of file TUri.h.
Referenced by GetHierPart(), GetPath(), GetRelativePart(), Normalise(), operator=(), Print(), Reset(), SetPath(), and TUri().
|
private |
Definition at line 62 of file TUri.h.
Referenced by GetAuthority(), GetPort(), operator=(), Print(), Reset(), SetPort(), and TUri().
|
private |
Definition at line 64 of file TUri.h.
Referenced by GetQuery(), GetUri(), Normalise(), operator=(), Print(), Reset(), SetQuery(), and TUri().
|
private |
Definition at line 59 of file TUri.h.
Referenced by GetScheme(), GetUri(), Normalise(), operator=(), Print(), Reset(), SetScheme(), and TUri().
|
private |
Definition at line 60 of file TUri.h.
Referenced by GetAuthority(), GetUserInfo(), Normalise(), operator=(), Print(), Reset(), SetUserInfo(), and TUri().