42 #ifndef TEUCHOS_PARAMETERENTRYXMLCONVERTER_HPP 43 #define TEUCHOS_PARAMETERENTRYXMLCONVERTER_HPP 53 #include "Teuchos_Describable.hpp" 83 const std::string &name,
100 virtual const std::string getTypeAttributeValue()
const=0;
110 virtual const std::string getValueAttributeValue(
115 static const std::string typeAttributeName_ =
"type";
116 return typeAttributeName_;
121 static const std::string idAttributeName_ =
"id";
122 return idAttributeName_;
127 static const std::string valueAttributeName_ =
"value";
128 return valueAttributeName_;
139 static const std::string& getDefaultAttributeName() {
140 static const std::string defaultAttributeName_ =
"isDefault";
141 return defaultAttributeName_;
145 static const std::string& getUsedAttributeName() {
146 static const std::string usedAttributeName_ =
"isUsed";
147 return usedAttributeName_;
151 static const std::string& getDocStringAttributeName() {
152 static const std::string docStringAttributeName_ =
"docString";
153 return docStringAttributeName_;
164 #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
The Teuchos namespace contains all of the classes, structs and enums used by Teuchos, as well as a number of utility routines.
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.