|
Teuchos - Trilinos Tools Package
Version of the Day
|
An abstract base class for converting Dependencies to and from XML. More...
#include <Teuchos_ConditionXMLConverter.hpp>
Public Member Functions | |
Converter Functions | |
| RCP< Condition > | fromXMLtoCondition (const XMLObject &xmlObj, const XMLParameterListReader::EntryIDsMap &entryIDsMap) const |
| Converts a given XMLObject to a Condition. | |
| virtual RCP< Condition > | convertXML (const XMLObject &xmlObj, const XMLParameterListReader::EntryIDsMap &entryIDsMap) const =0 |
| Preforms any and all special xml conversion that is specific to a particular Condition. | |
| XMLObject | fromConditiontoXML (const RCP< const Condition > condition, const XMLParameterListWriter::EntryIDsMap &entryIDsMap) const |
| Converters a given ParameterEntryValidator to XML. | |
| virtual void | convertCondition (const RCP< const Condition > condition, XMLObject &xmlObj, const XMLParameterListWriter::EntryIDsMap &entryIDsMap) const =0 |
| Preforms any and all special condition conversion that is specific to a particlar Condition. | |
Static Public Member Functions | |
Attribute/Query Functions | |
| static const std::string & | getTypeAttributeName () |
| Returns the string to be used for the type attribute. | |
An abstract base class for converting Dependencies to and from XML.
Definition at line 63 of file Teuchos_ConditionXMLConverter.hpp.
| RCP< Condition > Teuchos::ConditionXMLConverter::fromXMLtoCondition | ( | const XMLObject & | xmlObj, |
| const XMLParameterListReader::EntryIDsMap & | entryIDsMap | ||
| ) | const |
| virtual RCP<Condition> Teuchos::ConditionXMLConverter::convertXML | ( | const XMLObject & | xmlObj, |
| const XMLParameterListReader::EntryIDsMap & | entryIDsMap | ||
| ) | const [pure virtual] |
Preforms any and all special xml conversion that is specific to a particular Condition.
| xmlObj | The xml to be converted. in which this resulting condition will be inserted. |
| entryIDsMap | A map containing ParameterEntrys and their assocaited |
Implemented in Teuchos::ParameterConditionConverter, Teuchos::NotConditionConverter, and Teuchos::BoolLogicConditionConverter.
| XMLObject Teuchos::ConditionXMLConverter::fromConditiontoXML | ( | const RCP< const Condition > | condition, |
| const XMLParameterListWriter::EntryIDsMap & | entryIDsMap | ||
| ) | const |
Converters a given ParameterEntryValidator to XML.
| condition | The Condition to be converted to XML. |
| entryIDsMap | A map containing ParameterEntrys and their assocaited |
Definition at line 56 of file Teuchos_ConditionXMLConverter.cpp.
| virtual void Teuchos::ConditionXMLConverter::convertCondition | ( | const RCP< const Condition > | condition, |
| XMLObject & | xmlObj, | ||
| const XMLParameterListWriter::EntryIDsMap & | entryIDsMap | ||
| ) | const [pure virtual] |
Preforms any and all special condition conversion that is specific to a particlar Condition.
| condition | The Condition to be converted. |
| xmlObj | The xml representation of the condition on to which all children should be attached and attributes added. |
| entryIDsMap | A map containing ParameterEntrys and their assocaited |
Implemented in Teuchos::ParameterConditionConverter, Teuchos::NotConditionConverter, and Teuchos::BoolLogicConditionConverter.
| static const std::string& Teuchos::ConditionXMLConverter::getTypeAttributeName | ( | ) | [inline, static] |
Returns the string to be used for the type attribute.
Definition at line 127 of file Teuchos_ConditionXMLConverter.hpp.
1.7.6.1