|
XLKit
0.1.0
|
Stores all registry of functions for the XLL. More...
#include <xlkit.hpp>
Classes | |
| struct | Func< F, End, End > |
| struct | Wrapper |
| Information for a registered function. More... | |
Public Types | |
|
typedef boost::unordered_map < std::string, Wrapper > | NameMap |
Public Member Functions | |
| void | setAddinLabel (const char *label) |
| void | dump () |
| Print a list of all registered functions for debugging. | |
| const NameMap & | functions () const |
| List of registered functions. | |
| template<typename F > | |
| void | addFunction (const std::string &name, F f, const char *help) |
| Register a new function.Name of the Excel function is the same as the C++ function name. | |
| template<typename F > | |
| void | addFunction (const std::string &excel_name, const std::string &name, F f, const char *help) |
| Name of the Excel function is different from the the C++ function name. | |
Static Public Member Functions | |
| static Registry & | instance () |
| Get the singleton instance. | |
Stores all registry of functions for the XLL.