Classes | |
struct | Mapping |
class | Module |
Support class for MCP; tracks an individual module. More... | |
Functions | |
std::vector< Module > | parseConfigFile (std::string config) |
Parses the XML config file and returns a vector of modules. | |
std::vector< Module > | parseMapFile (std::string config, std::vector< Module > &theModules) |
vector< Module > parseConfigFile | ( | std::string | config | ) |
Parses the XML config file and returns a vector of modules.
From xmlparser.cpp, uses the Xerces DOM parser
Check mappings
Definition at line 17 of file xmlparser.cpp.
References Module::addCommandLineOption(), WURDE::g_logdebug, WURDE::g_logerror, WURDE::g_logfatal, WURDE::g_logwarn, Mapping::interface, WURDE::LOCALE_EXTERNAL, WURDE::LOCALE_INTERNAL, Mapping::object, WURDE::PROC_CRITICAL, WURDE::PROC_MANAGED, WURDE::PROC_UNMANAGED, Module::setBinary(), Module::setLocale(), Module::setMappings(), Module::setState(), Module::setType(), Mapping::source, and WURDE::STATE_INACTIVE.
Referenced by main().
vector< Module > parseMapFile | ( | std::string | config, | |
std::vector< Module > & | theModules | |||
) |
Definition at line 204 of file xmlparser.cpp.
References WURDE::g_logdebug, WURDE::g_logfatal, Mapping::interface, WURDE::LOCALE_EXTERNAL, Mapping::object, WURDE::PROC_MANAGED, Module::setLocale(), Module::setMappings(), Module::setState(), Module::setType(), Mapping::source, and WURDE::STATE_INACTIVE.