Teuchos - Trilinos Tools Package  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members
Teuchos::FunctionObjectXMLConverterDB Class Reference

Provides ability to lookup FunctionObjectXMLConverters. More...

#include <Teuchos_FunctionObjectXMLConverterDB.hpp>

Static Public Member Functions

Modifier Functions
static void addConverter (RCP< const FunctionObject > function, RCP< FunctionObjectXMLConverter > converterToAdd)
 Add a converter to the database. More...
 
Converter Functions
static RCP< const
FunctionObjectXMLConverter
getConverter (const FunctionObject &function)
 Get an appropriate FunctionObjectXMLConverter given a FunctionObject. More...
 
static RCP< const
FunctionObjectXMLConverter
getConverter (const XMLObject &xmlObject)
 Get an appropriate FunctionObjectXMLConverter given a XMLObject. More...
 
static XMLObject convertFunctionObject (RCP< const FunctionObject > function)
 Given a FunctionObject, converts the FunctionObject to XML. More...
 
static RCP< FunctionObjectconvertXML (const XMLObject &xmlObject)
 Given an XMLObject, converts the XMLObject to a FunctionObject. More...
 
I/O Functions
static void printKnownConverters (std::ostream &out)
 prints the xml tags associated with all known converters More...
 

Detailed Description

Provides ability to lookup FunctionObjectXMLConverters.

Definition at line 61 of file Teuchos_FunctionObjectXMLConverterDB.hpp.

Member Function Documentation

void Teuchos::FunctionObjectXMLConverterDB::addConverter ( RCP< const FunctionObject function,
RCP< FunctionObjectXMLConverter converterToAdd 
)
static

Add a converter to the database.

Parameters
functionA dummy FunctionObject representing the type of function this converter will convert.
convertToAddThe converter to add to the database.

Definition at line 51 of file Teuchos_FunctionObjectXMLConverterDB.cpp.

RCP< const FunctionObjectXMLConverter > Teuchos::FunctionObjectXMLConverterDB::getConverter ( const FunctionObject function)
static

Get an appropriate FunctionObjectXMLConverter given a FunctionObject.

Parameters
functionThe FunctionObject for which a converter is desired.
Returns
A converter for the function.

Definition at line 60 of file Teuchos_FunctionObjectXMLConverterDB.cpp.

RCP< const FunctionObjectXMLConverter > Teuchos::FunctionObjectXMLConverterDB::getConverter ( const XMLObject xmlObject)
static

Get an appropriate FunctionObjectXMLConverter given a XMLObject.

Parameters
xmlObjectThe XMLObject for which a converter is desired.
Returns
A converter for the XMLObject.

Definition at line 74 of file Teuchos_FunctionObjectXMLConverterDB.cpp.

XMLObject Teuchos::FunctionObjectXMLConverterDB::convertFunctionObject ( RCP< const FunctionObject function)
static

Given a FunctionObject, converts the FunctionObject to XML.

Parameters
functionThe FunctionObject to convert.
Returns
XML representation of the function.

Definition at line 88 of file Teuchos_FunctionObjectXMLConverterDB.cpp.

RCP< FunctionObject > Teuchos::FunctionObjectXMLConverterDB::convertXML ( const XMLObject xmlObject)
static

Given an XMLObject, converts the XMLObject to a FunctionObject.

Parameters
xmlObjectThe XMLObject to be converted.
Returns
A FunctionObject that was represented by the XML.

Definition at line 94 of file Teuchos_FunctionObjectXMLConverterDB.cpp.

static void Teuchos::FunctionObjectXMLConverterDB::printKnownConverters ( std::ostream &  out)
inlinestatic

prints the xml tags associated with all known converters

Parameters
outStream to which tags should be printed.

Definition at line 131 of file Teuchos_FunctionObjectXMLConverterDB.hpp.


The documentation for this class was generated from the following files: