2005/5/9

     
 

class Field

artefaktur
Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::lang::reflect::Field Class Reference

#include <Field.h>

Inheritance diagram for acdk::lang::reflect::Field:

acdk::lang::reflect::AccessibleObject acdk::lang::dmi::MetaObject acdk::lang::Object acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

Detailed Description

represent a field member of a class


Public Member Functions

 Field (const acdk::lang::dmi::ClazzInfo *clazz, const acdk::lang::dmi::ClazzFieldInfo *field)
 Internal constructor.

virtual dmi::MetaInfogetMetaInfo ()
 implemented interface for MetaObject

virtual RString toTypeString (int format=acdk::lang::dmi::TpFtFormatStandard)
 print the information

virtual bool equals (IN(RObject) obj)
 Normally check for equality (not identity) Object::equals() is true only if both objects are the same instance.

virtual RObject get (IN(RObject) obj, int accessFlags=dmi::MiPublic)
virtual bool getBoolean (IN(RObject) obj, int accessFlags=dmi::MiPublic)
virtual byte getByte (IN(RObject) obj, int accessFlags=dmi::MiPublic)
virtual char getChar (IN(RObject) obj, int accessFlags=dmi::MiPublic)
virtual ucchar getUcChar (IN(RObject) obj, int accessFlags=dmi::MiPublic)
virtual RClass getDeclaringClass ()
virtual double getDouble (IN(RObject) obj, int accessFlags=dmi::MiPublic)
virtual float getFloat (IN(RObject) obj, int accessFlags=dmi::MiPublic)
virtual int getInt (IN(RObject) obj, int accessFlags=dmi::MiPublic)
virtual jlong getLong (IN(RObject) obj, int accessFlags=dmi::MiPublic)
virtual int getModifiers ()
virtual RString getName ()
 returns the ClassName for this object by default

virtual short getShort (IN(RObject) obj, int accessFlags=dmi::MiPublic)
virtual RClass getType ()
virtual int hashCode ()
virtual void set (IN(RObject) obj, IN(RObject) value, int accessFlags=dmi::MiPublic)
virtual void setBoolean (IN(RObject) obj, bool v, int accessFlags=dmi::MiPublic)
virtual void setByte (IN(RObject) obj, byte b, int accessFlags=dmi::MiPublic)
virtual void setChar (IN(RObject) obj, char c, int accessFlags=dmi::MiPublic)
virtual void setUcChar (IN(RObject) obj, ucchar c, int accessFlags=dmi::MiPublic)
virtual void setDouble (IN(RObject) obj, double d, int accessFlags=dmi::MiPublic)
virtual void setFloat (IN(RObject) obj, float f, int accessFlags=dmi::MiPublic)
virtual void setInt (IN(RObject) obj, int i, int accessFlags=dmi::MiPublic)
virtual void setLong (IN(RObject) obj, jlong l, int accessFlags=dmi::MiPublic)
virtual void setShort (IN(RObject) obj, short s, int accessFlags=dmi::MiPublic)
virtual RString toString ()
 return a string representation of this object Object::toString() return getName() by default

RObject get (int accessFlags=dmi::MiPublic)
 ACDK defined, return wrapped Object with current field implementation.

const acdk::lang::dmi::ClazzFieldInfoclazzField ()
const acdk::lang::dmi::ClazzInfoclazz ()

Private Member Functions

bool _isStatic ()

Private Attributes

const acdk::lang::dmi::ClazzInfo_clazz
const acdk::lang::dmi::ClazzFieldInfo_field


Constructor & Destructor Documentation

acdk::lang::reflect::Field::Field const acdk::lang::dmi::ClazzInfo clazz,
const acdk::lang::dmi::ClazzFieldInfo field
 

Internal constructor.

Parameters:
clazz must not be 0
field must not be 0


Member Function Documentation

bool acdk::lang::reflect::Field::_isStatic  )  [private]
 

const acdk::lang::dmi::ClazzInfo* acdk::lang::reflect::Field::clazz  )  [inline]
 

const acdk::lang::dmi::ClazzFieldInfo* acdk::lang::reflect::Field::clazzField  )  [inline]
 

virtual bool acdk::lang::reflect::Field::equals IN(RObject obj  )  [virtual]
 

Normally check for equality (not identity) Object::equals() is true only if both objects are the same instance.

See also:
serialized_equals()

Reimplemented from acdk::lang::Object.

RObject acdk::lang::reflect::Field::get int  accessFlags = dmi::MiPublic  ) 
 

ACDK defined, return wrapped Object with current field implementation.

