32 "The \"VALUE\" statement prints a list of expressions and "
35 (
"VALUE",
"The values to be evaluated");
51 return new Value(name,
this);
56 *gmsg <<
"\nvalue: " <<
itsAttr[0] <<
" = {";
59 std::vector<double>::const_iterator i = array.begin();
61 while (i != array.end()) {
63 if (i == array.end())
break;
67 *gmsg <<
"}\n" <<
endl;
std::vector< double > getRealArray(const Attribute &attr)
Get array value.
Attribute makeRealArray(const std::string &name, const std::string &help)
Create real array attribute.
Inform & endl(Inform &inf)
void registerOwnership(const AttributeHandler::OwnerType &itsClass) const
virtual void parseShortcut(Statement &, bool eval=true)
Parser for single-attribute commands.
Interface for statements.
std::vector< Attribute > itsAttr
The object attributes.
Value()
Exemplar constructor.
virtual void execute()
Execute the command.
The base class for all OPAL actions.
virtual Value * clone(const std::string &name)
Make clone.
virtual void parse(Statement &)
Parse command (special for one-attribute command).