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