Teuchos Package Browser (Single Doxygen Collection)
Version of the Day
|
An abstract base class for converting Dependencies to and from XML. More...
#include <Teuchos_ConditionXMLConverter.hpp>
Converter Functions | |
RCP< Condition > | fromXMLtoCondition (const XMLObject &xmlObj, const XMLParameterListReader::EntryIDsMap &entryIDsMap) const |
Converts a given XMLObject to a Condition. More... | |
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. More... | |
XMLObject | fromConditiontoXML (const RCP< const Condition > condition, const XMLParameterListWriter::EntryIDsMap &entryIDsMap) const |
Converters a given ParameterEntryValidator to XML. More... | |
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. More... | |
Attribute/Query Functions | |
static const std::string & | getTypeAttributeName () |
Returns the string to be used for the type attribute. More... | |
Additional Inherited Members | |
Public Member Functions inherited from Teuchos::Describable | |
virtual std::string | description () const |
Return a simple one-line description of this object. More... | |
virtual void | describe (FancyOStream &out, const EVerbosityLevel verbLevel=verbLevel_default) const |
Print the object with some verbosity level to a FancyOStream. More... | |
void | describe (std::ostream &out, const EVerbosityLevel verbLevel=verbLevel_default) const |
Version of describe() that takes an std::ostream instead of a FancyOStream. More... | |
virtual | ~Describable () |
Destructor (marked virtual for memory safety of derived classes). More... | |
Public Member Functions inherited from Teuchos::LabeledObject | |
LabeledObject () | |
Construct with an empty label. More... | |
virtual | ~LabeledObject () |
virtual void | setObjectLabel (const std::string &objectLabel) |
Set the object label (see LabeledObject). More... | |
virtual std::string | getObjectLabel () const |
Get the object label (see LabeledObject). More... | |
Static Public Attributes inherited from Teuchos::Describable | |
static const EVerbosityLevel | verbLevel_default = VERB_DEFAULT |
Default value for the verbLevel argument of describe(). More... | |
Related Functions inherited from Teuchos::Describable | |
DescribableStreamManipulatorState | describe (const Describable &describable, const EVerbosityLevel verbLevel=Describable::verbLevel_default) |
Describable output stream manipulator. More... | |
std::ostream & | operator<< (std::ostream &os, const DescribableStreamManipulatorState &d) |
Output stream operator for Describable manipulator. More... | |
An abstract base class for converting Dependencies to and from XML.
Definition at line 31 of file Teuchos_ConditionXMLConverter.hpp.
RCP< Condition > Teuchos::ConditionXMLConverter::fromXMLtoCondition | ( | 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 24 of file Teuchos_ConditionXMLConverter.cpp.
|
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.
|
inlinestatic |
Returns the string to be used for the type attribute.
Definition at line 95 of file Teuchos_ConditionXMLConverter.hpp.