![]() |
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 () |
| bool | msgLvl (const MSG::Level lvl) const |
| Test the output level. More... | |
| MsgStream & | msg () const |
| The standard message stream. More... | |
| MsgStream & | msg (const MSG::Level lvl) const |
| The standard message stream. More... | |
| void | setLevel (MSG::Level lvl) |
| Change the current logging level. More... | |
Private Member Functions | |
| void | initMessaging () const |
| Initialize our message level and MessageSvc. More... | |
Private Attributes | |
| std::string | m_contactstr |
| std::string | m_prefix |
| std::string | m_url |
| std::string | m_nm |
| Message source name. More... | |
| boost::thread_specific_ptr< MsgStream > | m_msg_tls |
| MsgStream instance (a std::cout like with print-out levels) More... | |
| std::atomic< IMessageSvc * > | m_imsg { nullptr } |
| MessageSvc pointer. More... | |
| std::atomic< MSG::Level > | m_lvl { MSG::NIL } |
| Current logging level. More... | |
| std::atomic_flag m_initialized | ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT |
| Messaging initialized (initMessaging) More... | |
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 20 of file URIParser.h.
|
explicit |
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.
|
privateinherited |
Initialize our message level and MessageSvc.
This method should only be called once.
Definition at line 42 of file AthMessaging.cxx.
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 164 of file AthMessaging.h.
|
inlineinherited |
The standard message stream.
Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.
Definition at line 179 of file AthMessaging.h.
|
inlineinherited |
Test the output level.
| lvl | The message level to test against |
| true | Messages at level "lvl" will be printed |
Definition at line 151 of file AthMessaging.h.
| void pool::URIParser::parse | ( | ) |
| const std::string& pool::URIParser::prefix | ( | ) | const |
|
inherited |
Change the current logging level.
Use this rather than msg().setLevel() for proper operation with MT.
Definition at line 28 of file AthMessaging.cxx.
| void pool::URIParser::setURI | ( | const std::string & | contactstr | ) |
| const std::string& pool::URIParser::url | ( | ) | const |
|
mutableprivateinherited |
Messaging initialized (initMessaging)
Definition at line 141 of file AthMessaging.h.
|
private |
Definition at line 40 of file URIParser.h.
|
mutableprivateinherited |
MessageSvc pointer.
Definition at line 135 of file AthMessaging.h.
|
mutableprivateinherited |
Current logging level.
Definition at line 138 of file AthMessaging.h.
|
mutableprivateinherited |
MsgStream instance (a std::cout like with print-out levels)
Definition at line 132 of file AthMessaging.h.
|
privateinherited |
Message source name.
Definition at line 129 of file AthMessaging.h.
|
private |
Definition at line 41 of file URIParser.h.
|
private |
Definition at line 42 of file URIParser.h.
1.8.18