XLKit  0.1.0
 All Classes Files Functions Typedefs Macros Groups
xlkit::XLKIT_VERSION_NAME::Registry Class Reference

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.
 

Detailed Description

Stores all registry of functions for the XLL.


The documentation for this class was generated from the following files: