Base class for function/method export.
More...
#include <global_function.h>
|
template<typename TFunc > |
void | create_parameter_stack () |
|
void | tokenize (const std::string &str, std::vector< std::string > &tokens, const char delimiter) |
|
Base class for function/method export.
◆ ExportedFunctionBase()
ug::bridge::ExportedFunctionBase::ExportedFunctionBase |
( |
const std::string & |
funcName, |
|
|
const std::string & |
funcOptions, |
|
|
const std::string & |
retValInfos, |
|
|
const std::string & |
paramInfos, |
|
|
const std::string & |
tooltip, |
|
|
const std::string & |
help |
|
) |
| |
◆ check_consistency()
bool ug::bridge::ExportedFunctionBase::check_consistency |
( |
std::string |
classname = "" | ) |
const |
◆ create_parameter_stack()
template<typename TFunc >
void ug::bridge::ExportedFunctionBase::create_parameter_stack |
( |
| ) |
|
|
inlineprotected |
◆ help()
const std::string& ug::bridge::ExportedFunctionBase::help |
( |
| ) |
const |
|
inline |
◆ name()
const std::string& ug::bridge::ExportedFunctionBase::name |
( |
| ) |
const |
|
inline |
◆ num_infos()
size_t ug::bridge::ExportedFunctionBase::num_infos |
( |
size_t |
i | ) |
const |
|
inline |
number of info strings for one parameter
◆ num_parameter()
size_t ug::bridge::ExportedFunctionBase::num_parameter |
( |
| ) |
const |
|
inline |
◆ options()
const std::string& ug::bridge::ExportedFunctionBase::options |
( |
| ) |
const |
|
inline |
◆ parameter_class_name()
const char* ug::bridge::ExportedFunctionBase::parameter_class_name |
( |
size_t |
i | ) |
const |
|
inline |
class name of parameter i
◆ parameter_info()
const std::string& ug::bridge::ExportedFunctionBase::parameter_info |
( |
size_t |
i, |
|
|
size_t |
j |
|
) |
| const |
|
inline |
type info of all parameters
◆ parameter_info_string()
const std::string& ug::bridge::ExportedFunctionBase::parameter_info_string |
( |
| ) |
const |
|
inline |
whole string of all type infos for of all parameters
◆ parameter_info_vec()
const std::vector<std::string>& ug::bridge::ExportedFunctionBase::parameter_info_vec |
( |
size_t |
i | ) |
const |
|
inline |
type info of i th parameters
◆ parameter_name()
const std::string& ug::bridge::ExportedFunctionBase::parameter_name |
( |
size_t |
i | ) |
const |
|
inline |
◆ params_in() [1/2]
non-const export of param list
◆ params_in() [2/2]
const ParameterInfo& ug::bridge::ExportedFunctionBase::params_in |
( |
| ) |
const |
|
inline |
◆ params_out()
const ParameterInfo& ug::bridge::ExportedFunctionBase::params_out |
( |
| ) |
const |
|
inline |
◆ return_info()
const std::string& ug::bridge::ExportedFunctionBase::return_info |
( |
size_t |
i | ) |
const |
|
inline |
◆ return_info_vec()
const std::vector<std::string>& ug::bridge::ExportedFunctionBase::return_info_vec |
( |
| ) |
const |
|
inline |
type info of return value
◆ return_name()
const std::string& ug::bridge::ExportedFunctionBase::return_name |
( |
| ) |
const |
|
inline |
◆ tokenize()
void ug::bridge::ExportedFunctionBase::tokenize |
( |
const std::string & |
str, |
|
|
std::vector< std::string > & |
tokens, |
|
|
const char |
delimiter |
|
) |
| |
|
protected |
◆ tooltip()
const std::string& ug::bridge::ExportedFunctionBase::tooltip |
( |
| ) |
const |
|
inline |
◆ m_help
std::string ug::bridge::ExportedFunctionBase::m_help |
|
protected |
◆ m_methodOptions
std::string ug::bridge::ExportedFunctionBase::m_methodOptions |
|
protected |
◆ m_name
std::string ug::bridge::ExportedFunctionBase::m_name |
|
protected |
◆ m_paramInfos
std::string ug::bridge::ExportedFunctionBase::m_paramInfos |
|
protected |
◆ m_paramsIn
◆ m_paramsOut
◆ m_retValInfos
std::string ug::bridge::ExportedFunctionBase::m_retValInfos |
|
protected |
◆ m_tooltip
std::string ug::bridge::ExportedFunctionBase::m_tooltip |
|
protected |
◆ m_vRetValInfo
std::vector<std::string> ug::bridge::ExportedFunctionBase::m_vRetValInfo |
|
protected |
◆ m_vvParamInfo
std::vector<std::vector<std::string> > ug::bridge::ExportedFunctionBase::m_vvParamInfo |
|
protected |
The documentation for this class was generated from the following files: