ug4
|
Groups of Functions - useful to realize overloaded functions. More...
#include <global_function.h>
Classes | |
struct | Overload |
Public Member Functions | |
template<class TFunc > | |
ExportedFunction * | add_overload (TFunc f, ExportedFunction::ProxyFunc pf, const std::string &funcOptions, const std::string &group, const std::string &retValInfos, const std::string ¶mInfos, const std::string &tooltip, const std::string &help) |
adds an overload. Returns false if the overload already existed. More... | |
ExportedFunctionGroup (const std::string &name) | |
constructor More... | |
ExportedFunction * | get_overload (size_t index) |
const ExportedFunction * | get_overload (size_t index) const |
template<class TType > | |
ExportedFunction * | get_overload_by_type () |
template<class TType > | |
const ExportedFunction * | get_overload_by_type () const |
ExportedFunction * | get_overload_by_type_id (size_t typeID) |
const ExportedFunction * | get_overload_by_type_id (size_t typeID) const |
size_t | get_overload_type_id (size_t index) const |
const std::string & | name () const |
name of function group More... | |
size_t | num_overloads () const |
~ExportedFunctionGroup () | |
destructor More... | |
Private Attributes | |
std::string | m_name |
std::vector< Overload > | m_overloads |
Groups of Functions - useful to realize overloaded functions.
|
inline |
constructor
|
inline |
destructor
|
inline |
adds an overload. Returns false if the overload already existed.
References func().
Referenced by ug::bridge::Registry::add_and_get_function().
|
inline |
|
inline |
References ug::bridge::ExportedFunction::m_func.
|
inline |
|
inline |
|
inline |
References ug::bridge::ExportedFunction::m_func.
|
inline |
References ug::bridge::ExportedFunction::m_func.
|
inline |
|
inline |
name of function group
Referenced by ug::bridge::Registry::check_consistency(), ug::bridge::lua::CreateBindings_LUA(), and ug::bridge::lua::LuaProxyFunction().
|
inline |
|
private |
|
private |