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

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 1923 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 1929 of file menu_events.cpp.


Member Function Documentation

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

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

Definition at line 1938 of file menu_events.cpp.


Member Data Documentation

Definition at line 1925 of file menu_events.cpp.

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

Definition at line 1926 of file menu_events.cpp.

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

Definition at line 1927 of file menu_events.cpp.

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

Definition at line 1928 of file menu_events.cpp.


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

Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs