Teuchos Package Browser (Single Doxygen Collection)
Version of the Day
|
Provides ability to lookup ConditionXMLConverters. More...
#include <Teuchos_ConditionXMLConverterDB.hpp>
Modifier Functions | |
static void | addConverter (RCP< const Condition > condition, RCP< ConditionXMLConverter > converterToAdd) |
Add a converter to the database. More... | |
Converter Functions | |
static RCP< const ConditionXMLConverter > | getConverter (const Condition &condition) |
Get an appropriate ConditionXMLConverter given a Condition. More... | |
static RCP< const ConditionXMLConverter > | getConverter (const XMLObject &xmlObject) |
Get an appropriate ConditionXMLConverter given a XMLObject. More... | |
static XMLObject | convertCondition (RCP< const Condition > condition, const XMLParameterListWriter::EntryIDsMap &entryIDsMap) |
Given a condition and ConditiontoIDMap, converts the condition to XML. More... | |
static RCP< Condition > | convertXML (const XMLObject &xmlObject, const XMLParameterListReader::EntryIDsMap &entryIDsMap) |
Given an XMLObject and IDtoConditionMap, converts the XMLObject to a Condition. More... | |
I/O Functions | |
static void | printKnownConverters (std::ostream &out) |
prints the xml tags associated with all known converters More... | |
Private Members | |
typedef std::map< std::string, RCP< ConditionXMLConverter > > | ConverterMap |
convience class. More... | |
typedef std::pair< std::string, RCP< ConditionXMLConverter > > | ConverterPair |
convience typedef. More... | |
static ConverterMap & | getConverterMap () |
Gets the default converter to be used to convert Conditions. More... | |
Provides ability to lookup ConditionXMLConverters.
Definition at line 28 of file Teuchos_ConditionXMLConverterDB.hpp.
|
private |
convience class.
Definition at line 126 of file Teuchos_ConditionXMLConverterDB.hpp.
|
private |
convience typedef.
Definition at line 129 of file Teuchos_ConditionXMLConverterDB.hpp.
|
static |
Add a converter to the database.
condition | A dummy condition representing the type of contidion this converter will convert. |
convertToAdd | The converter to add to the database. |
Definition at line 19 of file Teuchos_ConditionXMLConverterDB.cpp.
|
static |
Get an appropriate ConditionXMLConverter given a Condition.
condition | The Condition for which a converter is desired. |
Definition at line 28 of file Teuchos_ConditionXMLConverterDB.cpp.
|
static |
Get an appropriate ConditionXMLConverter given a XMLObject.
xmlObject | The XMLObject for which a converter is desired. |
Definition at line 42 of file Teuchos_ConditionXMLConverterDB.cpp.
|
static |
Given a condition and ConditiontoIDMap, converts the condition to XML.
The | condition to convert. |
entryIDsMap | A map containing ParameterEntrys and their associated IDs. |
Definition at line 56 of file Teuchos_ConditionXMLConverterDB.cpp.
|
static |
|
inlinestatic |
prints the xml tags associated with all known converters
out | Stream to which tags should be printed. |
Definition at line 107 of file Teuchos_ConditionXMLConverterDB.hpp.
|
staticprivate |
Gets the default converter to be used to convert Conditions.
Definition at line 72 of file Teuchos_ConditionXMLConverterDB.cpp.