Jive reference manual
List of all members | Public Types | Public Member Functions | Protected Member Functions
jem::FieldTemplate< G > Class Template Reference

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

Inheritance diagram for jem::FieldTemplate< G >:
Inheritance graph

Public Types

typedef G Getter
 

Public Member Functions

 FieldTemplate (const String &name, Getter getter)
 
virtual bool isStatic () const
 
virtual ClassgetFieldType () const
 
virtual Ref< Objectget (const Ref< Object > &obj) const
 
- Public Member Functions inherited from jem::Field
 Field (const String &name)
 
virtual String getContext () const
 
virtual bool isSettable () const
 
virtual void set (const Ref< Object > &obj, const Ref< Object > &value) 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...
 

Protected Member Functions

virtual ~FieldTemplate ()
 
- Protected Member Functions inherited from jem::Field
virtual ~Field ()
 
- 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_
 

Member Typedef Documentation

template<class G >
typedef G jem::FieldTemplate< G >::Getter

Constructor & Destructor Documentation

template<class G >
jem::FieldTemplate< G >::FieldTemplate ( const String name,
Getter  getter 
)
template<class G >
jem::FieldTemplate< G >::~FieldTemplate ( )
protectedvirtual

Member Function Documentation

template<class G >
bool jem::FieldTemplate< G >::isStatic ( ) const
virtual

Implements jem::Member.

template<class G >
Class * jem::FieldTemplate< G >::getFieldType ( ) const
virtual

Implements jem::Field.

template<class G >
Ref< Object > jem::FieldTemplate< G >::get ( const Ref< Object > &  obj) const
virtual

Implements jem::Field.