Library: Net Responsibility
Package: Core
Header: MyXml.h
MyXml inherits XMLConfiguration and adds some extra functionality to it. It's most important task is to extract and compile the blacklists, as well as the txtfile.
Direct Base Classes: XMLConfiguration
All Base Classes: XMLConfiguration
Member Functions: getBlacklist, getExtensions, getStringMap, getStringVector
MyXml();
MyXml(
string path
);
Load the XML file found at path.
Blacklist getBlacklist();
Extracts and compiles the keywords in the blacklist file.
Extensions getExtensions();
Extracts every Extension shipped with the blacklists.
map < string, string > getStringMap() const;
Returns a map<string, string> with all values found in the document.
vector < string > getStringVector(
string key
) const;
Returns a string vector with the values found at "key".
Logger * _logger;