22#include "Utility/IpplInfo.h"
26Echo::Echo() :
Action(1,
"ECHO",
"The \"ECHO\" statement sends a message to the ECHO file.") {
39 return new Echo(name,
this);
43 if (ippl::Comm->rank() == 0)
std::string getString(const Attribute &attr)
Get string value.
Attribute makeString(const std::string &name, const std::string &help)
Make string attribute.
Action(int size, const char *name, const char *help)
Constructor for exemplars.
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.