|
ug4
|
Groups of methods - useful to realize overloaded methods. More...
#include <class.h>
Classes | |
| struct | Overload |
Public Member Functions | |
| template<class TFunc > | |
| bool | add_overload (const TFunc &m, ProxyFunc pf, const std::string &className, const std::string &methodOptions, 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. | |
| ExportedMethodGroup (const std::string &name) | |
| ExportedMethod * | get_overload (size_t index) |
| const ExportedMethod * | get_overload (size_t index) const |
| template<class TType > | |
| ExportedMethod * | get_overload_by_type () |
| template<class TType > | |
| const ExportedMethod * | get_overload_by_type () const |
| ExportedMethod * | get_overload_by_type_id (size_t typeID) |
| const ExportedMethod * | 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 | |
| size_t | num_overloads () const |
| ~ExportedMethodGroup () | |
Private Types | |
| typedef ExportedMethod::ProxyFunc | ProxyFunc |
Private Attributes | |
| std::string | m_name |
| std::vector< Overload > | m_overloads |
Groups of methods - useful to realize overloaded methods.
|
private |
|
inline |
|
inline |
References m_overloads.
|
inline |
adds an overload. Returns false if the overload already existed.
References func(), get_overload_by_type_id(), m_name, and m_overloads.
Referenced by ug::bridge::ExportedClass< TClass >::add_method().
|
inline |
References m_overloads.
Referenced by ug::bridge::lua::ExecuteMethod(), ug::vrl::invocation::getMethodBySignature(), and ug::bridge::lua::LuaProxyMethod().
|
inline |
References m_overloads.
|
inline |
References get_overload_by_type_id().
|
inline |
References get_overload_by_type_id().
|
inline |
References m_overloads.
Referenced by add_overload(), get_overload_by_type(), and get_overload_by_type().
|
inline |
References m_overloads.
|
inline |
References m_overloads.
|
inline |
name of function group
References m_name.
Referenced by ug::bridge::lua::CreateBindings_LUA(), ug::bridge::lua::ExecuteMethod(), and ug::bridge::lua::LuaProxyMethod().
|
inline |
References m_overloads.
Referenced by ug::bridge::lua::ExecuteMethod(), and ug::vrl::invocation::getMethodBySignature().
|
private |
Referenced by add_overload(), and name().
|
private |