virtual RObject acdk::lang::reflect::Field::get IN(RObject obj,
int  accessFlags = dmi::MiPublic
[virtual]
 

virtual bool acdk::lang::reflect::Field::getBoolean IN(RObject obj,
int  accessFlags = dmi::MiPublic
[virtual]
 

virtual byte acdk::lang::reflect::Field::getByte IN(RObject obj,
int  accessFlags = dmi::MiPublic
[virtual]
 

virtual char acdk::lang::reflect::Field::getChar IN(RObject obj,
int  accessFlags = dmi::MiPublic
[virtual]
 

virtual RClass acdk::lang::reflect::Field::getDeclaringClass  )  [virtual]
 

virtual double acdk::lang::reflect::Field::getDouble IN(RObject obj,
int  accessFlags = dmi::MiPublic
[virtual]
 

virtual float acdk::lang::reflect::Field::getFloat IN(RObject obj,
int  accessFlags = dmi::MiPublic
[virtual]
 

virtual int acdk::lang::reflect::Field::getInt IN(RObject obj,
int  accessFlags = dmi::MiPublic
[virtual]
 

virtual jlong acdk::lang::reflect::Field::getLong IN(RObject obj,
int  accessFlags = dmi::MiPublic
[virtual]
 

virtual dmi::MetaInfo* acdk::lang::reflect::Field::getMetaInfo  )  [inline, virtual]
 

implemented interface for MetaObject

Reimplemented from acdk::lang::dmi::MetaObject.

virtual int acdk::lang::reflect::Field::getModifiers  )  [virtual]
 

virtual RString acdk::lang::reflect::Field::getName  )  [virtual]
 

returns the ClassName for this object by default

Reimplemented from acdk::lang::Object.

virtual short acdk::lang::reflect::Field::getShort IN(RObject obj,
int  accessFlags = dmi::MiPublic
[virtual]
 

virtual RClass acdk::lang::reflect::Field::getType  )  [virtual]
 

virtual ucchar acdk::lang::reflect::Field::getUcChar IN(RObject obj,
int  accessFlags = dmi::MiPublic
[virtual]
 

virtual int acdk::lang::reflect::Field::hashCode  )  [virtual]
 

See also:
serialized_hashCode

Reimplemented from acdk::lang::Object.

virtual void acdk::lang::reflect::Field::set IN(RObject obj,
IN(RObject value,
int  accessFlags = dmi::MiPublic
[virtual]
 

virtual void acdk::lang::reflect::Field::setBoolean IN(RObject obj,
bool  v,
int  accessFlags = dmi::MiPublic
[virtual]
 

virtual void acdk::lang::reflect::Field::setByte IN(RObject obj,
byte  b,
int  accessFlags = dmi::MiPublic
[virtual]
 

virtual void acdk::lang::reflect::Field::setChar IN(RObject obj,
char  c,
int  accessFlags = dmi::MiPublic
[virtual]
 

virtual void acdk::lang::reflect::Field::setDouble IN(RObject obj,
double  d,
int  accessFlags = dmi::MiPublic
[virtual]
 

virtual void acdk::lang::reflect::Field::setFloat IN(RObject obj,
float  f,
int  accessFlags = dmi::MiPublic
[virtual]
 

virtual void acdk::lang::reflect::Field::setInt IN(RObject obj,
int  i,
int  accessFlags = dmi::MiPublic
[virtual]
 

virtual void acdk::lang::reflect::Field::setLong IN(RObject obj,
jlong  l,
int  accessFlags = dmi::MiPublic
[virtual]
 

virtual void acdk::lang::reflect::Field::setShort IN(RObject obj,
short  s,
int  accessFlags = dmi::MiPublic
[virtual]
 

virtual void acdk::lang::reflect::Field::setUcChar IN(RObject obj,
ucchar  c,
int  accessFlags = dmi::MiPublic
[virtual]
 

virtual RString acdk::lang::reflect::Field::toString  )  [virtual]
 

return a string representation of this object Object::toString() return getName() by default

Reimplemented from acdk::lang::Object.

virtual RString acdk::lang::reflect::Field::toTypeString int  format = acdk::lang::dmi::TpFtFormatStandard  )  [inline, virtual]
 

print the information

Parameters:
format combination of acdk::lang::dmi::TypeNameFormat

Implements acdk::lang::dmi::MetaObject.


Member Data Documentation

const acdk::lang::dmi::ClazzInfo* acdk::lang::reflect::Field::_clazz [private]
 

const acdk::lang::dmi::ClazzFieldInfo* acdk::lang::reflect::Field::_field [private]