senf::console::detail::ArgumentInfo< ParameterType > Struct Template Reference

Internal: Argument information structure. More...
Inheritance diagram for senf::console::detail::ArgumentInfo< ParameterType >:
Inheritance graph
[legend]

List of all members.


Detailed Description

template<class ParameterType>
struct senf::console::detail::ArgumentInfo< ParameterType >

Internal: Argument information structure.

This class is used to hold argument information for automatically parsed commands.

See also:
ParsedCommandOverloadBase

Definition at line 82 of file ParsedCommand.ih.


Public Types

typedef boost::intrusive_ptr
< ArgumentInfo
ptr
typedef boost::function< void(ParseCommandInfo::TokensRange
const &, ParameterType &)> 
Parser

Public Member Functions

  ArgumentInfo ()
virtual std::string  defaultValueStr () const

Static Public Member Functions

static ptr  create ()

Public Attributes

ParameterType  defaultValue
Parser  parser

Member Typedef Documentation

template<class ParameterType>
typedef boost::function<void (ParseCommandInfo::TokensRange const &, ParameterType &)> senf::console::detail::ArgumentInfo< ParameterType >::
Parser

Definition at line 87 of file ParsedCommand.ih.

template<class ParameterType>
typedef boost::intrusive_ptr<ArgumentInfo> senf::console::detail::ArgumentInfo< ParameterType >::
ptr

Reimplemented from senf::console::detail::ArgumentInfoBase.

Definition at line 85 of file ParsedCommand.ih.


Constructor & Destructor Documentation

template<class ParameterType >
senf::console::detail::ArgumentInfo< ParameterType >::
ArgumentInfo ()

Definition at line 47 of file ParsedCommand.cti.


Member Function Documentation

template<class ParameterType >
senf::console::detail::ArgumentInfo< ParameterType >::ptr senf::console::detail::ArgumentInfo< ParameterType >::
create ()

Definition at line 41 of file ParsedCommand.cti.

template<class ParameterType >
std::string senf::console::detail::ArgumentInfo< ParameterType >::
defaultValueStr ()

Implements senf::console::detail::ArgumentInfoBase.

Definition at line 54 of file ParsedCommand.cti.


Member Data Documentation

template<class ParameterType>
ParameterType senf::console::detail::ArgumentInfo< ParameterType >::
defaultValue

Definition at line 92 of file ParsedCommand.ih.

template<class ParameterType>
Parser senf::console::detail::ArgumentInfo< ParameterType >::
parser

Definition at line 93 of file ParsedCommand.ih.


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