#include <function.h>
Public Types | |
typedef boost::unordered_map < std::string, const plugin::Function *, util::insensitive_hash, util::insensitive_equal_to > | UdfMap |
typedef boost::unordered_map < std::string, const plugin::Function *, util::insensitive_hash, util::insensitive_equal_to > | Map |
typedef std::pair< const std::string, const std::string > | map_key |
typedef std::map< const map_key, plugin::Plugin * > | map |
typedef std::vector< Plugin * > | vector |
Public Member Functions | |
Function (std::string in_name) | |
virtual result_type | operator() (argument_type root) const =0 |
virtual void | shutdownPlugin () |
virtual void | prime () |
virtual void | startup (drizzled::Session &) |
void | activate () |
void | deactivate () |
bool | isActive () const |
const std::string & | getName () const |
void | setModule (module::Module *module) |
const std::string & | getTypeName () const |
virtual bool | removeLast () const |
const std::string & | getModuleName () const |
Static Public Member Functions | |
static bool | addPlugin (const plugin::Function *function_obj) |
static void | removePlugin (const plugin::Function *function_obj) |
static const plugin::Function * | get (const std::string &name) |
static const UdfMap & | getMap () |
Private Member Functions | |
Function (const Function &) | |
Function & | operator= (const Function &) |
Functions in the server: AKA UDF
Definition at line 57 of file function.h.
bool Function::addPlugin | ( | const plugin::Function * | function_obj | ) | [static] |
Add a new Function factory to the list of factories we manage.
Definition at line 42 of file function.cc.
void Function::removePlugin | ( | const plugin::Function * | function_obj | ) | [static] |
Remove a Function factory from the list of factory we manage.
Definition at line 74 of file function.cc.