AddMapping Struct Reference

An AddMapping object exists only for the purpose of statically initializing the Impl::func map with valid entries. You declare a member function of the Impl class then you declare an object of type AddMapping to cause the function to appear in the func table. You only need to do this once, and it is the intent of addMapping's design that you do this at file scope -- not that it matters. More...

List of all members.

Public Member Functions

 AddMapping (int cmd, Impl::func_handler f, bool modifying)

Detailed Description

An AddMapping object exists only for the purpose of statically initializing the Impl::func map with valid entries. You declare a member function of the Impl class then you declare an object of type AddMapping to cause the function to appear in the func table. You only need to do this once, and it is the intent of addMapping's design that you do this at file scope -- not that it matters.

The Impl::func map is a mapping between function key identifiers, defined in enum CursorWindow::edit_function_names. Other editor functions exist but do not get initialized in this map. They are called directly upon interpretation in the editor's input function itself.

Definition at line 845 of file texteditor.cxx.


Constructor & Destructor Documentation

AddMapping ( int  cmd,
Impl::func_handler  f,
bool  modifying 
)

Definition at line 859 of file texteditor.cxx.


The documentation for this struct was generated from the following file:
Generated on Wed Feb 29 22:51:49 2012 for CXXUtilities by  doxygen 1.6.3