19 #ifndef OPAL_PredefinedString_HH
20 #define OPAL_PredefinedString_HH
27 namespace Attributes {
37 const std::string& help,
38 const std::initializer_list<std::string>& predefinedStrings,
39 const std::string& defaultValue =
"_HAS_NO_DEFAULT_");
44 virtual const std::string &
getType()
const;
Abstract base class for attribute parsers.
void operator=(const PredefinedString &)
Parser for an attribute of type string.
virtual ~PredefinedString()
virtual void parse(Attribute &, Statement &, bool) const
Parse the attribute.
std::set< std::string > predefinedStrings_m
Interface for statements.
virtual const std::string & getType() const
Return attribute type string ``string''.
A representation of an Object attribute.