10 #ifndef TEUCHOS_STANDARDPARAMETERENTRYXMLCONVERTERS_HPP
11 #define TEUCHOS_STANDARDPARAMETERENTRYXMLCONVERTERS_HPP
18 #include "Teuchos_ParameterEntryXMLConverter.hpp"
37 const std::string getTypeAttributeValue()
const;
40 const std::string getValueAttributeValue(
72 return toString(any_cast<T>(entry->getAny(
false)));
89 #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()