19#ifndef OPAL_PredefinedString_HH
20#define OPAL_PredefinedString_HH
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;
A collection of routines to construct object Attributes and retrieve.
A representation of an Object attribute.
AttributeHandler(const std::string &name, const std::string &help, AttributeBase *def)
Constructor.
PredefinedString(const PredefinedString &)
virtual void parse(Attribute &, Statement &, bool) const
Parse the attribute.
virtual const std::string & getType() const
Return attribute type string ``string''.
PredefinedString(const std::string &name, const std::string &help, const std::initializer_list< std::string > &predefinedStrings, const std::string &defaultValue="_HAS_NO_DEFAULT_")
Constructor.
std::set< std::string > predefinedStrings_m
void operator=(const PredefinedString &)
virtual ~PredefinedString()
Interface for statements.