42 #ifndef TEUCHOS_STANDARDPARAMETERENTRYXMLCONVERTERS_HPP
43 #define TEUCHOS_STANDARDPARAMETERENTRYXMLCONVERTERS_HPP
50 #include "Teuchos_ParameterEntryXMLConverter.hpp"
69 const std::string getTypeAttributeValue()
const;
72 const std::string getValueAttributeValue(
104 return toString(any_cast<T>(entry->getAny(
false)));
121 #endif // TEUCHOS_STANDARDPARAMETERENTRYXMLCONVERTERS_HPP
virtual const std::string getTypeAttributeValue() const
Modified boost::any class, which is a container for a templated value.
A class used to convert parameter entries to xml and vice versa.
static const std::string & getValueAttributeName()
Representation of an XML data tree. XMLObject is a ref-counted handle to a XMLObjectImplem object...
A standard ParameterEntryXMLConverter for most data types.
virtual const std::string getValueAttributeValue(RCP< const ParameterEntry > entry) const
A last resort converter for when no others will do.
Smart reference counting pointer class for automatic garbage collection.
any getAny(const XMLObject &xmlObj) const
const std::string & getRequired(const std::string &name) const
Get an attribute, throwing an std::exception if it is not found.
static std::string name()