|
Teuchos - Trilinos Tools Package
Version of the Day
|
Provides ability to lookup ConditionXMLConverters. More...
#include <Teuchos_ConditionXMLConverterDB.hpp>
Static Public Member Functions | |
Modifier Functions | |
| static void | addConverter (RCP< const Condition > condition, RCP< ConditionXMLConverter > converterToAdd) |
| Add a converter to the database. | |
Converter Functions | |
| static RCP< const ConditionXMLConverter > | getConverter (const Condition &condition) |
| Get an appropriate ConditionXMLConverter given a Condition. | |
| static RCP< const ConditionXMLConverter > | getConverter (const XMLObject &xmlObject) |
| Get an appropriate ConditionXMLConverter given a XMLObject. | |
| static XMLObject | convertCondition (RCP< const Condition > condition, const XMLParameterListWriter::EntryIDsMap &entryIDsMap) |
| Given a condition and ConditiontoIDMap, converts the condition to XML. | |
| static RCP< Condition > | convertXML (const XMLObject &xmlObject, const XMLParameterListReader::EntryIDsMap &entryIDsMap) |
| Given an XMLObject and IDtoConditionMap, converts the XMLObject to a Condition. | |
I/O Functions | |
| static void | printKnownConverters (std::ostream &out) |
| prints the xml tags associated with all known converters | |
Provides ability to lookup ConditionXMLConverters.
Definition at line 61 of file Teuchos_ConditionXMLConverterDB.hpp.
| void Teuchos::ConditionXMLConverterDB::addConverter | ( | RCP< const Condition > | condition, |
| RCP< ConditionXMLConverter > | converterToAdd | ||
| ) | [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 51 of file Teuchos_ConditionXMLConverterDB.cpp.
| RCP< const ConditionXMLConverter > Teuchos::ConditionXMLConverterDB::getConverter | ( | const Condition & | condition | ) | [static] |
Get an appropriate ConditionXMLConverter given a Condition.
| condition | The Condition for which a converter is desired. |
Definition at line 60 of file Teuchos_ConditionXMLConverterDB.cpp.
| RCP< const ConditionXMLConverter > Teuchos::ConditionXMLConverterDB::getConverter | ( | const XMLObject & | xmlObject | ) | [static] |
Get an appropriate ConditionXMLConverter given a XMLObject.
| xmlObject | The XMLObject for which a converter is desired. |
Definition at line 74 of file Teuchos_ConditionXMLConverterDB.cpp.
| XMLObject Teuchos::ConditionXMLConverterDB::convertCondition | ( | RCP< const Condition > | condition, |
| const XMLParameterListWriter::EntryIDsMap & | entryIDsMap | ||
| ) | [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 88 of file Teuchos_ConditionXMLConverterDB.cpp.
| RCP< Condition > Teuchos::ConditionXMLConverterDB::convertXML | ( | const XMLObject & | xmlObject, |
| const XMLParameterListReader::EntryIDsMap & | entryIDsMap | ||
| ) | [static] |
Given an XMLObject and IDtoConditionMap, converts the XMLObject to a Condition.
| xmlObject | The XMLObject to be converted. |
| entryIDsMap | A map containing ParameterEntrys and their associated IDs. |
Definition at line 95 of file Teuchos_ConditionXMLConverterDB.cpp.
| static void Teuchos::ConditionXMLConverterDB::printKnownConverters | ( | std::ostream & | out | ) | [inline, static] |
prints the xml tags associated with all known converters
| out | Stream to which tags should be printed. |
Definition at line 140 of file Teuchos_ConditionXMLConverterDB.hpp.
1.7.6.1