2005/5/9

     
 

class Parameter

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

acdk::lang::reflect::Parameter Class Reference

#include <Parameter.h>

Inheritance diagram for acdk::lang::reflect::Parameter:

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

Detailed Description

a method parameter


Public Member Functions

 Parameter (const acdk::lang::dmi::ClazzInfo *clazz, const acdk::lang::dmi::ClazzMethodInfo *meth, const acdk::lang::dmi::ClazzMethodArgInfo *paramInfo)
 Internal constructor.

virtual dmi::MetaInfogetMetaInfo ()
 implemented interface for MetaObject

virtual RMethod getMethod ()
virtual int getModifiers ()
virtual RString getName ()
 returns the ClassName for this object by default

virtual RClass getType ()
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 int hashCode ()
virtual RString toString ()
 return a string representation of this object Object::toString() return getName() by default

virtual RString toIndentifier ()
 render the method to an identifier including 'namemangling'

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


Private Attributes

const acdk::lang::dmi::ClazzInfo_theClazz
const acdk::lang::dmi::ClazzMethodInfo_methodInfo
const acdk::lang::dmi::ClazzMethodArgInfo_paramInfo


Constructor & Destructor Documentation

acdk::lang::reflect::Parameter::Parameter const acdk::lang::dmi::ClazzInfo clazz,
const acdk::lang::dmi::ClazzMethodInfo meth,
const acdk::lang::dmi::ClazzMethodArgInfo paramInfo
[inline]
 

Internal constructor.

Parameters:
clazz must not be 0
meth must not be 0


Member Function Documentation

virtual bool acdk::lang::reflect::Parameter::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.

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

implemented interface for MetaObject

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

virtual RMethod acdk::lang::reflect::Parameter::getMethod  )  [virtual]
 

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

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

returns the ClassName for this object by default

Reimplemented from acdk::lang::Object.

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

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

See also:
serialized_hashCode

Reimplemented from acdk::lang::Object.

virtual RString acdk::lang::reflect::Parameter::toIndentifier  )  [virtual]
 

render the method to an identifier including 'namemangling'

virtual RString acdk::lang::reflect::Parameter::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::Parameter::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::ClazzMethodInfo* acdk::lang::reflect::Parameter::_methodInfo [private]
 

const acdk::lang::dmi::ClazzMethodArgInfo* acdk::lang::reflect::Parameter::_paramInfo [private]
 

const acdk::lang::dmi::ClazzInfo* acdk::lang::reflect::Parameter::_theClazz [private]