~ubuntu-branches/ubuntu/utopic/nordugrid-arc/utopic

« back to all changes in this revision

Viewing changes to src/hed/libs/common/URL.h

  • Committer: Package Import Robot
  • Author(s): Mattias Ellert
  • Date: 2014-05-01 20:51:02 UTC
  • mfrom: (1.1.11)
  • Revision ID: package-import@ubuntu.com-20140501205102-icy9t3348uxobyx7
Tags: 4.1.0-1
* 4.1.0 Release
* Call dh_autoreconf to support ppc64le (Closes: #744639)

Show diffs side-by-side

added added

removed removed

Lines of Context:
90
90
    URL();
91
91
 
92
92
    /// Constructs a new URL from a string representation.
93
 
    /* \param url      The string representation of URL
94
 
       \param encoded  Set to true if URL is encoded according to RFC 3986 */
95
 
    URL(const std::string& url, bool encoded = false);
 
93
    /**
 
94
     * \param url      The string representation of URL
 
95
     * \param encoded  Set to true if URL is encoded according to RFC 3986
 
96
     * \param defaultPort Port to use if 'url' doesn't specify port
 
97
     * \param defaultPath Path to use if 'url' doesn't specify path
 
98
     * \since Changed in 4.1.0. defaultPort and defaultPath arguments added.
 
99
     **/
 
100
    URL(const std::string& url, bool encoded = false, int defaultPort = -1, const std::string& defaultPath = "");
96
101
 
97
102
    /// Empty destructor.
98
103
    virtual ~URL();