.. _api_Url: Url === Inherited: None .. _api_Url_description: Description ----------- .. _api_Url_public: Public Methods -------------- +------------------------------+------------------------------------------------------------------------+ | :ref:`TString` | :ref:`absoluteDir` () const | +------------------------------+------------------------------------------------------------------------+ | :ref:`TString` | :ref:`absoluteFilePath` () const | +------------------------------+------------------------------------------------------------------------+ | :ref:`TString` | :ref:`baseName` () const | +------------------------------+------------------------------------------------------------------------+ | :ref:`TString` | :ref:`completeSuffix` () const | +------------------------------+------------------------------------------------------------------------+ | :ref:`TString` | :ref:`dir` () const | +------------------------------+------------------------------------------------------------------------+ | :ref:`TString` | :ref:`filePath` () const | +------------------------------+------------------------------------------------------------------------+ | :ref:`TString` | :ref:`fragment` () const | +------------------------------+------------------------------------------------------------------------+ | :ref:`TString` | :ref:`host` () const | +------------------------------+------------------------------------------------------------------------+ | bool | :ref:`isAbsolute` () const | +------------------------------+------------------------------------------------------------------------+ | :ref:`TString` | :ref:`name` () const | +------------------------------+------------------------------------------------------------------------+ | :ref:`TString` | :ref:`query` () const | +------------------------------+------------------------------------------------------------------------+ | :ref:`TString` | :ref:`relativeDir` (const TString & base) const | +------------------------------+------------------------------------------------------------------------+ | :ref:`TString` | :ref:`relativeFilePath` (const TString & base) const | +------------------------------+------------------------------------------------------------------------+ | :ref:`TString` | :ref:`scheme` () const | +------------------------------+------------------------------------------------------------------------+ | :ref:`TString` | :ref:`suffix` () const | +------------------------------+------------------------------------------------------------------------+ | bool | :ref:`operator==` (const Url & right) const | +------------------------------+------------------------------------------------------------------------+ .. _api_Url_static: Static Methods -------------- None .. _api_Url_methods: Methods Description ------------------- .. _api_Url_782e4160: :ref:`TString` **Url::absoluteDir** () const Returns the absolute dir path of the URI. ---- .. _api_Url_a73fb290: :ref:`TString` **Url::absoluteFilePath** () const Returns the absolute file path of the URI. ---- .. _api_Url_0893f2db: :ref:`TString` **Url::baseName** () const Returns a base name of file in the URI path. ---- .. _api_Url_902e83ad: :ref:`TString` **Url::completeSuffix** () const Returns a file suffix in the URI path. ---- .. _api_Url_8f7092cd: :ref:`TString` **Url::dir** () const Returns a directory of URI path. ---- .. _api_Url_026a41f9: :ref:`TString` **Url::filePath** () const Returns the path of the URI. ---- .. _api_Url_f02b6d89: :ref:`TString` **Url::fragment** () const Returns the fragment of the URI. ---- .. _api_Url_7c34bd1a: :ref:`TString` **Url::host** () const Returns the host of the URI if it is defined; otherwise an empty string is returned. ---- .. _api_Url_fa89d50c: bool **Url::isAbsolute** () const Returns true if provided path is absolute. ---- .. _api_Url_9df7a26b: :ref:`TString` **Url::name** () const Returns a file name in the URI path. ---- .. _api_Url_e0f57469: :ref:`TString` **Url::query** () const Returns the query string of the URI if there's a query string, or an empty result if not. ---- .. _api_Url_872ea450: :ref:`TString` **Url::relativeDir** (:ref:`TString` & *base*) const Returns a relative directory of URI path relative to the given *base* directory. If paths have no common prefix, returns the full absolute path. Handles parent directory transitions (../) when paths share a common prefix. ---- .. _api_Url_64cfe082: :ref:`TString` **Url::relativeFilePath** (:ref:`TString` & *base*) const Returns a relative file path of URI relative to the given *base* directory. If paths have no common prefix, returns the full absolute path including file name. Handles parent directory transitions (../) when paths share a common prefix. ---- .. _api_Url_4a8cb2df: :ref:`TString` **Url::scheme** () const Returns the scheme of the URI. If an empty string is returned, this means the scheme is undefined and the URI is then relative. ---- .. _api_Url_b421cd6a: :ref:`TString` **Url::suffix** () const Returns a file name suffix name of file in the URI path. ---- .. _api_Url_05cfd91a: bool **Url::operator==** (:ref:`Url` & *right*) const Compares current Url with *right* hand Url; Returns true if Urls are equal.