2005/5/9

     
 

class MethodInfo

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

acdk::tools::mc::MethodInfo Class Reference

#include <MethodInfo.h>

Inheritance diagram for acdk::tools::mc::MethodInfo:

acdk::tools::mc::CodeInfo acdk::tools::mc::TypeScope acdk::lang::Object acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

Public Member Functions

 MethodInfo (IN(RTypeScope) parent, IN(RClassInfo) clsInfo, int accessflags)
acdk::lang::Object clone (sys::Allocator *alc)
 reimplemented from acdk::lang::Object

acdk::lang::Object clone ()
 reimplemented from acdk::lang::Object

virtual RString getMetaInfoCIdentifier ()
 Returns the identifier to the dmi::ClazzInfo, dmi::MethodInfo/etc.

bool isPublic ()
bool isPrivate ()
bool isDestructor ()
bool isVirtual ()
bool isStatic ()
bool isConstructor ()
bool isAbstract ()
bool parse (IN(RStreamTokenizer) in)
bool isCreateInstance ()
virtual int compareTo (IN(acdk::lang::Object) other)
 compares t objects Object::compareTo() UnsupportedOperationException

bool invokeCodeAttributes (IN(RModuleInfo) cm, IN(RClassInfo) ci)
void writeInfo (IN(RPrintWriter) out, IN(RClassInfo) clsinfo)
void writeInfo (IN(RPrintWriter) out, IN(RClassInfo) clsinfo, int argcount)
 if arguments as default initializer argcount != args->length();

RString getJavaSignature (bool cidentifier, int argcount=-1)
bool detectPureVirtualMethod (IN(RStreamTokenizer) in)
void writeMethodList (IN(RPrintWriter) out, IN(RClassInfo) clsinfo)
void writeDispatchBody (IN(RPrintWriter) out, IN(RClassInfo) clsinfo)
void writeDispatchBodyEx (IN(RPrintWriter) out, IN(RClassInfo) clsinfo)
void writeDispatchBody (IN(RPrintWriter) out, IN(RClassInfo) clsinfo, int argcount)
void writeDispatchBodyEx (IN(RPrintWriter) out, IN(RClassInfo) clsinfo, int argcount)
void writeProxyConstructor (IN(RPrintWriter) out, IN(RClassInfo) clsinfo)
void writeProxyMethod (IN(RPrintWriter) out, IN(RClassInfo) clsinfo)
void writeThrowDispatch (IN(RPrintWriter) out, IN(RClassInfo) clsinfo, int argcount)
void writeDispatchBody2 (IN(RPrintWriter) out, IN(RClassInfo) clsinfo, int argcount, bool novirtual)
int getArgCount ()
 return all arguments, including default values.

int getNoDefaultArgCount ()
void writeOrbProxy (IN(RPrintWriter) out, IN(RClassInfo) clsinfo)
virtual RString toString ()
 return a string representation of this object Object::toString() return getName() by default

RString orgReturnType ()
RString mappedReturnType ()
RMethodInfoArray getFixedParametersMethods ()
 If the method has default parameter, multiple Methods with corresponding argument count will be returned.

void generateIdlIfInterface (IN(RPrintWriter) out)
 ACDK2IDL.

bool checkModifier (IN(RStreamTokenizer) in)
void writeCodes (IN(RPrintWriter) out, CodeWhere where)
bool needMethodInfo ()
virtual bool generateMetaInfo (bool defaultValue)

Public Attributes

RString returnType
RClassInfo _classInfo
RArrayList args
int argcount
 Fixed argument count (ignoreing default value arguments.

RString _javaSignature
RArrayList _throws
RString _altName
RString _operatorName

Constructor & Destructor Documentation

acdk::tools::mc::MethodInfo::MethodInfo IN(RTypeScope parent,
IN(RClassInfo clsInfo,
int  accessflags
 


Member Function Documentation

bool acdk::tools::mc::MethodInfo::checkModifier IN(RStreamTokenizer in  ) 
 

acdk::lang::Object acdk::tools::mc::MethodInfo::clone  )  [inline, virtual]
 

reimplemented from acdk::lang::Object

Reimplemented from acdk::lang::Object.

acdk::lang::Object acdk::tools::mc::MethodInfo::clone sys::Allocator *  alc  )  [virtual]
 

reimplemented from acdk::lang::Object

Reimplemented from acdk::lang::Object.

virtual int acdk::tools::mc::MethodInfo::compareTo IN(acdk::lang::Object other  )  [inline, virtual]
 

compares t objects Object::compareTo() UnsupportedOperationException

Returns:
0 if equal 1 if this object is greater, -1 if ohter
Exceptions:
UnsupportedOperationException 

Reimplemented from acdk::lang::Object.

bool acdk::tools::mc::MethodInfo::detectPureVirtualMethod IN(RStreamTokenizer in  ) 
 

void acdk::tools::mc::MethodInfo::generateIdlIfInterface IN(RPrintWriter out  ) 
 

ACDK2IDL.

virtual bool acdk::tools::mc::MethodInfo::generateMetaInfo bool  defaultValue  )  [inline, virtual]
 

Reimplemented from acdk::tools::mc::CodeInfo.

int acdk::tools::mc::MethodInfo::getArgCount  )  [inline]
 

return all arguments, including default values.

use ai->argcount for current real arg count

RMethodInfoArray acdk::tools::mc::MethodInfo::getFixedParametersMethods  ) 
 

If the method has default parameter, multiple Methods with corresponding argument count will be returned.

RString acdk::tools::mc::MethodInfo::getJavaSignature bool  cidentifier,
int  argcount = -1
 

virtual RString acdk::tools::mc::MethodInfo::getMetaInfoCIdentifier  )  [virtual]
 

Returns the identifier to the dmi::ClazzInfo, dmi::MethodInfo/etc.

Implements acdk::tools::mc::CodeInfo.

int acdk::tools::mc::MethodInfo::getNoDefaultArgCount  ) 
 

bool acdk::tools::mc::MethodInfo::invokeCodeAttributes IN(RModuleInfo cm,
IN(RClassInfo ci
 

bool acdk::tools::mc::MethodInfo::isAbstract  )  [inline]
 

bool acdk::tools::mc::MethodInfo::isConstructor  )  [inline]
 

bool acdk::tools::mc::MethodInfo::isCreateInstance  ) 
 

bool acdk::tools::mc::MethodInfo::isDestructor  )  [inline]
 

bool acdk::tools::mc::MethodInfo::isPrivate  )  [inline]
 

bool acdk::tools::mc::MethodInfo::isPublic  )  [inline]
 

bool acdk::tools::mc::MethodInfo::isStatic  )  [inline]
 

bool acdk::tools::mc::MethodInfo::isVirtual  )  [inline]
 

RString acdk::tools::mc::MethodInfo::mappedReturnType  )  [inline]
 

bool acdk::tools::mc::MethodInfo::needMethodInfo  ) 
 

RString acdk::tools::mc::MethodInfo::orgReturnType  )  [inline]
 

bool acdk::tools::mc::MethodInfo::parse IN(RStreamTokenizer in  ) 
 

virtual RString acdk::tools::mc::MethodInfo::toString  )  [virtual]
 

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

Reimplemented from acdk::lang::Object.

void acdk::tools::mc::MethodInfo::writeCodes IN(RPrintWriter out,
CodeWhere  where
 

void acdk::tools::mc::MethodInfo::writeDispatchBody IN(RPrintWriter out,
IN(RClassInfo clsinfo,
int  argcount
 

void acdk::tools::mc::MethodInfo::writeDispatchBody IN(RPrintWriter out,
IN(RClassInfo clsinfo
 

void acdk::tools::mc::MethodInfo::writeDispatchBody2 IN(RPrintWriter out,
IN(RClassInfo clsinfo,
int  argcount,
bool  novirtual
 

void acdk::tools::mc::MethodInfo::writeDispatchBodyEx IN(RPrintWriter out,
IN(RClassInfo clsinfo,
int  argcount
 

void acdk::tools::mc::MethodInfo::writeDispatchBodyEx IN(RPrintWriter out,
IN(RClassInfo clsinfo
 

void acdk::tools::mc::MethodInfo::writeInfo IN(RPrintWriter out,
IN(RClassInfo clsinfo,
int  argcount
 

if arguments as default initializer argcount != args->length();

void acdk::tools::mc::MethodInfo::writeInfo IN(RPrintWriter out,
IN(RClassInfo clsinfo
 

void acdk::tools::mc::MethodInfo::writeMethodList IN(RPrintWriter out,
IN(RClassInfo clsinfo
 

void acdk::tools::mc::MethodInfo::writeOrbProxy IN(RPrintWriter out,
IN(RClassInfo clsinfo
 

void acdk::tools::mc::MethodInfo::writeProxyConstructor IN(RPrintWriter out,
IN(RClassInfo clsinfo
 

void acdk::tools::mc::MethodInfo::writeProxyMethod IN(RPrintWriter out,
IN(RClassInfo clsinfo
 

void acdk::tools::mc::MethodInfo::writeThrowDispatch IN(RPrintWriter out,
IN(RClassInfo clsinfo,
int  argcount
 


Member Data Documentation

RString acdk::tools::mc::MethodInfo::_altName
 

RClassInfo acdk::tools::mc::MethodInfo::_classInfo
 

RString acdk::tools::mc::MethodInfo::_javaSignature
 

RString acdk::tools::mc::MethodInfo::_operatorName
 

RArrayList acdk::tools::mc::MethodInfo::_throws
 

int acdk::tools::mc::MethodInfo::argcount
 

Fixed argument count (ignoreing default value arguments.

RArrayList acdk::tools::mc::MethodInfo::args
 

RString acdk::tools::mc::MethodInfo::returnType