10#ifndef TEUCHOS_DEPENDENCYXMLCONVERTER_HPP 
   11#define TEUCHOS_DEPENDENCYXMLCONVERTER_HPP 
   18#include "Teuchos_Dependency.hpp" 
   22#include "Teuchos_Describable.hpp" 
An object representation of a subset of XML data.
 
Writes an XML object to a parameter list.
 
Writes a ParameterList to an XML object.
 
An abstract base class for converting Dependencies to and from XML.
 
static const std::string & getDependentTagName()
Returns the string to be used for the dependent tag.
 
virtual void convertDependency(const RCP< const Dependency > dependency, XMLObject &xmlObj, const XMLParameterListWriter::EntryIDsMap &entryIDsMap, ValidatortoIDMap &validatorIDsMap) const =0
Preforms any and all special dependency conversion that is specific to a particlar Dependency.
 
static const std::string & getTypeAttributeName()
Returns the string to be used for the type attribute.
 
static const std::string & getParameterIdAttributeName()
Returns the string to be used for the ParameterID attribute.
 
virtual RCP< Dependency > convertXML(const XMLObject &xmlObj, const Dependency::ConstParameterEntryList dependees, const Dependency::ParameterEntryList dependets, const XMLParameterListReader::EntryIDsMap &entryIDsMap, const IDtoValidatorMap &validatorIDsMap) const =0
Preforms any and all special xml conversion that is specific to a particular Dependency.
 
static const std::string & getDependeeTagName()
Returns the string to be used for the dependee tag.
 
std::set< RCP< ParameterEntry >, RCPComp > ParameterEntryList
A list of Dependees.
 
std::set< RCP< const ParameterEntry >, RCPConstComp > ConstParameterEntryList
A list of dependents.
 
Base class for all objects that can describe themselves.
 
Maps Validators to integers.
 
Smart reference counting pointer class for automatic garbage collection.
 
A class for mapping validators to integers.
 
Representation of an XML data tree. XMLObject is a ref-counted handle to a XMLObjectImplem object,...
 
std::map< ParameterEntry::ParameterEntryID, RCP< ParameterEntry > > EntryIDsMap
Convenience typedef.
 
std::map< RCP< const ParameterEntry >, ParameterEntry::ParameterEntryID, RCPConstComp > EntryIDsMap
 
The Teuchos namespace contains all of the classes, structs and enums used by Teuchos,...