XmlConfigurationLoader Class Reference
#include <XmlConfigurationLoader.h>
Inherited by XmlArgumentVectorLoader, XmlRepresentationLoader, and XmlTransformationLoader.
Collaboration diagram for XmlConfigurationLoader:

Public Member Functions | |
| XmlConfigurationLoader () | |
| ~XmlConfigurationLoader () | |
| bool | hasConverters () |
| void | registerConverter (XmlConfigurationConverter *converter) |
| const XmlDocument * | loadConfiguration (std::string file, bool automaticUpdateIfConfigured=true) |
| bool | updateXmlElement (XmlElement *&element, const Version &srcVersion, const Version &dstVersion, std::string configFile) |
| Version | getLatestVersion () const |
Static Public Attributes | |
| static const std::string | XmlDtdUrl = "http://dtd.inVRs.org/" |
Private Member Functions | |
| Version | getConfigurationVersion (XmlDocument *document) |
| bool | convertDocumentToVersion (XmlDocument *document, Version &version, const Version &dstVersion, std::string configFile) |
Private Attributes | |
| std::vector < XmlConfigurationConverter * > | converterList |
| List of all configuration converters in order. | |
| Version | latestVersion |
| Latest version. | |
| Version | oldestVersion |
| Oldest supported version. | |
Constructor & Destructor Documentation
| XmlConfigurationLoader::XmlConfigurationLoader | ( | ) |
| XmlConfigurationLoader::~XmlConfigurationLoader | ( | ) |
Member Function Documentation
| bool XmlConfigurationLoader::convertDocumentToVersion | ( | XmlDocument * | document, | |
| Version & | version, | |||
| const Version & | dstVersion, | |||
| std::string | configFile | |||
| ) | [private] |
| Version XmlConfigurationLoader::getConfigurationVersion | ( | XmlDocument * | document | ) | [private] |
| Version XmlConfigurationLoader::getLatestVersion | ( | ) | const |
| bool XmlConfigurationLoader::hasConverters | ( | ) |
| const XmlDocument * XmlConfigurationLoader::loadConfiguration | ( | std::string | file, | |
| bool | automaticUpdateIfConfigured = true | |||
| ) |
| void XmlConfigurationLoader::registerConverter | ( | XmlConfigurationConverter * | converter | ) |
| bool XmlConfigurationLoader::updateXmlElement | ( | XmlElement *& | element, | |
| const Version & | srcVersion, | |||
| const Version & | dstVersion, | |||
| std::string | configFile | |||
| ) |
Member Data Documentation
std::vector<XmlConfigurationConverter*> XmlConfigurationLoader::converterList [private] |
List of all configuration converters in order.
Version XmlConfigurationLoader::latestVersion [private] |
Latest version.
Version XmlConfigurationLoader::oldestVersion [private] |
Oldest supported version.
const std::string XmlConfigurationLoader::XmlDtdUrl = "http://dtd.inVRs.org/" [static] |
The documentation for this class was generated from the following files:
- src/inVRs/SystemCore/XmlConfigurationLoader.h
- src/inVRs/SystemCore/XmlConfigurationLoader.cpp
Generated on Wed Oct 20 16:12:03 2010 for inVRs by
1.5.8