19 #ifndef REGEXCONFPROVIDER_HPP_ 20 #define REGEXCONFPROVIDER_HPP_ 29 #include "regexConfParser.hpp" 42 void maybeLoad(
const std::string& identity);
43 void maybeLoad(
const std::string& identity,
44 std::istringstream& stream);
47 const std::string& key);
55 std::ifstream& stream);
Provide regex using conf file.
RegexConfProvider(const bool isVerbosityDebug=false)
Constructor to set verbosity level.
static std::map< std::string, RegexMap > _regexMapMap
Map to store RegexMap with a string key.
const char * getRegexValue(const std::string &name, const std::string &key)
Get the regex as string from the RegexMap.
string getRegexConfFile(const string &identity)
Get the regex conf file.
bool getRegexConfStream(const std::string &identity, std::ifstream &stream)
Get file stream for regex conf file.
void maybeLoad(const std::string &identity)
Check if identity already loaded in RegexMap, if not load them.