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