|
rlmm::basic_function_map< Lock > Struct Template Reference
[The Readline classes.]
#include <rlmm/function_map.hh>
Inheritance diagram for rlmm::basic_function_map< Lock >:
[legend]Collaboration diagram for rlmm::basic_function_map< Lock >:
[legend]List of all members.
Detailed Description
template<typename Lock>
struct rlmm::basic_function_map< Lock >
Map of currently defined functions.
Constructor & Destructor Documentation
Member Function Documentation
template<typename Lock> |
template<class T> |
bool rlmm::basic_function_map< Lock >::add |
( |
const std::string & |
name |
) |
[inline] |
|
|
add the named command.
- Parameters:
-
| name | the name of the command. |
- Returns:
- true on success, false on errors.
|
|
add the named command.
- Parameters:
-
| name | the name of the command. |
| cmd | The command function. |
- Returns:
- true on success, false on errors.
|
|
get the named command.
- Parameters:
-
- Returns:
- pointer to command wrapper function.
|
|
Show a list of currently defined functions.
|
|
Get a list of defined function names.
- Returns:
- list of defined function names.
|
Friends And Related Function Documentation
template<typename Lock> |
friend class singleton [friend] |
|
The documentation for this struct was generated from the following file:
Top of page
Last update Fri Aug 26 15:19:53 2005
Christian Holm
Created by DoxyGen 1.4.4
|