
/*
 * This file was generated by the SOM Compiler.
 * FileName: F:\BUILD\NT\ship\include\Translt.xh.
 * Generated using:
 *     SOM Precompiler somipc: Development
 *     SOM Emitter emitxh.dll: Development
 */

#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 user-defined 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 user-defined types.
 */

/* A procedure to create the ODTranslation Class */
SOMEXTERN
#if (defined(SOM_Module_Translt_Source) || defined(ODTranslation_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODTranslation))
WIN32_DLLEXPORT
#else
WIN32_DLLIMPORT
#endif
SOMClass * SOMLINK ODTranslationNewClass(
		integer4,
		integer4 );

/* 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;
}
#if !(defined(SOM_Module_Translt_Source) || defined(ODTranslation_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODTranslation))
WIN32_DLLIMPORT
#elif defined(_MSC_VER)||defined(_WIN32_DECL_PROTO)
WIN32_DLLEXPORT
#endif
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;
}
#if !(defined(SOM_Module_Translt_Source) || defined(ODTranslation_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODTranslation))
WIN32_DLLIMPORT
#elif defined(_MSC_VER)||defined(_WIN32_DECL_PROTO)
WIN32_DLLEXPORT
#endif
SOMDLINK ODTranslationCClassData;

/*
 * -- Typedefs for ODTranslation Method Procedures
 */
extern "C" {
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,
		somInitCtrl* ctrl);
typedef somTP_ODTranslation_somDefaultInit *somTD_ODTranslation_somDefaultInit;
typedef void   SOMLINK somTP_ODTranslation_somDestruct(ODTranslation *somSelf,
		octet doFree,
		somDestructCtrl* ctrl);
typedef somTP_ODTranslation_somDestruct *somTD_ODTranslation_somDestruct;
typedef void   SOMLINK somTP_ODTranslation_somDefaultCopyInit(ODTranslation *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODTranslation_somDefaultCopyInit *somTD_ODTranslation_somDefaultCopyInit;
typedef ODTranslation*   SOMLINK somTP_ODTranslation_somDefaultAssign(ODTranslation *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODTranslation_somDefaultAssign *somTD_ODTranslation_somDefaultAssign;
typedef void   SOMLINK somTP_ODTranslation_somDefaultConstCopyInit(ODTranslation *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODTranslation_somDefaultConstCopyInit *somTD_ODTranslation_somDefaultConstCopyInit;
typedef void   SOMLINK somTP_ODTranslation_somDefaultVCopyInit(ODTranslation *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODTranslation_somDefaultVCopyInit *somTD_ODTranslation_somDefaultVCopyInit;
typedef void   SOMLINK somTP_ODTranslation_somDefaultConstVCopyInit(ODTranslation *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODTranslation_somDefaultConstVCopyInit *somTD_ODTranslation_somDefaultConstVCopyInit;
typedef ODTranslation*   SOMLINK somTP_ODTranslation_somDefaultConstAssign(ODTranslation *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODTranslation_somDefaultConstAssign *somTD_ODTranslation_somDefaultConstAssign;
typedef ODTranslation*   SOMLINK somTP_ODTranslation_somDefaultVAssign(ODTranslation *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODTranslation_somDefaultVAssign *somTD_ODTranslation_somDefaultVAssign;
typedef ODTranslation*   SOMLINK somTP_ODTranslation_somDefaultConstVAssign(ODTranslation *somSelf,
		somAssignCtrl* 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 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 believes that method thunks are unavailable,
 * -- so somResolve will be called.
 */
#undef somresolve_
#define somresolve_(obj,mToken) (somResolve(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,somDestruct)
         ((SOMObject*)obj, 1, 0);
   }
}

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)));
}

ODTranslation(const ODTranslation* fromObj)
{
   if (*(void**)this != 
       ((somParentMtabStructPtr)
        (ODTranslationCClassData.parentMtab))->mtab)
      return;
   ((SOMObject*)((void*)this))->somDefaultConstCopyInit(0,((SOMObject*)((void*)fromObj)));
}


/* 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(somInitCtrl* ctrl)
{
   SOM_ResolveD(this,ODTranslation,SOMObject,somDefaultInit)
	(this,ctrl);
}


/* method: somDestruct */
void   somDestruct(octet doFree,
		somDestructCtrl* ctrl)
{
   SOM_ResolveD(this,ODTranslation,SOMObject,somDestruct)
	(this,doFree,ctrl);
}


/* initializer method: somDefaultCopyInit */
void   somDefaultCopyInit(somInitCtrl* ctrl,
		SOMObject* fromObj)
{
   SOM_ResolveD(this,ODTranslation,SOMObject,somDefaultCopyInit)
	(this,ctrl,fromObj);
}


/* method: somDefaultAssign */
ODTranslation*  somDefaultAssign(somAssignCtrl* ctrl,
		SOMObject* fromObj)
{
   return SOM_ResolveD(this,ODTranslation,SOMObject,somDefaultAssign)
	(this,ctrl,fromObj);
}


/* initializer method: somDefaultConstCopyInit */
void   somDefaultConstCopyInit(somInitCtrl* ctrl,
		SOMObject* fromObj)
{
   SOM_ResolveD(this,ODTranslation,SOMObject,somDefaultConstCopyInit)
	(this,ctrl,fromObj);
}


/* initializer method: somDefaultVCopyInit */
void   somDefaultVCopyInit(somInitCtrl* ctrl,
		SOMObject* fromObj)
{
   SOM_ResolveD(this,ODTranslation,SOMObject,somDefaultVCopyInit)
	(this,ctrl,fromObj);
}


/* initializer method: somDefaultConstVCopyInit */
void   somDefaultConstVCopyInit(somInitCtrl* ctrl,
		SOMObject* fromObj)
{
   SOM_ResolveD(this,ODTranslation,SOMObject,somDefaultConstVCopyInit)
	(this,ctrl,fromObj);
}


/* method: somDefaultConstAssign */
ODTranslation*  somDefaultConstAssign(somAssignCtrl* ctrl,
		SOMObject* fromObj)
{
   return SOM_ResolveD(this,ODTranslation,SOMObject,somDefaultConstAssign)
	(this,ctrl,fromObj);
}


/* method: somDefaultVAssign */
ODTranslation*  somDefaultVAssign(somAssignCtrl* ctrl,
		SOMObject* fromObj)
{
   return SOM_ResolveD(this,ODTranslation,SOMObject,somDefaultVAssign)
	(this,ctrl,fromObj);
}


/* method: somDefaultConstVAssign */
ODTranslation*  somDefaultConstVAssign(somAssignCtrl* 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);
}


/* 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 */
