Jive reference manual
List of all members | Public Member Functions | Static Public Attributes | Protected Member Functions
jem::MethodTemplate< M > Class Template Reference

#include <jem/base/reflect/MethodTemplate.h>

Inheritance diagram for jem::MethodTemplate< M >:
Inheritance graph

Public Member Functions

 MethodTemplate (const String &name, M method)
 
virtual bool isStatic () const
 
virtual idx_t argCount () const
 
virtual ClassgetReturnType () const
 
virtual void getArgTypes (Class **types) const
 
virtual Ref< Objectcall (const Ref< Object > *args) const
 
- Public Member Functions inherited from jem::Method
 Method (const String &name)
 
virtual String getContext () const
 
- Public Member Functions inherited from jem::Member
 Member (const String &name="")
 
ClassgetDeclaringClass () const
 
- Public Member Functions inherited from jem::NamedObject
 NamedObject (const String &name="")
 
virtual String toString () const
 Returns a short textual description of this object. More...
 
String getName () const
 
- Public Member Functions inherited from jem::Object
virtual ClassgetClass () const
 Returns the Class instance representing the runtime class of this object. More...
 
virtual long hashValue () const
 Returns a hash value for this object. More...
 
virtual bool equals (const Ref< Object > &obj) const
 Tests whether two objects are equal. More...
 
Ref< Objectclone () const
 Returns a copy of this object. More...
 

Static Public Attributes

static const int ARG_COUNT = MethodTraits<M>::ARG_COUNT
 
static const bool IS_STATIC = MethodTraits<M>::IS_STATIC
 

Protected Member Functions

virtual ~MethodTemplate ()
 
- Protected Member Functions inherited from jem::Method
virtual ~Method ()
 
- Protected Member Functions inherited from jem::Member
virtual ~Member ()
 
- Protected Member Functions inherited from jem::NamedObject
virtual ~NamedObject ()
 
- Protected Member Functions inherited from jem::Collectable
 Collectable ()
 Creates an empty Collectable. More...
 
 ~Collectable ()
 Frees resources. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from jem::NamedObject
static String makeContext (const String &kind, const String &name)
 
- Static Public Member Functions inherited from jem::Object
static ClassgetType ()
 Returns the Class instance representing the Object class. More...
 
- Protected Attributes inherited from jem::NamedObject
String myName_
 

Constructor & Destructor Documentation

template<class M >
jem::MethodTemplate< M >::MethodTemplate ( const String name,
method 
)
template<class M >
jem::MethodTemplate< M >::~MethodTemplate ( )
protectedvirtual

Member Function Documentation

template<class M >
bool jem::MethodTemplate< M >::isStatic ( ) const
virtual

Implements jem::Member.

template<class M >
idx_t jem::MethodTemplate< M >::argCount ( ) const
virtual

Implements jem::Method.

template<class M >
Class * jem::MethodTemplate< M >::getReturnType ( ) const
virtual

Implements jem::Method.

template<class M >
void jem::MethodTemplate< M >::getArgTypes ( Class **  types) const
virtual

Implements jem::Method.

template<class M >
Ref< Object > jem::MethodTemplate< M >::call ( const Ref< Object > *  args) const
virtual

Implements jem::Method.

Member Data Documentation

template<class M >
const int jem::MethodTemplate< M >::ARG_COUNT = MethodTraits<M>::ARG_COUNT
static
template<class M >
const bool jem::MethodTemplate< M >::IS_STATIC = MethodTraits<M>::IS_STATIC
static