Web Analytics Made Easy - Statcounter
Skip to content

Class SBCClassConstFunction0#

template <typename Output, typename Class>

ClassList > SBCClassConstFunction0

Inherits the following classes: SBCClassFunction

Public Functions#

Type Name
SBCClassConstFunction0 (std::string name, Output(Class::*)() const pointer)
SBCClassConstFunction0 (std::string name, Output(Class::*)() const 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 ~SBCClassConstFunction0 ()

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 Functions Documentation#

function SBCClassConstFunction0 [1/2]#

inline SBCClassConstFunction0::SBCClassConstFunction0 (
    std::string name,
    Output(Class::*)() const pointer
) 

function SBCClassConstFunction0 [2/2]#

inline SBCClassConstFunction0::SBCClassConstFunction0 (
    std::string name,
    Output(Class::*)() const pointer,
    const SBCClassCallableMemberDoc::Spec & spec
) 

function call#

inline virtual SBValue SBCClassConstFunction0::call (
    const SBValue & object,
    SB_MAKE_FUNCTION_GENERIC_ARGUMENTS(16)
) override const

function canCall#

inline virtual bool SBCClassConstFunction0::canCall (
    SB_MAKE_FUNCTION_GENERIC_ARGUMENTS(16)
) override const

function getName#

inline virtual std::string SBCClassConstFunction0::getName () noexcept override const

function getNumberOfParameters#

inline virtual unsigned int SBCClassConstFunction0::getNumberOfParameters () noexcept override const

function getOutputType#

inline virtual std::string SBCClassConstFunction0::getOutputType () override const

function getParameterType#

inline virtual SBValue SBCClassConstFunction0::getParameterType (
    int i
) override const

function getParameterTypeName#

inline virtual std::string SBCClassConstFunction0::getParameterTypeName (
    int i
) override const

function isConstFunction#

inline virtual bool SBCClassConstFunction0::isConstFunction () noexcept override const

function isStaticFunction#

inline virtual bool SBCClassConstFunction0::isStaticFunction () noexcept override const

function ~SBCClassConstFunction0#

inline virtual SBCClassConstFunction0::~SBCClassConstFunction0 ()