2005/5/9

     
 

class Constructor

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

acdk::lang::reflect::Constructor Class Reference

#include <.h>

Inheritance diagram for acdk::lang::reflect::Constructor:

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

Detailed Description

Represents a constructor of a class.


Public Member Functions

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

virtual dmi::MetaInfogetMetaInfo ()
 implemented interface for MetaObject

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

virtual RClass getDeclaringClass ()
virtual int getModifiers ()
virtual RString getName ()
int getParameterCount ()
RParameterArray getParameters ()
RParameter getParameter (int idx)
RParameter getParameter (IN(RString) idx)
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 RClassArray getExceptionTypes ()
virtual RClassArray getParameterTypes ()
virtual int hashCode ()
virtual RObject newInstance (IN(RObjectArray) initargs)
virtual RString toString ()
 return a string representation of this object Object::toString() return getName() by default

const acdk::lang::dmi::ClazzInfogetObjectClazzInfo ()
const acdk::lang::dmi::ClazzMethodInfogetObjectMethodInfo ()

Private Attributes

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


Constructor & Destructor Documentation

acdk::lang::reflect::Constructor::Constructor const acdk::lang::dmi::ClazzInfo clazz,
const acdk::lang::dmi::ClazzMethodInfo meth
[inline]
 

Internal constructor.

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


Member Function Documentation

virtual bool acdk::lang::reflect::Constructor::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 RClass acdk::lang::reflect::Constructor::getDeclaringClass  )  [virtual]
 

Implements acdk::lang::reflect::Member.

virtual RClassArray acdk::lang::reflect::Constructor::getExceptionTypes  )  [virtual]
 

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

implemented interface for MetaObject

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

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

Implements acdk::lang::reflect::Member.

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

Implements acdk::lang::reflect::Member.

const acdk::lang::dmi::ClazzInfo* acdk::lang::reflect::Constructor::getObjectClazzInfo  )  [inline]
 

const acdk::lang::dmi::ClazzMethodInfo* acdk::lang::reflect::Constructor::getObjectMethodInfo  )  [inline]
 

RParameter acdk::lang::reflect::Constructor::getParameter IN(RString idx  ) 
 

RParameter acdk::lang::reflect::Constructor::getParameter int  idx  ) 
 

int acdk::lang::reflect::Constructor::getParameterCount  ) 
 

RParameterArray acdk::lang::reflect::Constructor::getParameters  ) 
 

virtual RClassArray acdk::lang::reflect::Constructor::getParameterTypes  )  [virtual]
 

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

See also:
serialized_hashCode

Reimplemented from acdk::lang::Object.

virtual RObject acdk::lang::reflect::Constructor::newInstance IN(RObjectArray initargs  )  [virtual]
 

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

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