33 UpperCaseStringArray::UpperCaseStringArray(
const std::string &
name,
const std::string &help):
43 static std::string
type =
"upper case string array";
62 while(
int(array.size()) < index) {
63 array.push_back(std::string());
Representation objects and parsers for attribute expressions.
std::string parseStringValue(Statement &, const char msg[])
std::vector< std::string > parseStringArray(Statement &)
Parse string array.
A collection of routines to construct object Attributes and retrieve.
void setUpperCaseStringArray(Attribute &attr, const std::vector< std::string > &value)
Set upper case string array value.
std::vector< std::string > getStringArray(const Attribute &attr)
Get string array value.
boost::function< boost::tuple< double, bool >arguments_t)> type
A representation of an Object attribute.
AttributeBase & getBase() const
Return reference to polymorphic value.
Abstract base class for attribute values of different types.
Abstract base class for attribute parsers.
virtual const std::string & getType() const
Return attribute type string `‘string array’'.
virtual void parse(Attribute &, Statement &, bool) const
Parse the attribute.
virtual ~UpperCaseStringArray()
virtual void parseComponent(Attribute &, Statement &, bool, int) const
Parse a component of the array.
Interface for statements.
Object attribute with a constant array value.