Teuchos - Trilinos Tools Package
Version of the Day
|
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< FunctionObject > | convertXML (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... | |
Provides ability to lookup FunctionObjectXMLConverters.
Definition at line 61 of file Teuchos_FunctionObjectXMLConverterDB.hpp.
|
static |
Add a converter to the database.
function | A dummy FunctionObject representing the type of function this converter will convert. |
convertToAdd | The converter to add to the database. |
Definition at line 51 of file Teuchos_FunctionObjectXMLConverterDB.cpp.
|
static |
Get an appropriate FunctionObjectXMLConverter given a FunctionObject.
function | The FunctionObject for which a converter is desired. |
Definition at line 60 of file Teuchos_FunctionObjectXMLConverterDB.cpp.
|
static |
Get an appropriate FunctionObjectXMLConverter given a XMLObject.
xmlObject | The XMLObject for which a converter is desired. |
Definition at line 74 of file Teuchos_FunctionObjectXMLConverterDB.cpp.
|
static |
Given a FunctionObject, converts the FunctionObject to XML.
function | The FunctionObject to convert. |
Definition at line 88 of file Teuchos_FunctionObjectXMLConverterDB.cpp.
|
static |
Given an XMLObject, converts the XMLObject to a FunctionObject.
xmlObject | The XMLObject to be converted. |
Definition at line 94 of file Teuchos_FunctionObjectXMLConverterDB.cpp.
|
inlinestatic |
prints the xml tags associated with all known converters
out | Stream to which tags should be printed. |
Definition at line 131 of file Teuchos_FunctionObjectXMLConverterDB.hpp.