senf::console::detail::ArgumentInfoBase Struct Reference

Internal: Argument information structure. More...
Inheritance diagram for senf::console::detail::ArgumentInfoBase:
Inheritance graph
[legend]

List of all members.


Detailed Description

Internal: Argument information structure.

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

See also:
ParsedCommandOverloadBase

Definition at line 57 of file ParsedCommand.ih.


Public Types

typedef boost::intrusive_ptr
< ArgumentInfoBase
ptr

Public Member Functions

  ArgumentInfoBase (std::string const &type, bool singleToken=false)
virtual  ~ArgumentInfoBase ()
virtual std::string  defaultValueStr () const =0

Public Attributes

std::string  type
std::string  name
std::string  defaultDoc
bool  hasDefault
std::string  doc
bool  singleToken

Member Typedef Documentation

typedef boost::intrusive_ptr<ArgumentInfoBase> senf::console::detail::ArgumentInfoBase::
ptr

Reimplemented in senf::console::detail::ArgumentInfo< ParameterType >.

Definition at line 60 of file ParsedCommand.ih.


Constructor & Destructor Documentation

senf::console::detail::ArgumentInfoBase::
ArgumentInfoBase ( std::string const &  type,
bool  singleToken = false )

Definition at line 36 of file ParsedCommand.cci.

senf::console::detail::ArgumentInfoBase::
~ArgumentInfoBase ()

Definition at line 38 of file ParsedCommand.cc.


Member Function Documentation

virtual std::string senf::console::detail::ArgumentInfoBase::
defaultValueStr ()

Member Data Documentation

std::string senf::console::detail::ArgumentInfoBase::
defaultDoc

Definition at line 64 of file ParsedCommand.ih.

std::string senf::console::detail::ArgumentInfoBase::
doc

Definition at line 66 of file ParsedCommand.ih.

bool senf::console::detail::ArgumentInfoBase::
hasDefault

Definition at line 65 of file ParsedCommand.ih.

std::string senf::console::detail::ArgumentInfoBase::
name

Definition at line 63 of file ParsedCommand.ih.

bool senf::console::detail::ArgumentInfoBase::
singleToken

Definition at line 67 of file ParsedCommand.ih.

std::string senf::console::detail::ArgumentInfoBase::
type

Definition at line 62 of file ParsedCommand.ih.


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