#include <DmiClient.h>
Inheritance diagram for acdk::lang::dmi::DmiClient:
Public Member Functions | |
DmiClient (int formatFlags=TpFtAcdkType|TpFtFqName) | |
virtual | ~DmiClient () |
virtual int | typeDistance (const ScriptVar &arg, const ClazzInfo *toType)=0 |
this method now returns the difference beetween the types. | |
virtual int | typeDistance (const ClazzInfo *fromType, const ClazzInfo *toType)=0 |
virtual void | castTo (ScriptVar &value, const::acdk::lang::dmi::ClazzInfo *toType)=0 |
After checked with typeDistance() use this method to do the cast. | |
virtual int | getScriptVarCastFlags () const=0 |
return the standard casting flags as a combination of ScriptVarCastFlags | |
virtual bool | provideMethodClazzInfo () |
return true if this object/class has ClazzInfo structures for static dispatching. | |
Static Public Member Functions | |
int | getCurInvokeFlags () |
return a thread local copy of the current invokation flags | |
void | setCurInvokeFlags (int flags) |
Public Attributes | |
LookupMethodFnc | _lookupFunc |
int | _formatFlags |
Format to use in case of DmiExceptions. | |
Private Member Functions | |
DmiClient (const DmiClient &other) |
|
|
|
|
|
|
|
After checked with typeDistance() use this method to do the cast. This method may changes the type of value.
Implemented in acdk::lang::dmi::AcdkDmiClient, and acdk::lang::dmi::AcdkStdWeakTypeDmiClient. |
|
return a thread local copy of the current invokation flags
|
|
return the standard casting flags as a combination of ScriptVarCastFlags
Implemented in acdk::lang::dmi::AcdkDmiClient, and acdk::lang::dmi::AcdkStdWeakTypeDmiClient. |
|
return true if this object/class has ClazzInfo structures for static dispatching. true for standard ACDK objects, AAL. false for scripting clients, where matching arguments only can checked at invokation time. |
|
|
|
Implemented in acdk::lang::dmi::AcdkDmiClient, and acdk::lang::dmi::AcdkStdWeakTypeDmiClient. |
|
this method now returns the difference beetween the types. 0 for an exact match, -1 for incompatible types, various differences from 1 to 7 for compatible upcasts, from 257 to 263 for maybe compatible downcasts. > 300 for intepreted casts ( read int out of string convert to string) Implemented in acdk::lang::dmi::AcdkDmiClient, and acdk::lang::dmi::AcdkStdWeakTypeDmiClient. |
|
Format to use in case of DmiExceptions.
|
|
|