2005/5/9

     
 

class AcdkStdWeakTypeDmiClient

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

acdk::lang::dmi::AcdkStdWeakTypeDmiClient Class Reference

#include <AcdkStdWeakTypeDmiClient.h>

Inheritance diagram for acdk::lang::dmi::AcdkStdWeakTypeDmiClient:

acdk::lang::dmi::AcdkDmiClient acdk::lang::dmi::DmiClient List of all members.

Detailed Description

This DmiClient uses a more weak type casting scheme.

If a type is requested from a string, it tries to parse this string.


Public Member Functions

 AcdkStdWeakTypeDmiClient (int scriptVarCastFlags=SVCastStdFlags)
virtual int typeDistance (const ScriptVar &arg, const ClazzInfo *toType)
virtual int typeDistance (const ClazzInfo *fromType, const ClazzInfo *toType)
virtual void castTo (ScriptVar &value, const::acdk::lang::dmi::ClazzInfo *toType)
virtual int getScriptVarCastFlags () const
 return the standard casting flags as a combination of ScriptVarCastFlags


Static Public Member Functions

DmiClientgetDmiClient ()
int typeDistance (const ScriptVar &arg, const ClazzInfo *toType, int svcastflags)
bool typeCast (ScriptVar &arg, const ClazzInfo *toType, int svcastflags)
 This call cast the arg to given toType.


Public Attributes

int _scriptVarCastFlags
 A combination of ScriptVarCastFlags.


Static Public Attributes

AcdkStdWeakTypeDmiClient _client

Protected Member Functions

int weakTypeDistance (const ScriptVar &arg, const ClazzInfo *toType)
bool weakTypeCast (ScriptVar &arg, const ClazzInfo *toType)
 This call cast the arg to given toType.


Constructor & Destructor Documentation

acdk::lang::dmi::AcdkStdWeakTypeDmiClient::AcdkStdWeakTypeDmiClient int  scriptVarCastFlags = SVCastStdFlags  )  [inline]
 


Member Function Documentation

virtual void acdk::lang::dmi::AcdkStdWeakTypeDmiClient::castTo ScriptVar value,
const::acdk::lang::dmi::ClazzInfo *  toType
[virtual]
 

See also:
DmiClient::castTo

Reimplemented from acdk::lang::dmi::AcdkDmiClient.

DmiClient& acdk::lang::dmi::AcdkStdWeakTypeDmiClient::getDmiClient  )  [inline, static]
 

Reimplemented from acdk::lang::dmi::AcdkDmiClient.

virtual int acdk::lang::dmi::AcdkStdWeakTypeDmiClient::getScriptVarCastFlags  )  const [inline, virtual]
 

return the standard casting flags as a combination of ScriptVarCastFlags

See also:
ScriptVarCastFlags

Reimplemented from acdk::lang::dmi::AcdkDmiClient.

bool acdk::lang::dmi::AcdkStdWeakTypeDmiClient::typeCast ScriptVar arg,
const ClazzInfo toType,
int  svcastflags
[static]
 

This call cast the arg to given toType.

Returns:
true if value was modified

int acdk::lang::dmi::AcdkStdWeakTypeDmiClient::typeDistance const ScriptVar arg,
const ClazzInfo toType,
int  svcastflags
[static]
 

virtual int acdk::lang::dmi::AcdkStdWeakTypeDmiClient::typeDistance const ClazzInfo fromType,
const ClazzInfo toType
[inline, virtual]
 

See also:
int typeDistance(const ScriptVar& arg, const ClazzInfo* toType);

Reimplemented from acdk::lang::dmi::AcdkDmiClient.

virtual int acdk::lang::dmi::AcdkStdWeakTypeDmiClient::typeDistance const ScriptVar arg,
const ClazzInfo toType
[virtual]
 

See also:
DmiClient::typeDistance

Reimplemented from acdk::lang::dmi::AcdkDmiClient.

bool acdk::lang::dmi::AcdkStdWeakTypeDmiClient::weakTypeCast ScriptVar arg,
const ClazzInfo toType
[protected]
 

This call cast the arg to given toType.

Returns:
true if value was modified

int acdk::lang::dmi::AcdkStdWeakTypeDmiClient::weakTypeDistance const ScriptVar arg,
const ClazzInfo toType
[protected]
 

See also:
AcdkDmiClient::typeDistance


Member Data Documentation

AcdkStdWeakTypeDmiClient acdk::lang::dmi::AcdkStdWeakTypeDmiClient::_client [static]
 

Reimplemented from acdk::lang::dmi::AcdkDmiClient.

int acdk::lang::dmi::AcdkStdWeakTypeDmiClient::_scriptVarCastFlags
 

A combination of ScriptVarCastFlags.