Non argument dependent ParsedCommandBase attributes. More...
#include <senf/Utils/Console/ParsedCommand.hh>
Public Member Functions | |
Overload & | overload () const |
Get the command overload. More... | |
Protected Member Functions | |
ParsedCommandAttributor (typename Overload::ptr overload, unsigned index) | |
ParsedCommandAttributor (ParsedCommandAttributorBase const &other, unsigned index) | |
Protected Member Functions inherited from senf::console::ParsedCommandAttributorBase | |
ParsedCommandAttributorBase (ParsedCommandOverloadBase::ptr overload, unsigned index) | |
ParsedCommandAttributorBase (ParsedCommandAttributorBase const &other, unsigned index) | |
void | argName (std::string const &name) |
void | argDoc (std::string const &doc) |
void | typeName (std::string const &doc) |
void | defaultDoc (std::string const &doc) |
ParsedCommandOverloadBase & | overload () const |
void | overloadDoc (std::string const &doc) |
void | nodeDoc (std::string const &doc) |
void | shortDoc (std::string const &doc) |
Additional Inherited Members | |
Public Types inherited from senf::console::ParsedCommandAttributorBase | |
typedef OverloadedCommandNode | node_type |
typedef OverloadedCommandNode & | result_type |
Non argument dependent ParsedCommandBase attributes.
Attributes for parsed commands are not set directly on the node. They are set via a special attributor temporary returned when adding a parsed command to the tree.
This class adds all those members, which do depend on the type of command added (and thereby on that commands signature) but do not depend on the type of any single argument.
Definition at line 235 of file ParsedCommand.hh.
|
protected |
|
protected |
Overload& senf::console::ParsedCommandAttributor< Overload >::overload | ( | ) | const |
Get the command overload.