ug4
|
describing information for constructor More...
#include <class.h>
Public Types | |
typedef void *(* | ProxyFunc) (const ParameterStack &in) |
Public Member Functions | |
bool | check_consistency (std::string classname) const |
returns true if all parameters of the function are correctly declared More... | |
void * | create (const ParameterStack ¶msIn) const |
executes the function More... | |
template<typename TFunc > | |
void | create_parameter_stack () |
ExportedConstructor (ProxyFunc pf, const std::string &className, const std::string &options, const std::string ¶mInfos, const std::string &tooltip, const std::string &help) | |
const std::string & | help () const |
help informations More... | |
size_t | num_infos (size_t i) const |
number of info strings for one parameter More... | |
size_t | num_parameter () const |
number of parameters. More... | |
const std::string & | options () const |
options More... | |
const std::string & | parameter_info (size_t i, size_t j) const |
type info of all parameters More... | |
const std::string & | parameter_info_string () const |
whole string of all type infos for of all parameters More... | |
const std::vector< std::string > & | parameter_info_vec (size_t i) const |
type info of i th parameters More... | |
const std::string & | parameter_name (size_t i) const |
name of parameter i More... | |
ParameterInfo & | params_in () |
non-const export of param list More... | |
const ParameterInfo & | params_in () const |
parameter list for input values More... | |
const std::string & | tooltip () const |
gives some information to the exported functions More... | |
Protected Member Functions | |
void | tokenize (const std::string &str, std::vector< std::string > &tokens, const char delimiter) |
Private Attributes | |
std::string | m_className |
name of class constructed More... | |
std::string | m_help |
std::string | m_options |
options More... | |
std::string | m_paramInfos |
string with Infos about parameter More... | |
ParameterInfo | m_paramsIn |
ProxyFunc | m_proxy_func |
proxy function to call method More... | |
std::string | m_tooltip |
std::vector< std::vector< std::string > > | m_vvParamInfo |
tokenized strings for each Parameter and each Info (name | style | options | ...) More... | |
describing information for constructor
typedef void*(* ug::bridge::ExportedConstructor::ProxyFunc) (const ParameterStack &in) |
ug::bridge::ExportedConstructor::ExportedConstructor | ( | ProxyFunc | pf, |
const std::string & | className, | ||
const std::string & | options, | ||
const std::string & | paramInfos, | ||
const std::string & | tooltip, | ||
const std::string & | help | ||
) |
References m_paramInfos, m_vvParamInfo, and tokenize().
bool ug::bridge::ExportedConstructor::check_consistency | ( | std::string | classname | ) | const |
returns true if all parameters of the function are correctly declared
References ug::bridge::ParameterInfo::parameter_named(), params_in(), ug::bridge::ParameterInfo::size(), and UG_ERR_LOG.
Referenced by ug::bridge::Registry::check_consistency().
|
inline |
executes the function
Referenced by Java_edu_gcsc_vrl_ug_UG__1newInstance(), and ug::bridge::lua::LuaConstructor().
|
inline |
References ug::bridge::CreateParameterInfo< TTypeList >::create().
Referenced by ug::bridge::ExportedClass< TClass >::add_constructor().
|
inline |
help informations
Referenced by ug::vrl::constructor2NativeConstructor().
|
inline |
number of info strings for one parameter
|
inline |
number of parameters.
Referenced by ug::vrl::params2NativeParams().
|
inline |
options
Referenced by ug::vrl::constructor2NativeConstructor().
|
inline |
type info of all parameters
|
inline |
whole string of all type infos for of all parameters
|
inline |
type info of i th parameters
Referenced by ug::vrl::params2NativeParams().
|
inline |
name of parameter i
|
inline |
non-const export of param list
|
inline |
parameter list for input values
Referenced by check_consistency(), ug::vrl::invocation::getConstructorBySignature(), Java_edu_gcsc_vrl_ug_UG__1newInstance(), ug::bridge::lua::LuaConstructor(), and ug::vrl::params2NativeParams().
|
protected |
References ug::TrimString().
Referenced by ExportedConstructor().
|
inline |
gives some information to the exported functions
Referenced by ug::vrl::constructor2NativeConstructor().
|
private |
name of class constructed
|
private |
|
private |
options
|
private |
string with Infos about parameter
Referenced by ExportedConstructor().
|
private |
|
private |
proxy function to call method
|
private |
|
private |
tokenized strings for each Parameter and each Info (name | style | options | ...)
Referenced by ExportedConstructor().