30 "The \"HELP\" statement displays the purpose and attribute "
31 "types of an object.") {
33 (
"NAME",
"Name of object for which help is wanted");
58 object->printHelp(std::cerr);
60 ERRORMSG(
"\n" << *
this <<
"Unknown object \"" <<
name <<
"\".\n"
Inform & endl(Inform &inf)
const T * find(const T table[], const std::string &name)
Look up name.
std::string getString(const Attribute &attr)
Get string value.
Attribute makeString(const std::string &name, const std::string &help)
Make string attribute.
The base class for all OPAL actions.
The base class for all OPAL objects.
virtual void parseShortcut(Statement &, bool eval=true)
Parser for single-attribute commands.
void registerOwnership(const AttributeHandler::OwnerType &itsClass) const
virtual void printHelp(std::ostream &) const
Print help.
std::vector< Attribute > itsAttr
The object attributes.
static OpalData * getInstance()
virtual Help * clone(const std::string &name)
Make clone.
virtual void execute()
Execute the command.
virtual void parse(Statement &)
Parse command (special for one-attribute command).
Help()
Exemplar constructor.
Interface for statements.