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.
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 ...
ParameterEntry fromXMLtoParameterEntry(const XMLObject &xmlObj) const
Converts the given xml into a parameter entry.
XMLObject fromParameterEntrytoXML(RCP< const ParameterEntry > entry, const std::string &name, const ParameterEntry::ParameterEntryID &id, const ValidatortoIDMap &validatorIDsMap) const
Converts the given parameter entry to xml.
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