Teuchos Package Browser (Single Doxygen Collection)
Version of the Day
|
Provides ability to lookup FunctionObjectXMLConverters. More...
#include <Teuchos_FunctionObjectXMLConverterDB.hpp>
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... | |
Private Members | |
typedef std::map< std::string, RCP < FunctionObjectXMLConverter > > | ConverterMap |
convience class. More... | |
typedef std::pair< std::string, RCP < FunctionObjectXMLConverter > > | ConverterPair |
convience typedef. More... | |
static ConverterMap & | getConverterMap () |
Gets the default converter to be used to convert FunctionObjects. More... | |
Provides ability to lookup FunctionObjectXMLConverters.
Definition at line 28 of file Teuchos_FunctionObjectXMLConverterDB.hpp.
|
private |
convience class.
Definition at line 117 of file Teuchos_FunctionObjectXMLConverterDB.hpp.
|
private |
convience typedef.
Definition at line 120 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 19 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 28 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 42 of file Teuchos_FunctionObjectXMLConverterDB.cpp.
|
static |
Given a FunctionObject, converts the FunctionObject to XML.
function | The FunctionObject to convert. |
Definition at line 56 of file Teuchos_FunctionObjectXMLConverterDB.cpp.
|
static |
Given an XMLObject, converts the XMLObject to a FunctionObject.
xmlObject | The XMLObject to be converted. |
Definition at line 62 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 98 of file Teuchos_FunctionObjectXMLConverterDB.hpp.
|
staticprivate |
Gets the default converter to be used to convert FunctionObjects.
Definition at line 70 of file Teuchos_FunctionObjectXMLConverterDB.cpp.