Teuchos Package Browser (Single Doxygen Collection)
Version of the Day
|
An xml converter for ParameterConditions. More...
#include <Teuchos_StandardConditionXMLConverters.hpp>
Special Converter Functions | |
virtual RCP< ParameterCondition > | getSpecificParameterCondition (const XMLObject &xmlObj, RCP< ParameterEntry > parameterEntry) const =0 |
Gets the specific ParameterCondition to be returned by this conveter when converting from XML. More... | |
virtual void | addSpecificXMLTraits (RCP< const ParameterCondition > condition, XMLObject &xmlObj) const =0 |
Adds specific xml traits to the xmlObj for a particular ParmaterCondtion. More... | |
Overridden from ConditionXMLConverter | |
virtual RCP< Condition > | convertXML (const XMLObject &xmlObj, const XMLParameterListReader::EntryIDsMap &entryIDsMap) const |
void | convertCondition (const RCP< const Condition > condition, XMLObject &xmlObj, const XMLParameterListWriter::EntryIDsMap &entryIDsMap) const |
Private Members | |
static const std::string & | getParameterEntryIdAttributeName () |
gets the ParameterEntryID attribute name. More... | |
Additional Inherited Members | |
Public Member Functions inherited from Teuchos::ConditionXMLConverter | |
RCP< Condition > | fromXMLtoCondition (const XMLObject &xmlObj, const XMLParameterListReader::EntryIDsMap &entryIDsMap) const |
Converts a given XMLObject to a Condition. More... | |
XMLObject | fromConditiontoXML (const RCP< const Condition > condition, const XMLParameterListWriter::EntryIDsMap &entryIDsMap) const |
Converters a given ParameterEntryValidator to XML. More... | |
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 Member Functions inherited from Teuchos::ConditionXMLConverter | |
static const std::string & | getTypeAttributeName () |
Returns the string to be used for the type attribute. 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 xml converter for ParameterConditions.
Definition at line 170 of file Teuchos_StandardConditionXMLConverters.hpp.
|
pure virtual |
Gets the specific ParameterCondition to be returned by this conveter when converting from XML.
xmlObj | The xml object from which the ParameterCondition is being derived. |
parameterEntry | The ParameterEntry the ParameterCondition evaluates. |
Implemented in Teuchos::NumberConditionConverter< T >, Teuchos::BoolConditionConverter, and Teuchos::StringConditionConverter.
|
pure virtual |
Adds specific xml traits to the xmlObj for a particular ParmaterCondtion.
condition | The ParameterCondition to be converted. |
xmlObj | The XMLObject to which the specific traits should be added. |
Implemented in Teuchos::NumberConditionConverter< T >, Teuchos::BoolConditionConverter, and Teuchos::StringConditionConverter.
|
virtual |
Implements Teuchos::ConditionXMLConverter.
Definition at line 87 of file Teuchos_StandardConditionXMLConverters.cpp.
|
virtual |
Implements Teuchos::ConditionXMLConverter.
Definition at line 103 of file Teuchos_StandardConditionXMLConverters.cpp.
|
inlinestaticprivate |
gets the ParameterEntryID attribute name.
Definition at line 223 of file Teuchos_StandardConditionXMLConverters.hpp.