51 const std::string &name,
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_;
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