42#ifndef TEUCHOS_PARAMETERENTRYXMLCONVERTER_HPP
43#define TEUCHOS_PARAMETERENTRYXMLCONVERTER_HPP
53#include "Teuchos_Describable.hpp"
83 const std::string &name,
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_;
Object held as the "value" in the Teuchos::ParameterList std::map.
An object representation of a subset of XML data.
Writes a ParameterList to an XML object.
Base class for all objects that can describe themselves.
A class used to convert parameter entries to xml and vice versa.
static const std::string & getIdAttributeName()
static const std::string & getTypeAttributeName()
virtual const std::string getTypeAttributeValue() const =0
Gets a string representing the value that should be assigned to the "type" attribute when converting ...
virtual const std::string getValueAttributeValue(RCP< const ParameterEntry > entry) const =0
Gets the value to be assigned to the "value" attribute when converting the paramter entry to xml.
static const std::string & getValueAttributeName()
This object is held as the "value" in the Teuchos::ParameterList std::map.
unsigned int ParameterEntryID
Smart reference counting pointer class for automatic garbage collection.
A class for mapping validators to integers.
Representation of an XML data tree. XMLObject is a ref-counted handle to a XMLObjectImplem object,...
Modified boost::any class, which is a container for a templated value.
The Teuchos namespace contains all of the classes, structs and enums used by Teuchos,...