Teuchos Package Browser (Single Doxygen Collection)
Version of the Day
|
An abstract base class for converting FunctionObjects to and from XML. More...
#include <Teuchos_FunctionObjectXMLConverter.hpp>
Converter Functions | |
RCP< FunctionObject > | fromXMLtoFunctionObject (const XMLObject &xmlObj) const |
Converts a given XMLObject to a FunctionObject. More... | |
virtual RCP< FunctionObject > | convertXML (const XMLObject &xmlObj) const =0 |
Preforms any and all special xml conversion that is specific to a particular FunctionObject. More... | |
XMLObject | fromFunctionObjecttoXML (const RCP< const FunctionObject > function) const |
Converters a given FunctionObject to XML. More... | |
virtual void | convertFunctionObject (const RCP< const FunctionObject > function, XMLObject &xmlObj) const =0 |
Preforms any and all special FunctionObject conversion that is specific to a particlar FunctionObject. More... | |
Attribute/Query Functions | |
static const std::string & | getTypeAttributeName () |
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 FunctionObjects to and from XML.
Definition at line 64 of file Teuchos_FunctionObjectXMLConverter.hpp.
RCP< FunctionObject > Teuchos::FunctionObjectXMLConverter::fromXMLtoFunctionObject | ( | const XMLObject & | xmlObj | ) | const |
Converts a given XMLObject to a FunctionObject.
xmlObj | The XMLObject to convert to a FunctionObject. |
Definition at line 47 of file Teuchos_FunctionObjectXMLConverter.cpp.
|
pure virtual |
Preforms any and all special xml conversion that is specific to a particular FunctionObject.
xmlObj | The xml to be converted. |
Implemented in Teuchos::SimpleFunctionXMLConverter< OperandType >.
XMLObject Teuchos::FunctionObjectXMLConverter::fromFunctionObjecttoXML | ( | const RCP< const FunctionObject > | function | ) | const |
Converters a given FunctionObject to XML.
function | The FunctionObject to be converted to XML. |
Definition at line 54 of file Teuchos_FunctionObjectXMLConverter.cpp.
|
pure virtual |
Preforms any and all special FunctionObject conversion that is specific to a particlar FunctionObject.
function | The FunctionObject to be converted. |
xmlObj | The XMLObject to store all serialization in. |
Implemented in Teuchos::SimpleFunctionXMLConverter< OperandType >.
|
inlinestatic |
Definition at line 111 of file Teuchos_FunctionObjectXMLConverter.hpp.