senf::console::ParsedCommandOverload< FunctionTraits, ReturnType, arity > Class Template Reference

Parsed command overload. More...

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

Inheritance diagram for senf::console::ParsedCommandOverload< FunctionTraits, ReturnType, arity >:
Inheritance graph
[legend]

List of all members.


Detailed Description

template<class FunctionTraits, class ReturnType, unsigned arity>
class senf::console::ParsedCommandOverload< FunctionTraits, ReturnType, arity >

Parsed command overload.

ParsedCommandOverload provides the command overload added to an OverloadedCommandNode for an automatically parsed command.

This class is normally instantiated automatically when adding a function or member-function pointer as callback to the tree. Manually instantiation this type of overload is not simple, since the function signature has to be manipulated correctly to support the optional std::ostream first argument.

Implementation note:
This class is specialized for each supported number of command arguments.
Todo:
Implement automatic binding of member functions for parser and formatter

Definition at line 176 of file ParsedCommand.hh.


Public Types

typedef boost::intrusive_ptr
< ParsedCommandOverload
ptr

Member Typedef Documentation

template<class FunctionTraits, class ReturnType, unsigned arity>
typedef boost::intrusive_ptr<ParsedCommandOverload> senf::console::ParsedCommandOverload< FunctionTraits, ReturnType, arity >::
ptr

Reimplemented from senf::console::ParsedCommandOverloadBase.

Definition at line 179 of file ParsedCommand.hh.


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