home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
opendc12.zip
/
od124os2.exe
/
od12otk1.exe
/
include
/
Translt.xh
< prev
next >
Wrap
Text File
|
1997-04-02
|
26KB
|
894 lines
/*
* This file was generated by the SOM Compiler.
* FileName: F:\build\os2\ship\include\Translt.xh.
* Generated using:
* SOM Precompiler somipc: 2.29.1.17
* SOM Emitter emitxh: 2.47
*/
#ifndef SOM_ODTranslation_xh
#define SOM_ODTranslation_xh
class ODTranslation;
#define ODTranslation_MajorVersion 1
#define ODTranslation_MinorVersion 0
/* C++ SOM defs */
#include <somcls.xh>
#include <somcm.xh>
/* C++ parent defs */
#ifndef SOM_ODObject_xh
#include <ODObject.xh>
#endif
#ifndef ODTranslation_API
#define ODTranslation_API
/*
* -- The Class API
*/
/*
* Start of bindings for IDL types
*/
class SOMClass;
class SOMObject;
class ODFrame;
class ODFacet;
class ODPlatformCanvas;
class ODObject;
class ODExtension;
class ODTranslation;
class ODTypeList;
class ODStorageUnitView;
class ODSession;
/*
* End of bindings for IDL types.
*/
/* A procedure to create the ODTranslation Class */
SOMEXTERN SOMClass * SOMLINK ODTranslationNewClass(
integer4 majorVersion,
integer4 minorVersion);
/* The API to the ODTranslation class object, and the methods it introduces. */
SOMEXTERN struct ODTranslationClassDataStructure {
SOMClass *classObject;
somMToken CanTranslate;
somMToken GetTranslationOf;
somMToken TranslateView;
somMToken Translate;
somMToken GetISOTypeFromPlatformType;
somMToken GetPlatformTypeFromISOType;
somMToken reserved1;
somMToken reserved2;
somMToken reserved3;
} SOMDLINK ODTranslationClassData;
#define _ODTranslation ODTranslationClassData.classObject
/* The API to parentMtabs for ODTranslation, and the instance data it introduces. */
SOMEXTERN struct ODTranslationCClassDataStructure {
somMethodTabs parentMtab;
somDToken instanceDataToken;
} SOMDLINK ODTranslationCClassData;
/*
* -- Typedefs for ODTranslation Method Procedures
*/
SOMEXTERN {
typedef ODTranslateResult SOMLINK somTP_ODTranslation_CanTranslate(ODTranslation *somSelf, Environment *ev,
ODValueType fromType);
typedef somTP_ODTranslation_CanTranslate *somTD_ODTranslation_CanTranslate;
typedef ODTypeList* SOMLINK somTP_ODTranslation_GetTranslationOf(ODTranslation *somSelf, Environment *ev,
ODValueType fromType);
typedef somTP_ODTranslation_GetTranslationOf *somTD_ODTranslation_GetTranslationOf;
typedef ODTranslateResult SOMLINK somTP_ODTranslation_TranslateView(ODTranslation *somSelf, Environment *ev,
ODStorageUnitView* fromView,
ODStorageUnitView* toView);
typedef somTP_ODTranslation_TranslateView *somTD_ODTranslation_TranslateView;
typedef ODTranslateResult SOMLINK somTP_ODTranslation_Translate(ODTranslation *somSelf, Environment *ev,
ODValueType fromType,
ODByteArray* fromData,
ODValueType toType,
ODByteArray* toData);
typedef somTP_ODTranslation_Translate *somTD_ODTranslation_Translate;
typedef ODValueType SOMLINK somTP_ODTranslation_GetISOTypeFromPlatformType(ODTranslation *somSelf, Environment *ev,
ODPlatformType platformType,
ODPlatformTypeSpace typeSpace);
typedef somTP_ODTranslation_GetISOTypeFromPlatformType *somTD_ODTranslation_GetISOTypeFromPlatformType;
typedef ODPlatformType SOMLINK somTP_ODTranslation_GetPlatformTypeFromISOType(ODTranslation *somSelf, Environment *ev,
ODValueType type);
typedef somTP_ODTranslation_GetPlatformTypeFromISOType *somTD_ODTranslation_GetPlatformTypeFromISOType;
/*
* -- Typedefs for Reintroduced Wrapper Methods
*/
typedef void SOMLINK somTP_ODTranslation_InitObject(ODTranslation *somSelf, Environment *ev);
typedef somTP_ODTranslation_InitObject *somTD_ODTranslation_InitObject;
typedef ODBoolean SOMLINK somTP_ODTranslation_HasExtension(ODTranslation *somSelf, Environment *ev,
ODType extensionName);
typedef somTP_ODTranslation_HasExtension *somTD_ODTranslation_HasExtension;
typedef ODExtension* SOMLINK somTP_ODTranslation_AcquireExtension(ODTranslation *somSelf, Environment *ev,
ODType extensionName);
typedef somTP_ODTranslation_AcquireExtension *somTD_ODTranslation_AcquireExtension;
typedef void SOMLINK somTP_ODTranslation_ReleaseExtension(ODTranslation *somSelf, Environment *ev,
ODExtension* extension);
typedef somTP_ODTranslation_ReleaseExtension *somTD_ODTranslation_ReleaseExtension;
typedef ODSize SOMLINK somTP_ODTranslation_Purge(ODTranslation *somSelf, Environment *ev,
ODSize size);
typedef somTP_ODTranslation_Purge *somTD_ODTranslation_Purge;
typedef ODBoolean SOMLINK somTP_ODTranslation_IsEqualTo(ODTranslation *somSelf, Environment *ev,
ODObject* object);
typedef somTP_ODTranslation_IsEqualTo *somTD_ODTranslation_IsEqualTo;
typedef void SOMLINK somTP_ODTranslation_SubClassResponsibility(ODTranslation *somSelf, Environment *ev);
typedef somTP_ODTranslation_SubClassResponsibility *somTD_ODTranslation_SubClassResponsibility;
typedef void SOMLINK somTP_ODTranslation_somInit(ODTranslation *somSelf);
typedef somTP_ODTranslation_somInit *somTD_ODTranslation_somInit;
typedef void SOMLINK somTP_ODTranslation_somUninit(ODTranslation *somSelf);
typedef somTP_ODTranslation_somUninit *somTD_ODTranslation_somUninit;
typedef void SOMLINK somTP_ODTranslation_somDefaultInit(ODTranslation *somSelf,
som3InitCtrl* ctrl);
typedef somTP_ODTranslation_somDefaultInit *somTD_ODTranslation_somDefaultInit;
typedef void SOMLINK somTP_ODTranslation_somDestruct(ODTranslation *somSelf,
octet doFree,
som3DestructCtrl* ctrl);
typedef somTP_ODTranslation_somDestruct *somTD_ODTranslation_somDestruct;
typedef void SOMLINK somTP_ODTranslation_somDefaultCopyInit(ODTranslation *somSelf,
som3InitCtrl* ctrl,
SOMObject* fromObj);
typedef somTP_ODTranslation_somDefaultCopyInit *somTD_ODTranslation_somDefaultCopyInit;
typedef ODTranslation* SOMLINK somTP_ODTranslation_somDefaultAssign(ODTranslation *somSelf,
som3AssignCtrl* ctrl,
SOMObject* fromObj);
typedef somTP_ODTranslation_somDefaultAssign *somTD_ODTranslation_somDefaultAssign;
typedef void SOMLINK somTP_ODTranslation_somDefaultConstCopyInit(ODTranslation *somSelf,
som3InitCtrl* ctrl,
SOMObject* fromObj);
typedef somTP_ODTranslation_somDefaultConstCopyInit *somTD_ODTranslation_somDefaultConstCopyInit;
typedef void SOMLINK somTP_ODTranslation_somDefaultVCopyInit(ODTranslation *somSelf,
som3InitCtrl* ctrl,
SOMObject* fromObj);
typedef somTP_ODTranslation_somDefaultVCopyInit *somTD_ODTranslation_somDefaultVCopyInit;
typedef void SOMLINK somTP_ODTranslation_somDefaultConstVCopyInit(ODTranslation *somSelf,
som3InitCtrl* ctrl,
SOMObject* fromObj);
typedef somTP_ODTranslation_somDefaultConstVCopyInit *somTD_ODTranslation_somDefaultConstVCopyInit;
typedef ODTranslation* SOMLINK somTP_ODTranslation_somDefaultConstAssign(ODTranslation *somSelf,
som3AssignCtrl* ctrl,
SOMObject* fromObj);
typedef somTP_ODTranslation_somDefaultConstAssign *somTD_ODTranslation_somDefaultConstAssign;
typedef ODTranslation* SOMLINK somTP_ODTranslation_somDefaultVAssign(ODTranslation *somSelf,
som3AssignCtrl* ctrl,
SOMObject* fromObj);
typedef somTP_ODTranslation_somDefaultVAssign *somTD_ODTranslation_somDefaultVAssign;
typedef ODTranslation* SOMLINK somTP_ODTranslation_somDefaultConstVAssign(ODTranslation *somSelf,
som3AssignCtrl* ctrl,
SOMObject* fromObj);
typedef somTP_ODTranslation_somDefaultConstVAssign *somTD_ODTranslation_somDefaultConstVAssign;
typedef void SOMLINK somTP_ODTranslation_somFree(ODTranslation *somSelf);
typedef somTP_ODTranslation_somFree *somTD_ODTranslation_somFree;
typedef SOMClass* SOMLINK somTP_ODTranslation_somGetClass(ODTranslation *somSelf);
typedef somTP_ODTranslation_somGetClass *somTD_ODTranslation_somGetClass;
typedef string SOMLINK somTP_ODTranslation_somGetClassName(ODTranslation *somSelf);
typedef somTP_ODTranslation_somGetClassName *somTD_ODTranslation_somGetClassName;
typedef long SOMLINK somTP_ODTranslation_somGetSize(ODTranslation *somSelf);
typedef somTP_ODTranslation_somGetSize *somTD_ODTranslation_somGetSize;
typedef boolean SOMLINK somTP_ODTranslation_somIsA(ODTranslation *somSelf,
SOMClass* aClassObj);
typedef somTP_ODTranslation_somIsA *somTD_ODTranslation_somIsA;
typedef boolean SOMLINK somTP_ODTranslation_somIsInstanceOf(ODTranslation *somSelf,
SOMClass* aClassObj);
typedef somTP_ODTranslation_somIsInstanceOf *somTD_ODTranslation_somIsInstanceOf;
typedef boolean SOMLINK somTP_ODTranslation_somRespondsTo(ODTranslation *somSelf,
somId mId);
typedef somTP_ODTranslation_somRespondsTo *somTD_ODTranslation_somRespondsTo;
typedef boolean SOMLINK somTP_ODTranslation_somDispatch(ODTranslation *somSelf,
somToken* retValue,
somId methodId,
va_list ap);
typedef somTP_ODTranslation_somDispatch *somTD_ODTranslation_somDispatch;
typedef boolean SOMLINK somTP_ODTranslation_somClassDispatch(ODTranslation *somSelf,
SOMClass* clsObj,
somToken* retValue,
somId methodId,
va_list ap);
typedef somTP_ODTranslation_somClassDispatch *somTD_ODTranslation_somClassDispatch;
typedef boolean SOMLINK somTP_ODTranslation_somCastObj(ODTranslation *somSelf,
SOMClass* cls);
typedef somTP_ODTranslation_somCastObj *somTD_ODTranslation_somCastObj;
typedef boolean SOMLINK somTP_ODTranslation_somResetObj(ODTranslation *somSelf);
typedef somTP_ODTranslation_somResetObj *somTD_ODTranslation_somResetObj;
typedef void SOMLINK somTP_ODTranslation_somDispatchV(ODTranslation *somSelf,
somId methodId,
somId descriptor,
va_list ap);
typedef somTP_ODTranslation_somDispatchV *somTD_ODTranslation_somDispatchV;
typedef long SOMLINK somTP_ODTranslation_somDispatchL(ODTranslation *somSelf,
somId methodId,
somId descriptor,
va_list ap);
typedef somTP_ODTranslation_somDispatchL *somTD_ODTranslation_somDispatchL;
typedef void* SOMLINK somTP_ODTranslation_somDispatchA(ODTranslation *somSelf,
somId methodId,
somId descriptor,
va_list ap);
typedef somTP_ODTranslation_somDispatchA *somTD_ODTranslation_somDispatchA;
typedef double SOMLINK somTP_ODTranslation_somDispatchD(ODTranslation *somSelf,
somId methodId,
somId descriptor,
va_list ap);
typedef somTP_ODTranslation_somDispatchD *somTD_ODTranslation_somDispatchD;
typedef SOMObject* SOMLINK somTP_ODTranslation_somPrintSelf(ODTranslation *somSelf);
typedef somTP_ODTranslation_somPrintSelf *somTD_ODTranslation_somPrintSelf;
typedef void SOMLINK somTP_ODTranslation_somDumpSelf(ODTranslation *somSelf,
long level);
typedef somTP_ODTranslation_somDumpSelf *somTD_ODTranslation_somDumpSelf;
typedef void SOMLINK somTP_ODTranslation_somDumpSelfInt(ODTranslation *somSelf,
long level);
typedef somTP_ODTranslation_somDumpSelfInt *somTD_ODTranslation_somDumpSelfInt;
}
#endif /* ODTranslation_API */
/*
* -- This emitter treats Method Tokens as Thunks by default.
* -- Use the sc modifier "nothunks" to change this default
*/
#undef somresolve_
#define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
/*
* -- The C++ Wrapper Class for ODTranslation
*/
class ODTranslation : public ODObject
{
public:
// ODTranslation::new creates the class object if necessary, and then uses somNewNoInit
// to allocate memory and create the object. Initialization is in ctors.
void *operator new(size_t)
{
if (!_ODTranslation) ODTranslationNewClass(ODTranslation_MajorVersion,ODTranslation_MinorVersion);
return (void*)
SOM_Resolve(_ODTranslation,SOMClass,somNewNoInit)
((SOMClass *)((void*)_ODTranslation));
}
// ODTranslation::delete uses somDestruct.
void operator delete(void * obj)
{
if (obj && *(void**)obj) {
SOM_Resolve(obj,SOMObject,somFree)
((SOMObject*)obj);
}
}
ODTranslation& operator=(ODTranslation& fromObj)
{
this->somDefaultAssign(0,(SOMObject*)((void*)&fromObj));
return *this;
}
ODTranslation()
{
if (*(void**)this !=
((somParentMtabStructPtr)
(ODTranslationCClassData.parentMtab))->mtab)
return;
((SOMObject*)((void*)this))->somDefaultInit(0);
}
ODTranslation(ODTranslation* fromObj)
{
if (*(void**)this !=
((somParentMtabStructPtr)
(ODTranslationCClassData.parentMtab))->mtab)
return;
((SOMObject*)((void*)this))->somDefaultCopyInit(0,((SOMObject*)((void*)fromObj)));
}
#ifdef __IBMCPP__
#pragma info(nocnv,nopar)
#endif
ODTranslation(const ODTranslation* fromObj)
{
if (*(void**)this !=
((somParentMtabStructPtr)
(ODTranslationCClassData.parentMtab))->mtab)
return;
((SOMObject*)((void*)this))->somDefaultConstCopyInit(0,((SOMObject*)((void*)fromObj)));
}
#ifdef __IBMCPP__
#pragma info(restore)
#endif
/* method: CanTranslate */
ODTranslateResult CanTranslate(Environment *ev,
ODValueType fromType)
{
#ifdef SOMCHKEXCEPT
ODTranslateResult __somResult =
SOM_ResolveD(this,ODTranslation,ODTranslation,CanTranslate)
(this, ev,fromType);
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
return __somResult;
#else
return SOM_ResolveD(this,ODTranslation,ODTranslation,CanTranslate)
(this, ev,fromType);
#endif
}
/* method: GetTranslationOf */
ODTypeList* GetTranslationOf(Environment *ev,
ODValueType fromType)
{
#ifdef SOMCHKEXCEPT
ODTypeList* __somResult =
SOM_ResolveD(this,ODTranslation,ODTranslation,GetTranslationOf)
(this, ev,fromType);
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
return __somResult;
#else
return SOM_ResolveD(this,ODTranslation,ODTranslation,GetTranslationOf)
(this, ev,fromType);
#endif
}
/* method: TranslateView */
ODTranslateResult TranslateView(Environment *ev,
ODStorageUnitView* fromView,
ODStorageUnitView* toView)
{
#ifdef SOMCHKEXCEPT
ODTranslateResult __somResult =
SOM_ResolveD(this,ODTranslation,ODTranslation,TranslateView)
(this, ev,fromView,toView);
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
return __somResult;
#else
return SOM_ResolveD(this,ODTranslation,ODTranslation,TranslateView)
(this, ev,fromView,toView);
#endif
}
/* method: Translate */
ODTranslateResult Translate(Environment *ev,
ODValueType fromType,
ODByteArray* fromData,
ODValueType toType,
ODByteArray* toData)
{
#ifdef SOMCHKEXCEPT
ODTranslateResult __somResult =
SOM_ResolveD(this,ODTranslation,ODTranslation,Translate)
(this, ev,fromType,fromData,toType,toData);
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
return __somResult;
#else
return SOM_ResolveD(this,ODTranslation,ODTranslation,Translate)
(this, ev,fromType,fromData,toType,toData);
#endif
}
/* method: GetISOTypeFromPlatformType */
ODValueType GetISOTypeFromPlatformType(Environment *ev,
ODPlatformType platformType,
ODPlatformTypeSpace typeSpace)
{
#ifdef SOMCHKEXCEPT
ODValueType __somResult =
SOM_ResolveD(this,ODTranslation,ODTranslation,GetISOTypeFromPlatformType)
(this, ev,platformType,typeSpace);
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
return __somResult;
#else
return SOM_ResolveD(this,ODTranslation,ODTranslation,GetISOTypeFromPlatformType)
(this, ev,platformType,typeSpace);
#endif
}
/* method: GetPlatformTypeFromISOType */
ODPlatformType GetPlatformTypeFromISOType(Environment *ev,
ODValueType type)
{
#ifdef SOMCHKEXCEPT
ODPlatformType __somResult =
SOM_ResolveD(this,ODTranslation,ODTranslation,GetPlatformTypeFromISOType)
(this, ev,type);
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
return __somResult;
#else
return SOM_ResolveD(this,ODTranslation,ODTranslation,GetPlatformTypeFromISOType)
(this, ev,type);
#endif
}
/*
* Reintroduce inherited methods
*/
/* method: InitObject */
void InitObject(Environment *ev)
{
SOM_ResolveD(this,ODTranslation,ODObject,InitObject)
(this, ev);
#ifdef SOMCHKEXCEPT
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
#endif
}
/* method: HasExtension */
ODBoolean HasExtension(Environment *ev,
ODType extensionName)
{
#ifdef SOMCHKEXCEPT
ODBoolean __somResult =
SOM_ResolveD(this,ODTranslation,ODObject,HasExtension)
(this, ev,extensionName);
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
return __somResult;
#else
return SOM_ResolveD(this,ODTranslation,ODObject,HasExtension)
(this, ev,extensionName);
#endif
}
/* method: AcquireExtension */
ODExtension* AcquireExtension(Environment *ev,
ODType extensionName)
{
#ifdef SOMCHKEXCEPT
ODExtension* __somResult =
SOM_ResolveD(this,ODTranslation,ODObject,AcquireExtension)
(this, ev,extensionName);
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
return __somResult;
#else
return SOM_ResolveD(this,ODTranslation,ODObject,AcquireExtension)
(this, ev,extensionName);
#endif
}
/* method: ReleaseExtension */
void ReleaseExtension(Environment *ev,
ODExtension* extension)
{
SOM_ResolveD(this,ODTranslation,ODObject,ReleaseExtension)
(this, ev,extension);
#ifdef SOMCHKEXCEPT
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
#endif
}
/* method: Purge */
ODSize Purge(Environment *ev,
ODSize size)
{
#ifdef SOMCHKEXCEPT
ODSize __somResult =
SOM_ResolveD(this,ODTranslation,ODObject,Purge)
(this, ev,size);
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
return __somResult;
#else
return SOM_ResolveD(this,ODTranslation,ODObject,Purge)
(this, ev,size);
#endif
}
/* method: IsEqualTo */
ODBoolean IsEqualTo(Environment *ev,
ODObject* object)
{
#ifdef SOMCHKEXCEPT
ODBoolean __somResult =
SOM_ResolveD(this,ODTranslation,ODObject,IsEqualTo)
(this, ev,object);
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
return __somResult;
#else
return SOM_ResolveD(this,ODTranslation,ODObject,IsEqualTo)
(this, ev,object);
#endif
}
/* method: SubClassResponsibility */
void SubClassResponsibility(Environment *ev)
{
SOM_ResolveD(this,ODTranslation,ODObject,SubClassResponsibility)
(this, ev);
#ifdef SOMCHKEXCEPT
if ( ev->_major != NO_EXCEPTION )
SOMCHKEXCEPT;
#endif
}
/* method: somInit */
void somInit()
{
SOM_ResolveD(this,ODTranslation,SOMObject,somInit)
(this);
}
/* method: somUninit */
void somUninit()
{
SOM_ResolveD(this,ODTranslation,SOMObject,somUninit)
(this);
}
/* initializer method: somDefaultInit */
void somDefaultInit(som3InitCtrl* ctrl)
{
SOM_ResolveD(this,ODTranslation,SOMObject,somDefaultInit)
(this,ctrl);
}
/* method: somDestruct */
void somDestruct(octet doFree,
som3DestructCtrl* ctrl)
{
SOM_ResolveD(this,ODTranslation,SOMObject,somDestruct)
(this,doFree,ctrl);
}
/* initializer method: somDefaultCopyInit */
void somDefaultCopyInit(som3InitCtrl* ctrl,
SOMObject* fromObj)
{
SOM_ResolveD(this,ODTranslation,SOMObject,somDefaultCopyInit)
(this,ctrl,fromObj);
}
/* method: somDefaultAssign */
ODTranslation* somDefaultAssign(som3AssignCtrl* ctrl,
SOMObject* fromObj)
{
return SOM_ResolveD(this,ODTranslation,SOMObject,somDefaultAssign)
(this,ctrl,fromObj);
}
/* initializer method: somDefaultConstCopyInit */
void somDefaultConstCopyInit(som3InitCtrl* ctrl,
SOMObject* fromObj)
{
SOM_ResolveD(this,ODTranslation,SOMObject,somDefaultConstCopyInit)
(this,ctrl,fromObj);
}
/* initializer method: somDefaultVCopyInit */
void somDefaultVCopyInit(som3InitCtrl* ctrl,
SOMObject* fromObj)
{
SOM_ResolveD(this,ODTranslation,SOMObject,somDefaultVCopyInit)
(this,ctrl,fromObj);
}
/* initializer method: somDefaultConstVCopyInit */
void somDefaultConstVCopyInit(som3InitCtrl* ctrl,
SOMObject* fromObj)
{
SOM_ResolveD(this,ODTranslation,SOMObject,somDefaultConstVCopyInit)
(this,ctrl,fromObj);
}
/* method: somDefaultConstAssign */
ODTranslation* somDefaultConstAssign(som3AssignCtrl* ctrl,
SOMObject* fromObj)
{
return SOM_ResolveD(this,ODTranslation,SOMObject,somDefaultConstAssign)
(this,ctrl,fromObj);
}
/* method: somDefaultVAssign */
ODTranslation* somDefaultVAssign(som3AssignCtrl* ctrl,
SOMObject* fromObj)
{
return SOM_ResolveD(this,ODTranslation,SOMObject,somDefaultVAssign)
(this,ctrl,fromObj);
}
/* method: somDefaultConstVAssign */
ODTranslation* somDefaultConstVAssign(som3AssignCtrl* ctrl,
SOMObject* fromObj)
{
return SOM_ResolveD(this,ODTranslation,SOMObject,somDefaultConstVAssign)
(this,ctrl,fromObj);
}
/* method: somFree */
void somFree()
{
SOM_ResolveD(this,ODTranslation,SOMObject,somFree)
(this);
}
/* method: somGetClass */
SOMClass* somGetClass()
{
return SOM_ResolveD(this,ODTranslation,SOMObject,somGetClass)
(this);
}
/* method: somGetClassName */
string somGetClassName()
{
return SOM_ResolveD(this,ODTranslation,SOMObject,somGetClassName)
(this);
}
/* method: somGetSize */
long somGetSize()
{
return SOM_ResolveD(this,ODTranslation,SOMObject,somGetSize)
(this);
}
/* method: somIsA */
boolean somIsA(SOMClass* aClassObj)
{
return SOM_ResolveD(this,ODTranslation,SOMObject,somIsA)
(this,aClassObj);
}
/* method: somIsInstanceOf */
boolean somIsInstanceOf(SOMClass* aClassObj)
{
return SOM_ResolveD(this,ODTranslation,SOMObject,somIsInstanceOf)
(this,aClassObj);
}
/* method: somRespondsTo */
boolean somRespondsTo(somId mId)
{
return SOM_ResolveD(this,ODTranslation,SOMObject,somRespondsTo)
(this,mId);
}
/* va_list method: somDispatch */
/* the va_list invocation form */
boolean ODTranslation_somDispatch(somToken* retValue,
somId methodId,
va_list ap)
{return SOM_ResolveD(this,ODTranslation,SOMObject,somDispatch)
(this,retValue,methodId,ap);
}
/* the varargs invocation form */
boolean somDispatch(somToken* retValue,
somId methodId,
...)
{
va_list ap;
va_start(ap, methodId);
boolean __somResult =
SOM_ResolveD(this,ODTranslation,SOMObject,somDispatch)
(this,retValue,methodId,ap);
va_end(ap);
return __somResult;
}
/* va_list method: somClassDispatch */
/* the va_list invocation form */
boolean ODTranslation_somClassDispatch(SOMClass* clsObj,
somToken* retValue,
somId methodId,
va_list ap)
{return SOM_ResolveD(this,ODTranslation,SOMObject,somClassDispatch)
(this,clsObj,retValue,methodId,ap);
}
/* the varargs invocation form */
boolean somClassDispatch(SOMClass* clsObj,
somToken* retValue,
somId methodId,
...)
{
va_list ap;
va_start(ap, methodId);
boolean __somResult =
SOM_ResolveD(this,ODTranslation,SOMObject,somClassDispatch)
(this,clsObj,retValue,methodId,ap);
va_end(ap);
return __somResult;
}
/* method: somCastObj */
boolean somCastObj(SOMClass* cls)
{
return SOM_ResolveD(this,ODTranslation,SOMObject,somCastObj)
(this,cls);
}
/* method: somResetObj */
boolean somResetObj()
{
return SOM_ResolveD(this,ODTranslation,SOMObject,somResetObj)
(this);
}
/* va_list method: somDispatchV */
/* the va_list invocation form */
void ODTranslation_somDispatchV(somId methodId,
somId descriptor,
va_list ap)
{ SOM_ResolveD(this,ODTranslation,SOMObject,somDispatchV)
(this,methodId,descriptor,ap);
}
/* the varargs invocation form */
void somDispatchV(somId methodId,
somId descriptor,
...)
{
va_list ap;
va_start(ap, descriptor);
SOM_ResolveD(this,ODTranslation,SOMObject,somDispatchV)
(this,methodId,descriptor,ap);
va_end(ap);
}
/* va_list method: somDispatchL */
/* the va_list invocation form */
long ODTranslation_somDispatchL(somId methodId,
somId descriptor,
va_list ap)
{return SOM_ResolveD(this,ODTranslation,SOMObject,somDispatchL)
(this,methodId,descriptor,ap);
}
/* the varargs invocation form */
long somDispatchL(somId methodId,
somId descriptor,
...)
{
va_list ap;
va_start(ap, descriptor);
long __somResult =
SOM_ResolveD(this,ODTranslation,SOMObject,somDispatchL)
(this,methodId,descriptor,ap);
va_end(ap);
return __somResult;
}
/* va_list method: somDispatchA */
/* the va_list invocation form */
void* ODTranslation_somDispatchA(somId methodId,
somId descriptor,
va_list ap)
{return SOM_ResolveD(this,ODTranslation,SOMObject,somDispatchA)
(this,methodId,descriptor,ap);
}
/* the varargs invocation form */
void* somDispatchA(somId methodId,
somId descriptor,
...)
{
va_list ap;
va_start(ap, descriptor);
void* __somResult =
SOM_ResolveD(this,ODTranslation,SOMObject,somDispatchA)
(this,methodId,descriptor,ap);
va_end(ap);
return __somResult;
}
/* va_list method: somDispatchD */
/* the va_list invocation form */
double ODTranslation_somDispatchD(somId methodId,
somId descriptor,
va_list ap)
{return SOM_ResolveD(this,ODTranslation,SOMObject,somDispatchD)
(this,methodId,descriptor,ap);
}
/* the varargs invocation form */
double somDispatchD(somId methodId,
somId descriptor,
...)
{
va_list ap;
va_start(ap, descriptor);
double __somResult =
SOM_ResolveD(this,ODTranslation,SOMObject,somDispatchD)
(this,methodId,descriptor,ap);
va_end(ap);
return __somResult;
}
/* method: somPrintSelf */
SOMObject* somPrintSelf()
{
return SOM_ResolveD(this,ODTranslation,SOMObject,somPrintSelf)
(this);
}
/* method: somDumpSelf */
void somDumpSelf(long level)
{
SOM_ResolveD(this,ODTranslation,SOMObject,somDumpSelf)
(this,level);
}
/* method: somDumpSelfInt */
void somDumpSelfInt(long level)
{
SOM_ResolveD(this,ODTranslation,SOMObject,somDumpSelfInt)
(this,level);
}
}; /* ODTranslation */
#endif /* SOM_ODTranslation_xh */