osgIntrospection::TypedMethodInfo2< C, R, P0, P1 > Class Template Reference

Inheritance diagram for osgIntrospection::TypedMethodInfo2< C, R, P0, P1 >:

osgIntrospection::MethodInfo osgIntrospection::CustomAttributeProvider List of all members.

Public Types

typedef R(C::*) ConstFunctionType (P0, P1) const
typedef R(C::*) FunctionType (P0, P1)

Public Member Functions

 TypedMethodInfo2 (const std::string &qname, ConstFunctionType cf, const ParameterInfoList &plist)
 TypedMethodInfo2 (const std::string &qname, FunctionType f, const ParameterInfoList &plist)
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
Value invoke (Value &instance, ValueList &args) const

template<typename C, typename R, typename P0, typename P1>
class osgIntrospection::TypedMethodInfo2< C, R, P0, P1 >


Member Typedef Documentation

template<typename C, typename R, typename P0, typename P1>
typedef R(C::*) osgIntrospection::TypedMethodInfo2< C, R, P0, P1 >::ConstFunctionType(P0, P1) const

template<typename C, typename R, typename P0, typename P1>
typedef R(C::*) osgIntrospection::TypedMethodInfo2< C, R, P0, P1 >::FunctionType(P0, P1)


Constructor & Destructor Documentation

template<typename C, typename R, typename P0, typename P1>
osgIntrospection::TypedMethodInfo2< C, R, P0, P1 >::TypedMethodInfo2 ( const std::string &  qname,
ConstFunctionType  cf,
const ParameterInfoList plist 
) [inline]

template<typename C, typename R, typename P0, typename P1>
osgIntrospection::TypedMethodInfo2< C, R, P0, P1 >::TypedMethodInfo2 ( const std::string &  qname,
FunctionType  f,
const ParameterInfoList plist 
) [inline]


Member Function Documentation

template<typename C, typename R, typename P0, typename P1>
Value osgIntrospection::TypedMethodInfo2< C, R, P0, P1 >::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.

template<typename C, typename R, typename P0, typename P1>
Value osgIntrospection::TypedMethodInfo2< C, R, P0, P1 >::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.

template<typename C, typename R, typename P0, typename P1>
bool osgIntrospection::TypedMethodInfo2< C, R, P0, P1 >::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>
bool osgIntrospection::TypedMethodInfo2< C, R, P0, P1 >::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:
Generated on Sun Oct 1 13:17:11 2006 for openscenegraph by  doxygen 1.4.7