11#include "Teuchos_StaticSetupMacro.hpp" 
   22  getConverterMap().insert(
 
 
   29  ConverterMap::const_iterator 
it =
 
   30    getConverterMap().find(
function.getTypeAttributeValue());
 
   33    "Could not find a FunctionObjectXMLConverter for a FuncitonObject of type " <<
 
   34    function.getTypeAttributeValue() << 
" when writing out a condition to " <<
 
   35    "xml." << std::endl << std::endl
 
 
   46  ConverterMap::const_iterator 
it = getConverterMap().find(
functionType);
 
   49    "Could not find a FunctionObjectXMLConverter for a condition of type " <<
 
   51    "xml." << std::endl << std::endl
 
 
   69FunctionObjectXMLConverterDB::ConverterMap&
 
   70FunctionObjectXMLConverterDB::getConverterMap()
 
A database for FunctionObjectXMLConverters.
 
#define TEUCHOS_ADD_SIMPLEFUNCTIONCONVERTERS(T)
Adds a SubtractionFunction, AdditionFunction, MultiplicationFunction, and DivisionFunction of type T ...
 
A collection of Exceptions thrown when converting FunctionObjects to and from XML.
 
Thrown when an appropriate FunctionObject Converter can't be found.
 
static RCP< const FunctionObjectXMLConverter > getConverter(const FunctionObject &function)
Get an appropriate FunctionObjectXMLConverter given a FunctionObject.
 
static void addConverter(RCP< const FunctionObject > function, RCP< FunctionObjectXMLConverter > converterToAdd)
Add a converter to the database.
 
static XMLObject convertFunctionObject(RCP< const FunctionObject > function)
Given a FunctionObject, converts the FunctionObject to XML.
 
static RCP< FunctionObject > convertXML(const XMLObject &xmlObject)
Given an XMLObject, converts the XMLObject to a FunctionObject.
 
static const std::string & getTypeAttributeName()
 
A function object represents an arbitrary function.
 
Smart reference counting pointer class for automatic garbage collection.
 
Representation of an XML data tree. XMLObject is a ref-counted handle to a XMLObjectImplem object,...
 
#define TEUCHOS_TEST_FOR_EXCEPTION(throw_exception_test, Exception, msg)
Macro for throwing an exception with breakpointing to ease debugging.
 
The Teuchos namespace contains all of the classes, structs and enums used by Teuchos,...