2005/5/9

     
 

class DmiObject

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

acdk::lang::dmi::DmiObject Class Reference

#include <DmiObject.h>

Inheritance diagram for acdk::lang::dmi::DmiObject:

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

Detailed Description

Represents an any type which can hold any other ACDK type.

Wrapper to a ScriptVar


Public Member Functions

::acdk::lang::Object_cast (const::acdk::lang::dmi::ClazzInfo *ci)
 DmiObject ()
 creates 'void' type

 DmiObject (const ClazzInfo *clazz)
 create unitinialized type with gieven clazz

 DmiObject (IN(RDmiObject) obj, int flags=0)
 DmiObject (IN(RDmiObject) obj, int flags, const ClazzInfo *clazz)
 DmiObject (const ScriptVar &sv)
DmiObjectoperator= (const ScriptVar &sv)
 assignment operator

 DmiObject (IN(bool) c, int fl=MiAiIn)
 DmiObject (OUT(bool) c, int fl=MiAiOut)
 DmiObject (bool *c, int fl)
 DmiObject (IN(char) c, int fl=MiAiIn)
 DmiObject (OUT(char) c, int fl=MiAiOut)
 DmiObject (char *c, int fl)
 DmiObject (IN(ucchar) c, int fl=MiAiIn)
 DmiObject (OUT(ucchar) c, int fl=MiAiOut)
 DmiObject (ucchar *c, int fl)
 DmiObject (IN(byte) c, int fl=MiAiIn)
 DmiObject (OUT(byte) c, int fl=MiAiOut)
 DmiObject (byte *c, int fl)
 DmiObject (IN(short) c, int fl=MiAiIn)
 DmiObject (OUT(short) c, int fl=MiAiOut)
 DmiObject (short *c, int fl)
 DmiObject (IN(int) c, int fl=MiAiIn)
 DmiObject (OUT(int) c, int fl=MiAiOut)
 DmiObject (int *c, int fl)
 DmiObject (IN(jlong) c, int fl=MiAiIn)
 DmiObject (OUT(jlong) c, int fl=MiAiOut)
 DmiObject (jlong *c, int fl)
 DmiObject (IN(float) c, int fl=MiAiIn)
 DmiObject (OUT(float) c, int fl=MiAiOut)
 DmiObject (float *c, int fl)
 DmiObject (IN(double) c, int fl=MiAiIn)
 DmiObject (OUT(double) c, int fl=MiAiOut)
 DmiObject (double *c, int fl)
 DmiObject (NilRef nil, int fl=MiAiIn)
 DmiObject (IN(RObject) c, int fl=MiAiIn)
 DmiObject (IN(RObject) c, int fl, const ClazzInfo *clazz)
 DmiObject (OUT(RObject) c, int fl=MiAiOut)
 DmiObject (OUT(RObject) c, int fl, const ClazzInfo *clazz)
 DmiObject (RObject *c, int fl=MiAiOut)
 DmiObject (Object *obj, int fl=MiAiIn)
 DmiObject (InterfaceBase *obj, int fl=MiAiIn)
VarType getVarType ()
const ClazzInfogetClazzType ()
void setClazzType (const ClazzInfo *ci)
int getFlags ()
 returns a combination of acdk::lang::dmi::MethodArgInfoExtFlags

bool getBoolVar (short castFlags=SVCastStdFlags)
char getCharVar (short castFlags=SVCastStdFlags)
byte getByteVar (short castFlags=SVCastStdFlags)
short getShortVar (short castFlags=SVCastStdFlags)
int getIntVar (short castFlags=SVCastStdFlags)
jlong getLongVar (short castFlags=SVCastStdFlags)
float getFloatVar (short castFlags=SVCastStdFlags)
double getDoubleVar (short castFlags=SVCastStdFlags)
RObject getObjectVar (short castFlags=SVCastStdFlags)
RString getStringVar (short castFlags=SVCastStdFlags)
bool isBoolType () const
 contains true if the hold value has type bool

bool isCharType () const
 contains true if the hold value has type char

bool isUcCharType () const
 contains true if the hold value has type ucchar

bool isByteType () const
 contains true if the hold value has type byte

bool isShortType () const
 contains true if the hold value has type short

bool isIntType () const
 contains true if the hold value has type int

bool isLongType () const
 contains true if the hold value has type jlong

bool isFloatType () const
 contains true if the hold value has type float

bool isDoubleType () const
 contains true if the hold value has type double

bool isObjectType () const
 contains true if the hold value has type Object

bool isCharacterType ()
 return true if hold type is char or ucchar

bool isIntegerType ()
 return true if the hold type is byte, short, int or long

bool isFloatingType ()
 return true if hold type is float or double

bool isNumberType ()
 return true if hold type is byte, short, int, long, float or double

bool isStringType ()
 return true if the hold type is a String instance

bool isBoolean (short castFlags=SVCastStdFlags)
 return true if containing value can be casted to a boolean type

bool isNumber (short castFlags=SVCastStdFlags)
 return true if containing value can be casted to a character type

bool isFloating (short castFlags=SVCastStdFlags)
 return true if containing value can be casted to a floating type

bool isInteger (short castFlags=SVCastStdFlags)
 return true if containing can be casted to a integer type

bool isString (short castFlags=SVCastStdFlags)
 return true if the containing type can be casted to a string

bool isObject (short castFlags=SVCastStdFlags)
 return true if containing type can be casted to a Object

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

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

RDmiObject assign (IN(RDmiObject) other, short castFlags=SVCastStdFlags)
RDmiObject assign (const ScriptVar &other, short castFlags=SVCastStdFlags)
RDmiObject assign (IN(bool) c, short castFlags=SVCastStdFlags)
RDmiObject assign (bool *c, short castFlags=SVCastStdFlags)
RDmiObject assign (IN(char) c, short castFlags=SVCastStdFlags)
RDmiObject assign (char *c, short castFlags=SVCastStdFlags)
RDmiObject assign (IN(ucchar) c, short castFlags=SVCastStdFlags)
RDmiObject assign (ucchar *c, short castFlags=SVCastStdFlags)
RDmiObject assign (IN(byte) c, short castFlags=SVCastStdFlags)
RDmiObject assign (byte *c, short castFlags=SVCastStdFlags)
RDmiObject assign (IN(short) c, short castFlags=SVCastStdFlags)
RDmiObject assign (short *c, short castFlags=SVCastStdFlags)
RDmiObject assign (IN(int) c, short castFlags=SVCastStdFlags)
RDmiObject assign (int *c, short castFlags=SVCastStdFlags)
RDmiObject assign (IN(jlong) c, short castFlags=SVCastStdFlags)
RDmiObject assign (jlong *c, short castFlags=SVCastStdFlags)
RDmiObject assign (IN(float) c, short castFlags=SVCastStdFlags)
RDmiObject assign (float *c, short castFlags=SVCastStdFlags)
RDmiObject assign (IN(double) c, short castFlags=SVCastStdFlags)
RDmiObject assign (double *c, short castFlags=SVCastStdFlags)
RDmiObject assign (IN(RObject) c, short castFlags=SVCastStdFlags)
 assign given object to this

RDmiObject assign (RObject *c, short castFlags=SVCastStdFlags)
RDmiObject addition (IN(RDmiObject) other, short castFlags=SVCastStdFlags)
RDmiObject addition (IN(jlong) other, short castFlags=SVCastStdFlags)
RDmiObject addition (IN(double) other, short castFlags=SVCastStdFlags)
RDmiObject operator+ (IN(RDmiObject) other)
RDmiObject operator+ (IN(RString) other)
RDmiObject operator+ (IN(RObject) other)
RDmiObject operator+ (IN(jlong) other)
RDmiObject operator+ (IN(double) other)
RDmiObject operator+ ()
RDmiObject subtraction (IN(RDmiObject) other, short castFlags=SVCastStdFlags)
RDmiObject subtraction (IN(jlong) other, short castFlags=SVCastStdFlags)
RDmiObject subtraction (IN(double) other, short castFlags=SVCastStdFlags)
RDmiObject operator- (IN(RDmiObject) other)
RDmiObject operator- (IN(RObject) other)
RDmiObject operator- (IN(jlong) other)
RDmiObject operator- (IN(double) other)
RDmiObject operator- ()
RDmiObject multiply (IN(RDmiObject) other, short castFlags=SVCastStdFlags)
RDmiObject multiply (IN(jlong) other, short castFlags=SVCastStdFlags)
RDmiObject multiply (IN(double) other, short castFlags=SVCastStdFlags)
RDmiObject operator * (IN(RDmiObject) other)
RDmiObject operator * (IN(jlong) other)
RDmiObject operator * (IN(double) other)
RDmiObject operator * (IN(RObject) other)
RDmiObject divide (IN(RDmiObject) other, short castFlags=SVCastStdFlags)
RDmiObject divide (IN(jlong) other, short castFlags=SVCastStdFlags)
RDmiObject divide (IN(double) other, short castFlags=SVCastStdFlags)
RDmiObject operator/ (IN(RDmiObject) other)
RDmiObject operator/ (IN(jlong) other)
RDmiObject operator/ (IN(double) other)
RDmiObject operator/ (IN(RObject) other)
RDmiObject modulo (IN(RDmiObject) other, short castFlags=SVCastStdFlags)
RDmiObject modulo (IN(jlong) other, short castFlags=SVCastStdFlags)
RDmiObject operator% (IN(RDmiObject) other)
RDmiObject operator% (IN(jlong) other)
RDmiObject operator% (IN(RObject) other)
RDmiObject equal (IN(RDmiObject) other, short castFlags=SVCastStdFlags)
RDmiObject equal (IN(jlong) other, short castFlags=SVCastStdFlags)
RDmiObject equal (IN(double) other, short castFlags=SVCastStdFlags)
RDmiObject equal (IN(bool) other, short castFlags=SVCastStdFlags)
RDmiObject equal (IN(char) other, short castFlags=SVCastStdFlags)
RDmiObject equal (IN(uc2char) other, short castFlags=SVCastStdFlags)
RDmiObject equal (IN(RObject) other, short castFlags=SVCastStdFlags)
RDmiObject operator== (IN(RDmiObject) other)
RDmiObject operator== (IN(jlong) other)
RDmiObject operator== (IN(double) other)
RDmiObject operator== (IN(bool) other)
RDmiObject operator== (IN(char) other)
RDmiObject operator== (IN(uc2char) other)
RDmiObject operator== (IN(RObject) other)
RDmiObject not_equal (IN(RDmiObject) other, short castFlags=SVCastStdFlags)
RDmiObject not_equal (IN(jlong) other, short castFlags=SVCastStdFlags)
RDmiObject not_equal (IN(double) other, short castFlags=SVCastStdFlags)
RDmiObject not_equal (IN(bool) other, short castFlags=SVCastStdFlags)
RDmiObject not_equal (IN(char) other, short castFlags=SVCastStdFlags)
RDmiObject not_equal (IN(uc2char) other, short castFlags=SVCastStdFlags)
RDmiObject operator!= (IN(RDmiObject) other)
RDmiObject operator!= (IN(jlong) other)
RDmiObject operator!= (IN(double) other)
RDmiObject operator!= (IN(bool) other)
RDmiObject operator!= (IN(char) other)
RDmiObject operator!= (IN(uc2char) other)
RDmiObject operator!= (IN(RObject) other)
RDmiObject greater_than (IN(RDmiObject) other, short castFlags=SVCastStdFlags)
RDmiObject greater_than (IN(jlong) other, short castFlags=SVCastStdFlags)
RDmiObject greater_than (IN(double) other, short castFlags=SVCastStdFlags)
RDmiObject operator> (IN(RDmiObject) other)
RDmiObject operator> (IN(jlong) other)
RDmiObject operator> (IN(double) other)
RDmiObject operator> (IN(RObject) other)
RDmiObject less_than (IN(RDmiObject) other, short castFlags=SVCastStdFlags)
RDmiObject less_than (IN(jlong) other, short castFlags=SVCastStdFlags)
RDmiObject less_than (IN(double) other, short castFlags=SVCastStdFlags)
RDmiObject operator< (IN(RDmiObject) other)
RDmiObject operator< (IN(jlong) other)
RDmiObject operator< (IN(double) other)
RDmiObject operator< (IN(RObject) other)
RDmiObject greater_or_equal (IN(RDmiObject) other, short castFlags=SVCastStdFlags)
RDmiObject greater_or_equal (IN(jlong) other, short castFlags=SVCastStdFlags)
RDmiObject greater_or_equal (IN(double) other, short castFlags=SVCastStdFlags)
RDmiObject operator>= (IN(RDmiObject) other)
RDmiObject operator>= (IN(jlong) other)
RDmiObject operator>= (IN(double) other)
RDmiObject operator>= (IN(RObject) other)
RDmiObject less_or_equal (IN(RDmiObject) other, short castFlags=SVCastStdFlags)
RDmiObject less_or_equal (IN(jlong) other, short castFlags=SVCastStdFlags)
RDmiObject less_or_equal (IN(double) other, short castFlags=SVCastStdFlags)
RDmiObject operator<= (IN(RDmiObject) other)
RDmiObject operator<= (IN(jlong) other)
RDmiObject operator<= (IN(double) other)
RDmiObject operator<= (IN(RObject) other)
bool isTrue (short castFlags=SVCastStdFlags)
RDmiObject logical_and (IN(RDmiObject) other, short castFlags=SVCastStdFlags)
RDmiObject logical_and (IN(bool) other, short castFlags=SVCastStdFlags)
RDmiObject operator && (IN(RDmiObject) other)
RDmiObject operator && (IN(bool) other)
RDmiObject operator && (IN(RObject) other)
RDmiObject logical_not (short castFlags=SVCastStdFlags)
RDmiObject operator! ()
RDmiObject logical_or (IN(RDmiObject) other, short castFlags=SVCastStdFlags)
RDmiObject logical_or (IN(bool) other, short castFlags=SVCastStdFlags)
RDmiObject operator|| (IN(RDmiObject) other)
RDmiObject operator|| (IN(bool) other)
RDmiObject operator|| (IN(RObject) other)
RDmiObject logical_xor (IN(RDmiObject) other, short castFlags=SVCastStdFlags)
RDmiObject logical_xor (IN(bool) other, short castFlags=SVCastStdFlags)
RDmiObject logical_xor (IN(RObject) other)
RDmiObject binary_and (IN(RDmiObject) other, short castFlags=SVCastStdFlags)
RDmiObject binary_and (IN(jlong) other, short castFlags=SVCastStdFlags)
RDmiObject operator & (IN(RDmiObject) other)
RDmiObject operator & (IN(jlong) other)
RDmiObject operator & (IN(RObject) other)
RDmiObject binary_or (IN(RDmiObject) other, short castFlags=SVCastStdFlags)
RDmiObject binary_or (IN(jlong) other, short castFlags=SVCastStdFlags)
RDmiObject operator| (IN(RDmiObject) other)
RDmiObject operator| (IN(jlong) other)
RDmiObject operator| (IN(RObject) other)
RDmiObject binary_xor (IN(RDmiObject) other, short castFlags=SVCastStdFlags)
RDmiObject binary_xor (IN(jlong) other, short castFlags=SVCastStdFlags)
RDmiObject operator^ (IN(RDmiObject) other)
RDmiObject operator^ (IN(jlong) other)
RDmiObject operator^ (IN(RObject) other)
RDmiObject binary_leftshift (IN(RDmiObject) other, short castFlags=SVCastStdFlags)
RDmiObject binary_leftshift (IN(jlong) other, short castFlags=SVCastStdFlags)
RDmiObject operator<< (IN(RDmiObject) other)
RDmiObject operator<< (IN(jlong) other)
RDmiObject operator<< (IN(RObject) other)
RDmiObject binary_rightshift (IN(RDmiObject) other, short castFlags=SVCastStdFlags)
RDmiObject binary_rightshift (IN(jlong) other, short castFlags=SVCastStdFlags)
RDmiObject operator>> (IN(RDmiObject) other)
RDmiObject operator>> (IN(jlong) other)
RDmiObject operator>> (IN(RObject) other)
RDmiObject binary_rightshift_unsigned (IN(RDmiObject) other, short castFlags=SVCastStdFlags)
RDmiObject binary_rightshift_unsigned (IN(jlong) other, short castFlags=SVCastStdFlags)
RDmiObject binary_rightshift_unsigned (IN(RObject) other, short castFlags=SVCastStdFlags)
RDmiObject binary_not (short castFlags=SVCastStdFlags)
RDmiObject operator~ ()
RDmiObject increment ()
RDmiObject operator++ ()
RDmiObject increment (int)
RDmiObject operator++ (int x)
RDmiObject decrement (short castFlags=SVCastStdFlags)
RDmiObject operator-- ()
RDmiObject decrement (int)
RDmiObject operator-- (int x)
void writeObject (IN(::acdk::io::RObjectWriter) out, IN(RClass) cls)
 must not be foreign, because AbstractObjectReader/Writer search for this

void readObject (IN(::acdk::io::RObjectReader) in, IN(RClass) cls)
 must not be foreign

const acdk::lang::dmi::ClazzMethodInfostandardDispatch (IN(acdk::lang::RString) fname, acdk::lang::dmi::ScriptVar &ret, acdk::lang::dmi::ScriptVarArray &args, acdk::lang::dmi::DmiClient &dc, IN(::acdk::lang::RStringArray) namedArgs, int flags, const acdk::lang::dmi::ClazzInfo *clazzinfo, const acdk::lang::dmi::ClazzMethodInfo *methinf)
 DmiObject forward function calls to underlying objects.


Protected Member Functions

void _ensureAssignable (const ClazzInfo *ci, short castFlags)
void _ensureAssignable (IN(RObject) obj, short castFlags)
void _assign (const ScriptVar &other, short castFlags)


Constructor & Destructor Documentation

acdk::lang::dmi::DmiObject::DmiObject  ) 
 

creates 'void' type

acdk::lang::dmi::DmiObject::DmiObject const ClazzInfo clazz  ) 
 

create unitinialized type with gieven clazz

acdk::lang::dmi::DmiObject::DmiObject IN(RDmiObject obj,
int  flags = 0
[inline]
 

acdk::lang::dmi::DmiObject::DmiObject IN(RDmiObject obj,
int  flags,
const ClazzInfo clazz
[inline]
 

acdk::lang::dmi::DmiObject::DmiObject const ScriptVar sv  )  [inline]
 

acdk::lang::dmi::DmiObject::DmiObject IN(bool)  c,
int  fl = MiAiIn
[inline]
 

acdk::lang::dmi::DmiObject::DmiObject OUT(bool)  c,
int  fl = MiAiOut
[inline]
 

acdk::lang::dmi::DmiObject::DmiObject bool *  c,
int  fl
[inline]
 

acdk::lang::dmi::DmiObject::DmiObject IN(char)  c,
int  fl = MiAiIn
[inline]
 

acdk::lang::dmi::DmiObject::DmiObject OUT(char)  c,
int  fl = MiAiOut
[inline]
 

acdk::lang::dmi::DmiObject::DmiObject char *  c,
int  fl
[inline]
 

acdk::lang::dmi::DmiObject::DmiObject IN(ucchar c,
int  fl = MiAiIn
[inline]
 

acdk::lang::dmi::DmiObject::DmiObject OUT(ucchar c,
int  fl = MiAiOut
[inline]
 

acdk::lang::dmi::DmiObject::DmiObject ucchar c,
int  fl
[inline]
 

acdk::lang::dmi::DmiObject::DmiObject IN(byte c,
int  fl = MiAiIn
[inline]
 

acdk::lang::dmi::DmiObject::DmiObject OUT(byte c,
int  fl = MiAiOut
[inline]
 

acdk::lang::dmi::DmiObject::DmiObject byte c,
int  fl
[inline]
 

acdk::lang::dmi::DmiObject::DmiObject IN(short)  c,
int  fl = MiAiIn
[inline]
 

acdk::lang::dmi::DmiObject::DmiObject OUT(short)  c,
int  fl = MiAiOut
[inline]
 

acdk::lang::dmi::DmiObject::DmiObject short *  c,
int  fl
[inline]
 

acdk::lang::dmi::DmiObject::DmiObject IN(int)  c,
int  fl = MiAiIn
[inline]
 

acdk::lang::dmi::DmiObject::DmiObject OUT(int)  c,
int  fl = MiAiOut
[inline]
 

acdk::lang::dmi::DmiObject::DmiObject int *  c,
int  fl
[inline]
 

acdk::lang::dmi::DmiObject::DmiObject IN(jlong c,
int  fl = MiAiIn
[inline]
 

acdk::lang::dmi::DmiObject::DmiObject OUT(jlong c,
int  fl = MiAiOut
[inline]
 

acdk::lang::dmi::DmiObject::DmiObject jlong c,
int  fl
[inline]
 

acdk::lang::dmi::DmiObject::DmiObject IN(float)  c,
int  fl = MiAiIn
[inline]
 

acdk::lang::dmi::DmiObject::DmiObject OUT(float)  c,
int  fl = MiAiOut
[inline]
 

acdk::lang::dmi::DmiObject::DmiObject float *  c,
int  fl
[inline]
 

acdk::lang::dmi::DmiObject::DmiObject IN(double)  c,
int  fl = MiAiIn
[inline]
 

acdk::lang::dmi::DmiObject::DmiObject OUT(double)  c,
int  fl = MiAiOut
[inline]
 

acdk::lang::dmi::DmiObject::DmiObject double *  c,
int  fl
[inline]
 

acdk::lang::dmi::DmiObject::DmiObject NilRef  nil,
int  fl = MiAiIn
[inline]
 

acdk::lang::dmi::DmiObject::DmiObject IN(RObject c,
int  fl = MiAiIn
[inline]
 

acdk::lang::dmi::DmiObject::DmiObject IN(RObject c,
int  fl,
const ClazzInfo clazz
[inline]
 

acdk::lang::dmi::DmiObject::DmiObject OUT(RObject c,
int  fl = MiAiOut
[inline]
 

acdk::lang::dmi::DmiObject::DmiObject OUT(RObject c,
int  fl,
const ClazzInfo clazz
[inline]
 

acdk::lang::dmi::DmiObject::DmiObject RObject c,
int  fl = MiAiOut
[inline]