ATLAS Offline Software
Loading...
Searching...
No Matches
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 "POOLCore/DbPrint.h"
9
10#include <string>
11namespace pool{
12
20 class URIParser : public APRMessaging {
21 public:
26 explicit URIParser(const std::string& contactstr);
32 void dump() const;
33 void setURI(const std::string& contactstr);
34 const std::string& contactstring() const;
35 const std::string& prefix() const;
36 const std::string& url() const;
37 void parse();
38
39 private:
40 std::string m_contactstr;
41 std::string m_prefix;
42 std::string m_url;
43 };
44}/* ns pool */
45
46#endif
47
48
49
50
APRMessaging(const std::string &name)
const std::string & contactstring() const
const std::string & url() const
std::string m_prefix
Definition URIParser.h:41
std::string m_contactstr
Definition URIParser.h:40
void setURI(const std::string &contactstr)
std::string m_url
Definition URIParser.h:42
const std::string & prefix() const
~URIParser()
Destructor.
void dump() const
Print the parsing result.
URIParser()
Default constructor.
URIParser(const std::string &contactstr)
Constructor.
pool namespace
Definition libname.h:15