XmlConfigurationLoader Class Reference

#include <XmlConfigurationLoader.h>

Inherited by XmlArgumentVectorLoader, XmlRepresentationLoader, and XmlTransformationLoader.

Collaboration diagram for XmlConfigurationLoader:

List of all members.


Public Member Functions

 XmlConfigurationLoader ()
 ~XmlConfigurationLoader ()
bool hasConverters ()
void registerConverter (XmlConfigurationConverter *converter)
const XmlDocumentloadConfiguration (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

List of all configuration converters in order.

Oldest supported version.

const std::string XmlConfigurationLoader::XmlDtdUrl = "http://dtd.inVRs.org/" [static]


The documentation for this class was generated from the following files:

Generated on Wed Oct 20 16:12:03 2010 for inVRs by doxygen 1.5.8