Teuchos - Trilinos Tools Package Version of the Day
Teuchos::SimpleFunctionXMLConverter< OperandType > Class Template Reference

An xml converter for SimpleFunctionObjects. More...

#include <Teuchos_StandardFunctionObjectXMLConverters.hpp>

Inheritance diagram for Teuchos::SimpleFunctionXMLConverter< OperandType >:
Teuchos::FunctionObjectXMLConverter Teuchos::Describable Teuchos::LabeledObject Teuchos::AdditionFunctionXMLConverter< OperandType > Teuchos::DivisionFunctionXMLConverter< OperandType > Teuchos::MultiplicationFunctionXMLConverter< OperandType > Teuchos::SubtractionFunctionXMLConverter< OperandType >

List of all members.

Public Member Functions

Special Converter Functions
virtual RCP
< SimpleFunctionObject
< OperandType > > 
getSpecificSimpleFunction (OperandType operand) const =0
 Gets the specific SimpleFunction to be returned by this converter when converting from XML.
virtual void getSpecialSimpleFunctionXMLTraits (const RCP< const SimpleFunctionObject< OperandType > > functionObject, XMLObject &xmlObj) const
 Add and extra XML traits that are specific to a certain FuncitonOjbect when converting that function object to xml.
Overridden from FunctionObjectXMLConverter
RCP< FunctionObjectconvertXML (const XMLObject &xmlObj) const
 
void convertFunctionObject (const RCP< const FunctionObject > functionObject, XMLObject &xmlObj) const
 

Static Public Member Functions

Constant Retrieving Functions
static std::string getOperandAttributeName ()

Detailed Description

template<class OperandType>
class Teuchos::SimpleFunctionXMLConverter< OperandType >

An xml converter for SimpleFunctionObjects.

Definition at line 59 of file Teuchos_StandardFunctionObjectXMLConverters.hpp.


Member Function Documentation

template<class OperandType >
virtual RCP<SimpleFunctionObject<OperandType> > Teuchos::SimpleFunctionXMLConverter< OperandType >::getSpecificSimpleFunction ( OperandType  operand) const [pure virtual]

Gets the specific SimpleFunction to be returned by this converter when converting from XML.

operand The operand to be used with the SimpleFunction.

Implemented in Teuchos::SubtractionFunctionXMLConverter< OperandType >, Teuchos::AdditionFunctionXMLConverter< OperandType >, Teuchos::MultiplicationFunctionXMLConverter< OperandType >, and Teuchos::DivisionFunctionXMLConverter< OperandType >.

template<class OperandType >
virtual void Teuchos::SimpleFunctionXMLConverter< OperandType >::getSpecialSimpleFunctionXMLTraits ( const RCP< const SimpleFunctionObject< OperandType > >  functionObject,
XMLObject xmlObj 
) const [inline, virtual]

Add and extra XML traits that are specific to a certain FuncitonOjbect when converting that function object to xml.

Parameters:
functionObjectThe function object being convertered.
xmlObjThe XMLObject to which any special traits should be added.

Definition at line 82 of file Teuchos_StandardFunctionObjectXMLConverters.hpp.

template<class OperandType >
RCP< FunctionObject > Teuchos::SimpleFunctionXMLConverter< OperandType >::convertXML ( const XMLObject xmlObj) const [virtual]
template<class OperandType >
void Teuchos::SimpleFunctionXMLConverter< OperandType >::convertFunctionObject ( const RCP< const FunctionObject functionObject,
XMLObject xmlObj 
) const [virtual]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines