Iterator to loop over the tag/value pairs in the attribute string.
More...
#include </builds/gaudi/Gaudi/GaudiKernel/include/GaudiKernel/AttribStringParser.h>
Iterator to loop over the tag/value pairs in the attribute string.
Definition at line 50 of file AttribStringParser.h.
◆ Iterator() [1/4]
| Gaudi::Utils::AttribStringParser::Iterator::Iterator |
( |
| ) |
|
|
default |
◆ Iterator() [2/4]
| Gaudi::Utils::AttribStringParser::Iterator::Iterator |
( |
const boost::sregex_iterator & |
it, |
|
|
bool |
expand_vars |
|
) |
| |
|
inline |
◆ Iterator() [3/4]
| Gaudi::Utils::AttribStringParser::Iterator::Iterator |
( |
const Iterator & |
other | ) |
|
|
inline |
◆ Iterator() [4/4]
| Gaudi::Utils::AttribStringParser::Iterator::Iterator |
( |
Iterator && |
other | ) |
|
|
inline |
◆ i_setAttrib()
| void Gaudi::Utils::AttribStringParser::Iterator::i_setAttrib |
( |
| ) |
|
|
inlineprivate |
Helper method used to update the cached Attrib instance when dereferencing the iterator.
Definition at line 82 of file AttribStringParser.h.
83 static const boost::sregex_iterator endmark;
84 if (
m_it != endmark ) {
86 m_attrib = Attrib{ ( *m_it )[1], ( *m_it )[2] };
88 static const boost::regex varexp{
"\\$\\{([^}]+)\\}" };
95 const std::string name = m[1];
96 const char* cname = name.c_str();
97 if ( System::isEnvSet( cname ) ) {
99 return System::getEnv( cname );
103 boost::match_default | boost::format_all );
◆ operator!=()
◆ operator*()
| reference Gaudi::Utils::AttribStringParser::Iterator::operator* |
( |
| ) |
|
|
inline |
◆ operator++() [1/2]
| Iterator Gaudi::Utils::AttribStringParser::Iterator::operator++ |
( |
| ) |
|
|
inline |
◆ operator++() [2/2]
| Iterator Gaudi::Utils::AttribStringParser::Iterator::operator++ |
( |
int |
| ) |
|
|
inline |
◆ operator==()
| bool Gaudi::Utils::AttribStringParser::Iterator::operator== |
( |
const Iterator & |
other | ) |
|
|
inline |
◆ m_attrib
| Attrib Gaudi::Utils::AttribStringParser::Iterator::m_attrib |
|
private |
◆ m_expandVars
| bool Gaudi::Utils::AttribStringParser::Iterator::m_expandVars = false |
|
private |
◆ m_it
| boost::sregex_iterator Gaudi::Utils::AttribStringParser::Iterator::m_it |
|
private |
The documentation for this class was generated from the following file: