2005/5/9

     
 

class DmiTestClass

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

acdk::tools::aunit::DmiTestClass Class Reference

#include <DmiTestClass.h>

Inheritance diagram for acdk::tools::aunit::DmiTestClass:

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

Detailed Description

This class may be used to test script code.

Author:
Roger Rene Kommer (kommer@artefaktur.com)
Version:
Revision
1.36
Date:
Date
2005/04/13 12:59:58


Public Member Functions

 DmiTestClass ()
 DmiTestClass (IN(RString) str, int i=42)
virtual RString toString ()
 return a string representation of this object Object::toString() return getName() by default

bool dynamicMethodz (bool bv, char cvar, byte bvar, short svar, int ivar, jlong jlvar, float fvar, double dvar, IN(acdk::lang::Object) obj)
char dynamicMethodc (bool bv, char cvar, byte bvar, short svar, int ivar, jlong jlvar, float fvar, double dvar, IN(acdk::lang::Object) obj)
byte dynamicMethodb (bool bv, char cvar, byte bvar, short svar, int ivar, jlong jlvar, float fvar, double dvar, IN(acdk::lang::Object) obj)
short dynamicMethods (bool bv, char cvar, byte bvar, short svar, int ivar, jlong jlvar, float fvar, double dvar, IN(acdk::lang::Object) obj)
int dynamicMethodi (bool bv, char cvar, byte bvar, short svar, int ivar, jlong jlvar, float fvar, double dvar, IN(acdk::lang::Object) obj)
jlong dynamicMethodl (bool bv, char cvar, byte bvar, short svar, int ivar, jlong jlvar, float fvar, double dvar, IN(acdk::lang::Object) obj)
float dynamicMethodf (bool bv, char cvar, byte bvar, short svar, int ivar, jlong jlvar, float fvar, double dvar, IN(acdk::lang::Object) obj)
double dynamicMethodd (bool bv, char cvar, byte bvar, short svar, int ivar, jlong jlvar, float fvar, double dvar, IN(acdk::lang::Object) obj)
acdk::lang::Object dynamicMethodO (bool bv, char cvar, byte bvar, short svar, int ivar, jlong jlvar, float fvar, double dvar, IN(acdk::lang::Object) obj)
jlong setgetl (jlong l)
float setgetf (float f)
double setgetd (double d)
void inOutMethod (IN(int) ini, IN(RString) instr, OUT(int) outi, OUT(RString) outstr)
void inOutMethodA (INOUT(int) count, INOUT(RString) val)
void outMethod (int toset, OUT(RInteger) toret)
bool namedArgsMethod (IN(int) iarg, IN(RString) sarg, IN(RStringBuffer) sbarg)
void byValIn (BYVALIN(RStringBuffer) sb)
void byValOut (BYVALOUT(RInteger) integer)
void byValInOut (BYVALINOUT(RStringBuffer) sb)
int methodWithDefaultArgs (int i=3)
int methodWithBasicArray (IN(RintArray) iarray)
 to test overloading of basic arrays

int methodWithBasicArray (IN(RcharArray) carray)
 to test overloading of basic arrays

void throwExceptionMethod (int exectiontype) throw (RNumberFormatException, RUnsupportedOperationException)
RString appendAll (IN(RStringArray) sa)
 Method test arrays of strings.

int makeSum (IN(RintArray) ia)
 Method test array of basic types return summary of elements.

int makeSum (IN(RIntegerArray) ia)
 Method test array of acdk::lang::Object types return summary of elements.

int makeNumSum (IN(RNumberArray) na)
bool sorted (IN(RComparableArray) ca)
 test for casting to InterfaceArrays

int operator+ (int otherint)
 Test for operator handling.

RString polymorphFunc (IN(RInteger) integer)
 group of function to test correct polymorphFunc overloading

RString polymorphFunc (IN(RNumber) number)
 group of function to test correct polymorphFunc overloading

RString polymorphFunc (IN(RComparable) comparable)
 group of function to test correct polymorphFunc overloading

RString polymorphFunc (IN(RString) str)
 group of function to test correct polymorphFunc overloading

virtual int virtualMethod ()
DmiTestEnumeration getEnumeration (DmiTestEnumeration en)
 test enumeration mappings

virtual RString sayHelloViaInterface (IN(RSayHelloInterface) helloi, IN(RString) sayto)

Static Public Member Functions

int getPubStaticInt ()
int setGetPubStaticInt (int i, IN(RString) msg)
bool staticMethodz (bool bv, char cvar, byte bvar, short svar, int ivar, jlong jlvar, float fvar, double dvar, IN(acdk::lang::Object) obj)
char staticMethodc (bool bv, char cvar, byte bvar, short svar, int ivar, jlong jlvar, float fvar, double dvar, IN(acdk::lang::Object) obj)
byte staticMethodb (bool bv, char cvar, byte bvar, short svar, int ivar, jlong jlvar, float fvar, double dvar, IN(acdk::lang::Object) obj)
short staticMethods (bool bv, char cvar, byte bvar, short svar, int ivar, jlong jlvar, float fvar, double dvar, IN(acdk::lang::Object) obj)
int staticMethodi (bool bv, char cvar, byte bvar, short svar, int ivar, jlong jlvar, float fvar, double dvar, IN(acdk::lang::Object) obj)
jlong staticMethodl (bool bv, char cvar, byte bvar, short svar, int ivar, jlong jlvar, float fvar, double dvar, IN(acdk::lang::Object) obj)
float staticMethodf (bool bv, char cvar, byte bvar, short svar, int ivar, jlong jlvar, float fvar, double dvar, IN(acdk::lang::Object) obj)
double staticMethodd (bool bv, char cvar, byte bvar, short svar, int ivar, jlong jlvar, float fvar, double dvar, IN(acdk::lang::Object) obj)
acdk::lang::Object staticMethodO (bool bv, char cvar, byte bvar, short svar, int ivar, jlong jlvar, float fvar, double dvar, IN(acdk::lang::Object) obj)
RString methodWithDefaults (IN(acdk::lang::Object) obj, IN(RString) message, IN(RString) defaultDir=, IN(RString) defaultFile=, IN(RString) wildCard=*.*, int style=0, RStringBuffer pos=new StringBuffer())

Public Attributes

bool pubBool
char pubChar
byte pubByte
short pubShort
int pubInt
jlong pubLong
float pubFloat
double pubDouble
acdk::lang::Object pubObject
RString pubString
RInteger pubInteger
acdk::util::RSet pubSet

Static Public Attributes

bool foreignStaticBoolean
bool pubStaticBool
char pubStaticChar
byte pubStaticByte
short pubStaticShort
int pubStaticInt
jlong pubStaticLong
float pubStaticFloat
double pubStaticDouble
acdk::lang::Object pubStaticObject
RString pubStaticString
RInteger pubStaticInteger

Private Member Functions

 DmiTestClass (int i)
 private constructor

virtual void privateMethod ()

Static Private Member Functions

void privateStaticMethod ()
void _initializeClass ()

Private Attributes

int privInt
RString privString
RInteger privInteger

Static Private Attributes

int privStaticInt
RString privStaticString
RInteger privStaticInteger


Constructor & Destructor Documentation

acdk::tools::aunit::DmiTestClass::DmiTestClass int  i  )  [inline, private]
 

private constructor

acdk::tools::aunit::DmiTestClass::DmiTestClass  ) 
 

acdk::tools::aunit::DmiTestClass::DmiTestClass IN(RString str,
int  i = 42
[inline]
 


Member Function Documentation

void acdk::tools::aunit::DmiTestClass::_initializeClass  )  [inline, static, private]
 

RString acdk::tools::aunit::DmiTestClass::appendAll IN(RStringArray sa  )  [inline]
 

Method test arrays of strings.

Returns:
concated strings

void acdk::tools::aunit::DmiTestClass::byValIn BYVALIN(RStringBuffer sb  )  [inline]
 

void acdk::tools::aunit::DmiTestClass::byValInOut BYVALINOUT(RStringBuffer sb  )  [inline]
 

void acdk::tools::aunit::DmiTestClass::byValOut BYVALOUT(RInteger integer  )  [inline]
 

byte acdk::tools::aunit::DmiTestClass::dynamicMethodb bool  bv,
char  cvar,
byte  bvar,
short  svar,
int  ivar,
jlong  jlvar,
float  fvar,
double  dvar,
IN(acdk::lang::Object obj
[inline]
 

char acdk::tools::aunit::DmiTestClass::dynamicMethodc bool  bv,
char  cvar,
byte  bvar,
short  svar,
int  ivar,
jlong  jlvar,
float  fvar,
double  dvar,
IN(acdk::lang::Object obj
[inline]
 

double acdk::tools::aunit::DmiTestClass::dynamicMethodd bool  bv,
char  cvar,
byte  bvar,
short  svar,
int  ivar,
jlong  jlvar,
float  fvar,
double  dvar,
IN(acdk::lang::Object obj
[inline]
 

float acdk::tools::aunit::DmiTestClass::dynamicMethodf bool  bv,
char  cvar,
byte  bvar,
short  svar,
int  ivar,
jlong  jlvar,
float  fvar,
double  dvar,
IN(acdk::lang::Object obj
[inline]
 

int acdk::tools::aunit::DmiTestClass::dynamicMethodi bool  bv,
char  cvar,
byte  bvar,
short  svar,
int  ivar,
jlong  jlvar,
float  fvar,
double  dvar,
IN(acdk::lang::Object obj
[inline]
 

jlong acdk::tools::aunit::DmiTestClass::dynamicMethodl bool  bv,
char  cvar,
byte  bvar,
short  svar,
int  ivar,
jlong  jlvar,
float  fvar,
double  dvar,
IN(acdk::lang::Object obj
[inline]
 

acdk::lang::Object acdk::tools::aunit::DmiTestClass::dynamicMethodO bool  bv,
char  cvar,
byte  bvar,
short  svar,
int  ivar,
jlong  jlvar,
float  fvar,
double  dvar,
IN(acdk::lang::Object obj
[inline]
 

short acdk::tools::aunit::DmiTestClass::dynamicMethods bool  bv,
char  cvar,
byte  bvar,
short  svar,
int  ivar,
jlong  jlvar,
float  fvar,
double  dvar,
IN(acdk::lang::Object obj
[inline]
 

bool acdk::tools::aunit::DmiTestClass::dynamicMethodz bool  bv,
char  cvar,
byte  bvar,
short  svar,
int  ivar,
jlong  jlvar,
float  fvar,
double  dvar,
IN(acdk::lang::Object obj
[inline]
 

DmiTestEnumeration acdk::tools::aunit::DmiTestClass::getEnumeration DmiTestEnumeration  en  )  [inline]
 

test enumeration mappings

int acdk::tools::aunit::DmiTestClass::getPubStaticInt  )  [inline, static]
 

void acdk::tools::aunit::DmiTestClass::inOutMethod IN(int)  ini,
IN(RString instr,
OUT(int)  outi,
OUT(RString outstr
[inline]
 

void acdk::tools::aunit::DmiTestClass::inOutMethodA INOUT(int)  count,
INOUT(RString val
[inline]
 

int acdk::tools::aunit::DmiTestClass::makeNumSum IN(RNumberArray na  )  [inline]
 

int acdk::tools::aunit::DmiTestClass::makeSum IN(RIntegerArray ia  )  [inline]
 

Method test array of acdk::lang::Object types return summary of elements.

int acdk::tools::aunit::DmiTestClass::makeSum IN(RintArray ia  )  [inline]
 

Method test array of basic types return summary of elements.

int acdk::tools::aunit::DmiTestClass::methodWithBasicArray IN(RcharArray carray  )  [inline]
 

to test overloading of basic arrays

int acdk::tools::aunit::DmiTestClass::methodWithBasicArray IN(RintArray iarray  )  [inline]
 

to test overloading of basic arrays

int acdk::tools::aunit::DmiTestClass::methodWithDefaultArgs int  i = 3  )  [inline]
 

RString acdk::tools::aunit::DmiTestClass::methodWithDefaults IN(acdk::lang::Object obj,
IN(RString message,
IN(RString defaultDir = ,
IN(RString defaultFile = ,
IN(RString wildCard = *.*,
int  style = 0,
RStringBuffer  pos = new StringBuffer()
[inline, static]
 

bool acdk::tools::aunit::DmiTestClass::namedArgsMethod IN(int)  iarg,
IN(RString sarg,
IN(RStringBuffer sbarg
[inline]
 

Parameters:
iargg == 42
sarg == sarg
sbarg == sarg

int acdk::tools::aunit::DmiTestClass::operator+ int  otherint  )  [inline]
 

Test for operator handling.

void acdk::tools::aunit::DmiTestClass::outMethod int  toset,
OUT(RInteger toret
[inline]
 

Parameters:
toset integer value
toret returns new Integer with toset value

RString acdk::tools::aunit::DmiTestClass::polymorphFunc IN(RString str  )  [inline]
 

group of function to test correct polymorphFunc overloading

RString acdk::tools::aunit::DmiTestClass::polymorphFunc IN(RComparable comparable  )  [inline]
 

group of function to test correct polymorphFunc overloading

RString acdk::tools::aunit::DmiTestClass::polymorphFunc IN(RNumber number  )  [inline]
 

group of function to test correct polymorphFunc overloading

RString acdk::tools::aunit::DmiTestClass::polymorphFunc IN(RInteger integer  )  [inline]
 

group of function to test correct polymorphFunc overloading

virtual void acdk::tools::aunit::DmiTestClass::privateMethod  )  [inline, private, virtual]
 

void acdk::tools::aunit::DmiTestClass::privateStaticMethod  )  [inline, static, private]
 

virtual RString acdk::tools::aunit::DmiTestClass::sayHelloViaInterface IN(RSayHelloInterface helloi,
IN(RString sayto
[inline, virtual]
 

double acdk::tools::aunit::DmiTestClass::setgetd double  d  )  [inline]
 

float acdk::tools::aunit::DmiTestClass::setgetf float  f  )  [inline]
 

jlong acdk::tools::aunit::DmiTestClass::setgetl jlong  l  )  [inline]
 

int acdk::tools::aunit::DmiTestClass::setGetPubStaticInt int  i,
IN(RString msg
[inline, static]
 

bool acdk::tools::aunit::DmiTestClass::sorted IN(RComparableArray ca  )  [inline]
 

test for casting to InterfaceArrays

Returns:
true if array is sorted

byte acdk::tools::aunit::DmiTestClass::staticMethodb bool  bv,
char  cvar,
byte  bvar,
short  svar,
int  ivar,
jlong  jlvar,
float  fvar,
double  dvar,
IN(acdk::lang::Object obj
[inline, static]
 

char acdk::tools::aunit::DmiTestClass::staticMethodc bool  bv,
char  cvar,
byte  bvar,
short  svar,
int  ivar,
jlong  jlvar,
float  fvar,
double  dvar,
IN(acdk::lang::Object obj
[inline, static]
 

double acdk::tools::aunit::DmiTestClass::staticMethodd bool  bv,
char  cvar,
byte  bvar,
short  svar,
int  ivar,
jlong  jlvar,
float  fvar,
double  dvar,
IN(acdk::lang::Object obj
[inline, static]
 

float acdk::tools::aunit::DmiTestClass::staticMethodf bool  bv,
char  cvar,
byte  bvar,
short  svar,
int  ivar,
jlong  jlvar,
float  fvar,
double  dvar,
IN(acdk::lang::Object obj
[inline, static]
 

int acdk::tools::aunit::DmiTestClass::staticMethodi bool  bv,
char  cvar,
byte  bvar,
short  svar,
int  ivar,
jlong  jlvar,
float  fvar,
double  dvar,
IN(acdk::lang::Object obj
[inline, static]
 

jlong acdk::tools::aunit::DmiTestClass::staticMethodl bool  bv,
char  cvar,
byte  bvar,
short  svar,
int  ivar,
jlong  jlvar,
float  fvar,
double  dvar,
IN(acdk::lang::Object obj
[inline, static]
 

acdk::lang::Object acdk::tools::aunit::DmiTestClass::staticMethodO bool  bv,
char  cvar,
byte  bvar,
short  svar,
int  ivar,
jlong  jlvar,
float  fvar,
double  dvar,
IN(acdk::lang::Object obj
[inline, static]
 

short acdk::tools::aunit::DmiTestClass::staticMethods bool  bv,
char  cvar,
byte  bvar,
short  svar,
int  ivar,
jlong  jlvar,
float  fvar,
double  dvar,
IN(acdk::lang::Object obj
[inline, static]
 

bool acdk::tools::aunit::DmiTestClass::staticMethodz bool  bv,
char  cvar,
byte  bvar,
short  svar,
int  ivar,
jlong  jlvar,
float  fvar,
double  dvar,
IN(acdk::lang::Object obj
[inline, static]
 

void acdk::tools::aunit::DmiTestClass::throwExceptionMethod int  exectiontype  )  throw (RNumberFormatException, RUnsupportedOperationException) [inline]
 

Parameters:
exectiontype: 0 -> Throwable 1 -> NumberFormatException 2 -> UnsupportedOperationException
Exceptions:
RNumberFormatException if exectiontype == 1
RUnsupportedOperationException if exectiontype == 2

virtual RString acdk::tools::aunit::DmiTestClass::toString  )  [inline, virtual]
 

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

Reimplemented from acdk::lang::Object.

virtual int acdk::tools::aunit::DmiTestClass::virtualMethod  )  [inline, virtual]
 


Member Data Documentation

bool acdk::tools::aunit::DmiTestClass::foreignStaticBoolean [static]
 

int acdk::tools::aunit::DmiTestClass::privInt [private]
 

RInteger acdk::tools::aunit::DmiTestClass::privInteger [private]
 

int acdk::tools::aunit::DmiTestClass::privStaticInt [static, private]
 

RInteger acdk::tools::aunit::DmiTestClass::privStaticInteger [static, private]
 

RString acdk::tools::aunit::DmiTestClass::privStaticString [static, private]
 

RString acdk::tools::aunit::DmiTestClass::privString [private]
 

bool acdk::tools::aunit::DmiTestClass::pubBool
 

byte acdk::tools::aunit::DmiTestClass::pubByte
 

char acdk::tools::aunit::DmiTestClass::pubChar
 

double acdk::tools::aunit::DmiTestClass::pubDouble
 

float acdk::tools::aunit::DmiTestClass::pubFloat
 

int acdk::tools::aunit::DmiTestClass::pubInt
 

RInteger acdk::tools::aunit::DmiTestClass::pubInteger
 

jlong acdk::tools::aunit::DmiTestClass::pubLong
 

acdk::lang::Object acdk::tools::aunit::DmiTestClass::pubObject
 

acdk::util::RSet acdk::tools::aunit::DmiTestClass::pubSet
 

short acdk::tools::aunit::DmiTestClass::pubShort
 

bool acdk::tools::aunit::DmiTestClass::pubStaticBool [static]
 

byte acdk::tools::aunit::DmiTestClass::pubStaticByte [static]
 

char acdk::tools::aunit::DmiTestClass::pubStaticChar [static]
 

double acdk::tools::aunit::DmiTestClass::pubStaticDouble [static]
 

float acdk::tools::aunit::DmiTestClass::pubStaticFloat [static]
 

int acdk::tools::aunit::DmiTestClass::pubStaticInt [static]
 

RInteger acdk::tools::aunit::DmiTestClass::pubStaticInteger [static]
 

jlong acdk::tools::aunit::DmiTestClass::pubStaticLong [static]
 

acdk::lang::Object acdk::tools::aunit::DmiTestClass::pubStaticObject [static]
 

short acdk::tools::aunit::DmiTestClass::pubStaticShort [static]
 

RString acdk::tools::aunit::DmiTestClass::pubStaticString [static]
 

RString acdk::tools::aunit::DmiTestClass::pubString