Public Member Functions | Public Attributes

events::map_command_handler< Worker >::command Struct Reference

Collaboration diagram for events::map_command_handler< Worker >::command:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 command (command_handler h, const std::string help="", const std::string &usage="", const std::string flags="")
bool has_flag (const char f) const
commandadd_flag (const char f)

Public Attributes

command_handler handler
std::string help
std::string usage
std::string flags

Detailed Description

template<class Worker>
struct events::map_command_handler< Worker >::command

Definition at line 1974 of file menu_events.cpp.


Constructor & Destructor Documentation

template<class Worker>
events::map_command_handler< Worker >::command::command ( command_handler  h,
const std::string  help = "",
const std::string &  usage = "",
const std::string  flags = "" 
) [inline, explicit]

Definition at line 1980 of file menu_events.cpp.


Member Function Documentation

template<class Worker>
command& events::map_command_handler< Worker >::command::add_flag ( const char  f  )  [inline]
template<class Worker>
bool events::map_command_handler< Worker >::command::has_flag ( const char  f  )  const [inline]

Member Data Documentation

template<class Worker>
std::string events::map_command_handler< Worker >::command::flags

Definition at line 1976 of file menu_events.cpp.

template<class Worker>
std::string events::map_command_handler< Worker >::command::help

Definition at line 1977 of file menu_events.cpp.

template<class Worker>
std::string events::map_command_handler< Worker >::command::usage

Definition at line 1978 of file menu_events.cpp.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Fri May 25 2012 01:18:56 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs