ATLAS Offline Software
URIParser.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef POOLCORE_URIPARSER_H
6 #define POOLCORE_URIPARSER_H
7 
8 #include <string>
9 namespace pool{
10 
18  class URIParser{
19  public:
24  URIParser(const std::string& contactstr);
30  void dump() const;
31  void setURI(const std::string& contactstr);
32  const std::string& contactstring() const;
33  const std::string& prefix() const;
34  const std::string& url() const;
35  void parse();
36 
37  private:
38  std::string m_contactstr;
39  std::string m_prefix;
40  std::string m_url;
41  };
42 }/* ns pool */
43 
44 #endif
45 
46 
47 
48 
pool::URIParser::~URIParser
~URIParser()
Destructor.
pool::URIParser::url
const std::string & url() const
pool
pool namespace
Definition: libname.h:15
pool::URIParser::URIParser
URIParser(const std::string &contactstr)
Constructor.
pool::URIParser::m_prefix
std::string m_prefix
Definition: URIParser.h:39
pool::URIParser::URIParser
URIParser()
Default constructor.
pool::URIParser::parse
void parse()
pool::URIParser
Definition: URIParser.h:18
pool::URIParser::dump
void dump() const
Print the parsing result.
pool::URIParser::m_url
std::string m_url
Definition: URIParser.h:40
pool::URIParser::prefix
const std::string & prefix() const
pool::URIParser::setURI
void setURI(const std::string &contactstr)
pool::URIParser::m_contactstr
std::string m_contactstr
Definition: URIParser.h:38
pool::URIParser::contactstring
const std::string & contactstring() const