Parse attribute strings allowing iteration over the various attributes.  
 More...
#include </builds/gaudi/Gaudi/GaudiKernel/include/GaudiKernel/AttribStringParser.h>
|  | 
| boost::sregex_iterator | parse () const | 
|  | 
Parse attribute strings allowing iteration over the various attributes. 
Example of usage: 
for(auto attrib: Parser(input)) {
}
  
Definition at line 40 of file AttribStringParser.h.
◆ AttribStringParser()
  
  | 
        
          | Gaudi::Utils::AttribStringParser::AttribStringParser | ( | std::string | data, |  
          |  |  | bool | expand_vars = true |  
          |  | ) |  |  |  | inline | 
 
Initialize the parsing of an attribute string. 
- Parameters
- 
  
    | data | attribute string |  | expand_vars | if true (default) expand environment variables in values |  
 
Definition at line 118 of file AttribStringParser.h.
 
 
◆ parse()
  
  | 
        
          | boost::sregex_iterator Gaudi::Utils::AttribStringParser::parse | ( |  | ) | const |  | inlineprivate | 
 
Definition at line 124 of file AttribStringParser.h.
  125         static const boost::regex 
exp{
"[[:space:]]*([^[:space:]]+)[[:space:]]*=[[:space:]]*'(.*?)'"};
 
 
 
 
◆ begin
◆ m_data
◆ m_expandVars
  
  | 
        
          | bool Gaudi::Utils::AttribStringParser::m_expandVars |  | private | 
 
 
The documentation for this class was generated from the following file: