Converts back and forth between XML and FunctionObjects.
virtual RCP< FunctionObject > convertXML(const XMLObject &xmlObj) const =0
Preforms any and all special xml conversion that is specific to a particular FunctionObject.
XMLObject fromFunctionObjecttoXML(const RCP< const FunctionObject > function) const
Converters a given FunctionObject to XML.
static const std::string & getTypeAttributeName()
virtual void convertFunctionObject(const RCP< const FunctionObject > function, XMLObject &xmlObj) const =0
Preforms any and all special FunctionObject conversion that is specific to a particlar FunctionObject...
RCP< FunctionObject > fromXMLtoFunctionObject(const XMLObject &xmlObj) const
Converts a given XMLObject to a FunctionObject.
static const std::string & getXMLTagName()
Returns the name of the XML tag used to indicate a funciton object.
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,...
void addAttribute(const std::string &name, T value)
Lookup whether or not Doubles are allowed.