Class to hold a resolved URL location. More...
#include <URL.h>
Public Member Functions | |
URLLocation (const std::string &url="") | |
URLLocation (const std::string &url, const std::string &name) | |
URLLocation (const URL &url) | |
URLLocation (const URL &url, const std::string &name) | |
URLLocation (const std::map< std::string, std::string > &options, const std::string &name) | |
virtual | ~URLLocation () |
const std::string & | Name () const |
virtual std::string | str () const |
virtual std::string | fullstr () const |
Protected Attributes | |
std::string | name |
Class to hold a resolved URL location.
It is specific to file indexing service registrations.
Arc::URLLocation::URLLocation | ( | const std::string & | url = "" |
) |
Creates a URLLocation from a string representaion.
Arc::URLLocation::URLLocation | ( | const std::string & | url, | |
const std::string & | name | |||
) |
Creates a URLLocation from a string representaion and a name.
Arc::URLLocation::URLLocation | ( | const URL & | url | ) |
Creates a URLLocation from a URL.
Arc::URLLocation::URLLocation | ( | const URL & | url, | |
const std::string & | name | |||
) |
Creates a URLLocation from a URL and a name.
Arc::URLLocation::URLLocation | ( | const std::map< std::string, std::string > & | options, | |
const std::string & | name | |||
) |
Creates a URLLocation from options and a name.
virtual Arc::URLLocation::~URLLocation | ( | ) | [virtual] |
URLLocation destructor.
virtual std::string Arc::URLLocation::fullstr | ( | ) | const [virtual] |
Returns a string representation including options and locations
Reimplemented from Arc::URL.
const std::string& Arc::URLLocation::Name | ( | ) | const |
Returns the URLLocation name.
virtual std::string Arc::URLLocation::str | ( | ) | const [virtual] |
Returns a string representation of the URLLocation.
Reimplemented from Arc::URL.
std::string Arc::URLLocation::name [protected] |
the URLLocation name as registered in the indexing service.