In file complex.h:

class XxxComplexADT : public XxxSmallFixedADT

// this type represents complex numbers

Inheritance:


Public Methods

virtual XxxBool CanCastFrom (XxxBasicType SourceType, const XxxADTMetaInfo* SourceMetaInfo, const XxxADTMetaInfo* TargetMetaInfo)
Determines if this ADT can cast an object of another type into its own type
virtual XxxBool CanCastTo (XxxBasicType TargetType, const XxxADTMetaInfo* SourceMetaInfo, const XxxADTMetaInfo* TargetMetaInfo)
Determines if this ADT can cast an object of its type into another type
virtual XxxErrCode CastFrom (XxxBasicType SourceType, const XxxADTMetaInfo* SourceMetaInfo, const XxxADTMetaInfo* TargetMetaInfo, XxxADTValue* OldObject, XxxADTValue* NewObject)
Executes a cast from another type into this type
virtual XxxErrCode CastTo (XxxBasicType TargetType, const XxxADTMetaInfo* SourceMetaInfo, const XxxADTMetaInfo* TargetMetaInfo, XxxADTValue* OldObject, XxxADTValue* NewObject)
Executes a cast from this type into another type

Protected Classes

class ComplexStruct : public XxxADTValue
/
class PlanInfo : public XxxFuncPlanInfo
/ plan structure for methods on complex numbers
protected : XxxErrCode execReal (XxxValueEnv* Env, XxxADTValue *ReturnValue)
XxxErrCode execImag (XxxValueEnv* Env, XxxADTValue *ReturnValue)
XxxErrCode execPlus (XxxValueEnv* Env, XxxADTValue *ReturnValue)
XxxErrCode execMinus (XxxValueEnv* Env, XxxADTValue *ReturnValue)
XxxErrCode execInvert (XxxValueEnv* Env, XxxADTValue *ReturnValue)
XxxErrCode csumInit (XxxAggrOpHandle& Hndl)
Sum aggregate function

Inherited from XxxSmallFixedADT:


Inherited from XxxSmallADT:

Public Methods

virtual XxxBool IsSmall(const XxxADTMetaInfo*)

Documentation

// this type represents complex numbers
class ComplexStruct: public XxxADTValue
/

class PlanInfo: public XxxFuncPlanInfo
/ plan structure for methods on complex numbers

protected : XxxErrCode execReal(XxxValueEnv* Env, XxxADTValue *ReturnValue)

XxxErrCode execImag(XxxValueEnv* Env, XxxADTValue *ReturnValue)

XxxErrCode execPlus(XxxValueEnv* Env, XxxADTValue *ReturnValue)

XxxErrCode execMinus(XxxValueEnv* Env, XxxADTValue *ReturnValue)

XxxErrCode execInvert(XxxValueEnv* Env, XxxADTValue *ReturnValue)

XxxErrCode csumInit(XxxAggrOpHandle& Hndl)
Sum aggregate function

virtual XxxBool CanCastFrom(XxxBasicType SourceType, const XxxADTMetaInfo* SourceMetaInfo, const XxxADTMetaInfo* TargetMetaInfo)
Determines if this ADT can cast an object of another type into its own type
Parameters:
SourceType - The type to cast from
SourceMetaInfo - The meta info of the object to be casted
TargetMetaInfo - The meta info of the new object to be created

virtual XxxErrCode CastFrom(XxxBasicType SourceType, const XxxADTMetaInfo* SourceMetaInfo, const XxxADTMetaInfo* TargetMetaInfo, XxxADTValue* OldObject, XxxADTValue* NewObject)
Executes a cast from another type into this type
Parameters:
CastType - The type id of the old object
SourceMetaInfo - The meta info of the object to be casted
TargetMetaInfo - The meta info of the new object to be created
OldObject - The object to be casted
NewObject - The new object to be created

virtual XxxBool CanCastTo(XxxBasicType TargetType, const XxxADTMetaInfo* SourceMetaInfo, const XxxADTMetaInfo* TargetMetaInfo)
Determines if this ADT can cast an object of its type into another type
Parameters:
TargetType - The type to cast to
SourceMetaInfo - The meta info of the object to be casted
TargetMetaInfo - The meta info of the new object to be created

virtual XxxErrCode CastTo(XxxBasicType TargetType, const XxxADTMetaInfo* SourceMetaInfo, const XxxADTMetaInfo* TargetMetaInfo, XxxADTValue* OldObject, XxxADTValue* NewObject)
Executes a cast from this type into another type
Parameters:
CastType - The type id of the new object
SourceMetaInfo - The meta info of the object to be casted
TargetMetaInfo - The meta info of the new object to be created
OldObject - The object to be casted
NewObject - The new object to be created


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de