Class SBCClassStaticFunction0#
template <typename Output>
ClassList > SBCClassStaticFunction0
Inherits the following classes: SBCClassFunction
Public Attributes#
| Type | Name |
|---|---|
| Output(*)() | getFunctionPointer |
Public Functions#
| Type | Name |
|---|---|
| SBCClassStaticFunction0 (std::string name, Output(*)() pointer) |
|
| SBCClassStaticFunction0 (std::string name, Output(*)() pointer, const SBCClassCallableMemberDoc::Spec & spec) |
|
| virtual SBValue | call (const SBValue & object, SB_MAKE_FUNCTION_GENERIC_ARGUMENTS(16)) override const |
| virtual bool | canCall (SB_MAKE_FUNCTION_GENERIC_ARGUMENTS(16)) override const |
| virtual std::string | getName () noexcept override const |
| virtual unsigned int | getNumberOfParameters () noexcept override const |
| virtual std::string | getOutputType () override const |
| virtual SBValue | getParameterType (int i) override const |
| virtual std::string | getParameterTypeName (int i) override const |
| virtual bool | isConstFunction () noexcept override const |
| virtual bool | isStaticFunction () noexcept override const |
| virtual | ~SBCClassStaticFunction0 () |
Public Functions inherited from SBCClassFunction#
See SBCClassFunction
| Type | Name |
|---|---|
| SBCClassFunction () noexcept Constructs a class function. |
|
| SBCClassFunction (const SBCClassCallableMemberDoc::Spec & spec) Constructs a class function with the given doc.specs. |
|
| virtual SBValue | call (const SBValue & object, const SBValue & t0=SBValue(), const SBValue & t1=SBValue(), const SBValue & t2=SBValue(), const SBValue & t3=SBValue(), const SBValue & t4=SBValue(), const SBValue & t5=SBValue(), const SBValue & t6=SBValue(), const SBValue & t7=SBValue(), const SBValue & t8=SBValue(), const SBValue & t9=SBValue(), const SBValue & t10=SBValue(), const SBValue & t11=SBValue(), const SBValue & t12=SBValue(), const SBValue & t13=SBValue(), const SBValue & t14=SBValue(), const SBValue & t15=SBValue()) const Calls the function for the specific object with argumentst0 ,t1 , ...,t15 . |
| virtual bool | canCall (const SBValue & t0=SBValue(), const SBValue & t1=SBValue(), const SBValue & t2=SBValue(), const SBValue & t3=SBValue(), const SBValue & t4=SBValue(), const SBValue & t5=SBValue(), const SBValue & t6=SBValue(), const SBValue & t7=SBValue(), const SBValue & t8=SBValue(), const SBValue & t9=SBValue(), const SBValue & t10=SBValue(), const SBValue & t11=SBValue(), const SBValue & t12=SBValue(), const SBValue & t13=SBValue(), const SBValue & t14=SBValue(), const SBValue & t15=SBValue()) const Returns true if and only if the function can be called with argumentst0 ,t1 , ...,t15 . |
| virtual std::string | getName () noexcept const = 0 Returns the name of the function. |
| virtual unsigned int | getNumberOfParameters () noexcept override const = 0 Returns the number of parameters of the function. |
| virtual std::string | getOutputType () const = 0 Returns the output type of the function. |
| virtual SBValue | getParameterType (int i) override const = 0 Returns the parameter type of the function parameter i . |
| virtual std::string | getParameterTypeName (int i) override const = 0 Returns the parameter type name of the function parameter i . |
| virtual bool | isConstFunction () noexcept const = 0 Returns true if and only if the function is a const function. |
| virtual bool | isStaticFunction () noexcept const = 0 Returns true if and only if the function is a static function. |
| virtual std::string | signature (bool addArgumentNames=false) override const Returns the signature of the function; if addArgumentNames istrue then also adds names of arguments. |
| virtual | ~SBCClassFunction () Destructs the class function. |
Public Attributes Documentation#
variable getFunctionPointer#
Public Functions Documentation#
function SBCClassStaticFunction0 [1/2]#
function SBCClassStaticFunction0 [2/2]#
inline SBCClassStaticFunction0::SBCClassStaticFunction0 (
std::string name,
Output(*)() pointer,
const SBCClassCallableMemberDoc::Spec & spec
)
function call#
inline virtual SBValue SBCClassStaticFunction0::call (
const SBValue & object,
SB_MAKE_FUNCTION_GENERIC_ARGUMENTS(16)
) override const
function canCall#
inline virtual bool SBCClassStaticFunction0::canCall (
SB_MAKE_FUNCTION_GENERIC_ARGUMENTS(16)
) override const
function getName#
function getNumberOfParameters#
inline virtual unsigned int SBCClassStaticFunction0::getNumberOfParameters () noexcept override const