senf::console::ParsedCommandAttributor< Overload > Class Template Reference

Non argument dependent ParsedCommandBase attributes. More...

#include <senf/Utils/Console/ParsedCommand.hh>

Inheritance diagram for senf::console::ParsedCommandAttributor< Overload >:
Inheritance graph
[legend]

List of all members.


Detailed Description

template<class Overload>
class senf::console::ParsedCommandAttributor< Overload >

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.

See also:
Automatic argument parsing

Definition at line 245 of file ParsedCommand.hh.


Public Member Functions

Overload &  overload () const
  Get the command overload.

Protected Member Functions

  ParsedCommandAttributor (typename Overload::ptr overload, unsigned index)
  ParsedCommandAttributor (ParsedCommandAttributorBase const &other, unsigned index)

Constructor & Destructor Documentation

template<class Overload>
senf::console::ParsedCommandAttributor< Overload >::
ParsedCommandAttributor ( typename Overload::ptr  overload,
unsigned  index )

Definition at line 89 of file ParsedCommand.cti.

template<class Overload>
senf::console::ParsedCommandAttributor< Overload >::
ParsedCommandAttributor ( ParsedCommandAttributorBase const &  other,
unsigned  index )

Definition at line 95 of file ParsedCommand.cti.


Member Function Documentation

template<class Overload >
Overload & senf::console::ParsedCommandAttributor< Overload >::
overload ()

Get the command overload.

Reimplemented from senf::console::ParsedCommandAttributorBase.

Definition at line 81 of file ParsedCommand.cti.


The documentation for this class was generated from the following files: