ATLAS Offline Software
|
#include <Database/APR/FileCatalog/URIParser.h>
Public Member Functions | |
URIParser (const std::string &contactstr) | |
Constructor. More... | |
URIParser () | |
Default constructor. More... | |
~URIParser () | |
Destructor. More... | |
void | dump () const |
Print the parsing result. More... | |
void | setURI (const std::string &contactstr) |
const std::string & | contactstring () const |
const std::string & | prefix () const |
const std::string & | url () const |
void | parse () |
Private Attributes | |
std::string | m_contactstr |
std::string | m_prefix |
std::string | m_url |
URI parsing utility class. The URI string can be read from environment variable POOL_CATALOG or from the URIParser constructor. Protocol, host, path MUST be specified.
Definition at line 18 of file URIParser.h.
pool::URIParser::URIParser | ( | const std::string & | contactstr | ) |
Constructor.
Contact string will be read from the environment variable POOL_CATALOG if no argument is given to the constructor.
contactstr | the contact string to the catalog |
pool::URIParser::URIParser | ( | ) |
Default constructor.
pool::URIParser::~URIParser | ( | ) |
Destructor.
const std::string& pool::URIParser::contactstring | ( | ) | const |
void pool::URIParser::dump | ( | ) | const |
Print the parsing result.
void pool::URIParser::parse | ( | ) |
const std::string& pool::URIParser::prefix | ( | ) | const |
void pool::URIParser::setURI | ( | const std::string & | contactstr | ) |
const std::string& pool::URIParser::url | ( | ) | const |
|
private |
Definition at line 38 of file URIParser.h.
|
private |
Definition at line 39 of file URIParser.h.
|
private |
Definition at line 40 of file URIParser.h.