32 "The \"HELP\" statement displays the purpose and attribute "
33 "types of an object.") {
51 return new Help(name,
this);
60 object->printHelp(std::cerr);
62 ERRORMSG(
"\n" << *
this <<
"Unknown object \"" << name <<
"\".\n"
virtual Help * clone(const std::string &name)
Make clone.
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).
Help()
Exemplar constructor.
static OpalData * getInstance()
virtual void execute()
Execute the command.
Interface for statements.
void registerOwnership(const AttributeHandler::OwnerType &itsClass) const
virtual void printHelp(std::ostream &) const
Print help.
virtual void parse(Statement &)
Parse command (special for one-attribute command).
const T * find(const T table[], const std::string &name)
Look up name.
The base class for all OPAL objects.
Attribute makeString(const std::string &name, const std::string &help)
Make string attribute.
Inform & endl(Inform &inf)
std::string getString(const Attribute &attr)
Get string value.