26Echo::Echo() :
Action(1,
"ECHO",
"The \"ECHO\" statement sends a message to the ECHO file.") {
39 return new Echo(name,
this);
Inform & endl(Inform &inf)
std::string getString(const Attribute &attr)
Get string value.
Attribute makeString(const std::string &name, const std::string &help)
Make string attribute.
std::unique_ptr< mpi::Communicator > Comm
The base class for all OPAL actions.
virtual void parseShortcut(Statement &, bool eval=true)
Parser for single-attribute commands.
void registerOwnership(const AttributeHandler::OwnerType &itsClass) const
std::vector< Attribute > itsAttr
The object attributes.
virtual void execute()
Execute the command.
virtual Echo * clone(const std::string &name)
Make clone.
Echo()
Exemplar constructor.
virtual void parse(Statement &)
Parse command (special for one-attribute command).
Interface for statements.