XMLObject fromFunctionObjecttoXML(const RCP< const FunctionObject > function) const
Converters a given FunctionObject to XML.
Converts back and forth between XML and FunctionObjects.
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...
Representation of an XML data tree. XMLObject is a ref-counted handle to a XMLObjectImplem object...
static const std::string & getXMLTagName()
Returns the name of the XML tag used to indicate a funciton object.
virtual RCP< FunctionObject > convertXML(const XMLObject &xmlObj) const =0
Preforms any and all special xml conversion that is specific to a particular FunctionObject.
void addAttribute(const std::string &name, T value)
Lookup whether or not Doubles are allowed.
RCP< FunctionObject > fromXMLtoFunctionObject(const XMLObject &xmlObj) const
Converts a given XMLObject to a FunctionObject.
Smart reference counting pointer class for automatic garbage collection.