OpenSceneGraph 2.8.3

osgIntrospection::TypedMethodInfo6< C, R, P0, P1, P2, P3, P4, P5 > Class Template Reference

Inheritance diagram for osgIntrospection::TypedMethodInfo6< C, R, P0, P1, P2, P3, P4, P5 >:

List of all members.

Public Types

typedef R(C::* ConstFunctionType )(P0, P1, P2, P3, P4, P5) const
typedef R(C::* FunctionType )(P0, P1, P2, P3, P4, P5)

Public Member Functions

 TypedMethodInfo6 (const std::string &qname, ConstFunctionType cf, const ParameterInfoList &plist, VirtualState virtualState, std::string briefHelp=std::string(), std::string detailedHelp=std::string())
 TypedMethodInfo6 (const std::string &qname, FunctionType f, const ParameterInfoList &plist, VirtualState virtualState, std::string briefHelp=std::string(), std::string detailedHelp=std::string())
bool isConst () const
 Returns whether the reflected method is const or not.
bool isStatic () const
 Returns whether the reflected method is static or not.
Value invoke (const Value &instance, ValueList &args) const
 Invokes the reflected method dynamically on the given const instance, passing it the arguments as a list of Value objects.
Value invoke (Value &instance, ValueList &args) const
 Invokes the reflected method dynamically on the given instance, passing it the arguments as a list of Value objects.

template<typename C, typename R, typename P0, typename P1, typename P2, typename P3, typename P4, typename P5>
class osgIntrospection::TypedMethodInfo6< C, R, P0, P1, P2, P3, P4, P5 >


Member Typedef Documentation

template<typename C , typename R , typename P0 , typename P1 , typename P2 , typename P3 , typename P4 , typename P5 >
typedef R(C::* osgIntrospection::TypedMethodInfo6< C, R, P0, P1, P2, P3, P4, P5 >::ConstFunctionType)(P0, P1, P2, P3, P4, P5) const
template<typename C , typename R , typename P0 , typename P1 , typename P2 , typename P3 , typename P4 , typename P5 >
typedef R(C::* osgIntrospection::TypedMethodInfo6< C, R, P0, P1, P2, P3, P4, P5 >::FunctionType)(P0, P1, P2, P3, P4, P5)

Constructor & Destructor Documentation

template<typename C , typename R , typename P0 , typename P1 , typename P2 , typename P3 , typename P4 , typename P5 >
osgIntrospection::TypedMethodInfo6< C, R, P0, P1, P2, P3, P4, P5 >::TypedMethodInfo6 ( const std::string &  qname,
ConstFunctionType  cf,
const ParameterInfoList plist,
VirtualState  virtualState,
std::string  briefHelp = std::string(),
std::string  detailedHelp = std::string() 
) [inline]
template<typename C , typename R , typename P0 , typename P1 , typename P2 , typename P3 , typename P4 , typename P5 >
osgIntrospection::TypedMethodInfo6< C, R, P0, P1, P2, P3, P4, P5 >::TypedMethodInfo6 ( const std::string &  qname,
FunctionType  f,
const ParameterInfoList plist,
VirtualState  virtualState,
std::string  briefHelp = std::string(),
std::string  detailedHelp = std::string() 
) [inline]

Member Function Documentation

template<typename C , typename R , typename P0 , typename P1 , typename P2 , typename P3 , typename P4 , typename P5 >
Value osgIntrospection::TypedMethodInfo6< C, R, P0, P1, P2, P3, P4, P5 >::invoke ( const Value instance,
ValueList args 
) const [inline, virtual]

Invokes the reflected method dynamically on the given const instance, passing it the arguments as a list of Value objects.

Reimplemented from osgIntrospection::MethodInfo.

References osgIntrospection::MethodInfo::getParameters(), osgIntrospection::Value::getType(), and osgIntrospection::variant_cast().

template<typename C , typename R , typename P0 , typename P1 , typename P2 , typename P3 , typename P4 , typename P5 >
Value osgIntrospection::TypedMethodInfo6< C, R, P0, P1, P2, P3, P4, P5 >::invoke ( Value instance,
ValueList args 
) const [inline, virtual]

Invokes the reflected method dynamically on the given instance, passing it the arguments as a list of Value objects.

Reimplemented from osgIntrospection::MethodInfo.

References osgIntrospection::MethodInfo::getParameters(), osgIntrospection::Value::getType(), and osgIntrospection::variant_cast().

template<typename C , typename R , typename P0 , typename P1 , typename P2 , typename P3 , typename P4 , typename P5 >
bool osgIntrospection::TypedMethodInfo6< C, R, P0, P1, P2, P3, P4, P5 >::isConst ( ) const [inline, virtual]

Returns whether the reflected method is const or not.

Implements osgIntrospection::MethodInfo.

template<typename C , typename R , typename P0 , typename P1 , typename P2 , typename P3 , typename P4 , typename P5 >
bool osgIntrospection::TypedMethodInfo6< C, R, P0, P1, P2, P3, P4, P5 >::isStatic ( ) const [inline, virtual]

Returns whether the reflected method is static or not.

Implements osgIntrospection::MethodInfo.


The documentation for this class was generated from the following file:

osg logo
Generated at Tue Mar 22 2011 13:20:27 for the OpenSceneGraph by doxygen 1.7.3.