10 #ifndef TEUCHOS_PARAMETERENTRYXMLCONVERTER_HPP
11 #define TEUCHOS_PARAMETERENTRYXMLCONVERTER_HPP
21 #include "Teuchos_Describable.hpp"
51 const std::string &name,
68 virtual const std::string getTypeAttributeValue()
const=0;
78 virtual const std::string getValueAttributeValue(
83 static const std::string typeAttributeName_ =
"type";
84 return typeAttributeName_;
89 static const std::string idAttributeName_ =
"id";
90 return idAttributeName_;
95 static const std::string valueAttributeName_ =
"value";
96 return valueAttributeName_;
107 static const std::string& getDefaultAttributeName() {
108 static const std::string defaultAttributeName_ =
"isDefault";
109 return defaultAttributeName_;
113 static const std::string& getUsedAttributeName() {
114 static const std::string usedAttributeName_ =
"isUsed";
115 return usedAttributeName_;
119 static const std::string& getDocStringAttributeName() {
120 static const std::string docStringAttributeName_ =
"docString";
121 return docStringAttributeName_;
132 #endif // TEUCHOS_PARAMETERENTRYXMLCONVERTER_HPP
Object held as the "value" in the Teuchos::ParameterList std::map.
This object is held as the "value" in the Teuchos::ParameterList std::map.
Modified boost::any class, which is a container for a templated value.
static const std::string & getIdAttributeName()
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...
Writes a ParameterList to an XML object.
static const std::string & getTypeAttributeName()
A class for mapping validators to integers.
unsigned int ParameterEntryID
Base class for all objects that can describe themselves.
Smart reference counting pointer class for automatic garbage collection.
An object representation of a subset of XML data.