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

#ifndef SOM_ODBaseTransform_xh
#define SOM_ODBaseTransform_xh

class ODBaseTransform;

#define ODBaseTransform_MajorVersion 1
#define ODBaseTransform_MinorVersion 0

/* C++ SOM defs */
#include <somcls.xh>
#include <somcm.xh>

/* C++ parent defs */
#ifndef SOM_ODRefCntObject_xh
#include <RefCtObj.xh>
#endif

#ifndef ODBaseTransform_API
#define ODBaseTransform_API
/*
 * -- The Class API
 */

/*
 * Start of user-defined types:
 */
class SOMClass;
class SOMObject;
class ODFrame;
class ODFacet;
class ODPlatformCanvas;
class ODObject;
class ODExtension;
class ODRefCntObject;
class ODBaseTransform;
class ODTransform;
class ODShape;
class ODStorageUnit;

/*
 * End of user-defined types.
 */

/* A procedure to create the ODBaseTransform Class */
SOMEXTERN
#if (defined(SOM_Module_TrnsfrmB_Source) || defined(ODBaseTransform_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODBaseTransform))
WIN32_DLLEXPORT
#else
WIN32_DLLIMPORT
#endif
SOMClass * SOMLINK ODBaseTransformNewClass(
		integer4,
		integer4 );

/* The API to the ODBaseTransform class object, and the methods it introduces. */
SOMEXTERN struct ODBaseTransformClassDataStructure {
	SOMClass *classObject;
	somMToken GetType;
	somMToken GetOffset;
	somMToken GetPreScaleOffset;
	somMToken GetScale;
	somMToken GetMatrix;
	somMToken HasMatrix;
	somMToken IsSameAs;
	somMToken Reset;
	somMToken SetMatrix;
	somMToken Copy;
	somMToken CopyFrom;
	somMToken SetOffset;
	somMToken MoveBy;
	somMToken ScaleBy;
	somMToken ScaleDownBy;
	somMToken Invert;
	somMToken PreCompose;
	somMToken PostCompose;
	somMToken TransformPoint;
	somMToken InvertPoint;
	somMToken TransformShape;
	somMToken InvertShape;
	somMToken WriteTo;
	somMToken ReadFrom;
	somMToken NewTransform;
	somMToken reserved1;
	somMToken reserved2;
}
#if !(defined(SOM_Module_TrnsfrmB_Source) || defined(ODBaseTransform_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODBaseTransform))
WIN32_DLLIMPORT
#elif defined(_MSC_VER)||defined(_WIN32_DECL_PROTO)
WIN32_DLLEXPORT
#endif
SOMDLINK ODBaseTransformClassData;
#define _ODBaseTransform ODBaseTransformClassData.classObject

/* The API to parentMtabs for ODBaseTransform, and the instance data it introduces. */
SOMEXTERN struct ODBaseTransformCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken              instanceDataToken;
}
#if !(defined(SOM_Module_TrnsfrmB_Source) || defined(ODBaseTransform_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODBaseTransform))
WIN32_DLLIMPORT
#elif defined(_MSC_VER)||defined(_WIN32_DECL_PROTO)
WIN32_DLLEXPORT
#endif
SOMDLINK ODBaseTransformCClassData;

/*
 * -- Typedefs for ODBaseTransform Method Procedures
 */
extern "C" {
typedef ODTransform*   SOMLINK somTP_ODBaseTransform_NewTransform(ODBaseTransform *somSelf, Environment *ev);
typedef somTP_ODBaseTransform_NewTransform *somTD_ODBaseTransform_NewTransform;
typedef ODTransform*   SOMLINK somTP_ODBaseTransform_Copy(ODBaseTransform *somSelf, Environment *ev);
typedef somTP_ODBaseTransform_Copy *somTD_ODBaseTransform_Copy;
typedef ODTransformType   SOMLINK somTP_ODBaseTransform_GetType(ODBaseTransform *somSelf, Environment *ev);
typedef somTP_ODBaseTransform_GetType *somTD_ODBaseTransform_GetType;
typedef void   SOMLINK somTP_ODBaseTransform_GetOffset(ODBaseTransform *somSelf, Environment *ev,
		ODPoint* offset);
typedef somTP_ODBaseTransform_GetOffset *somTD_ODBaseTransform_GetOffset;
typedef void   SOMLINK somTP_ODBaseTransform_GetPreScaleOffset(ODBaseTransform *somSelf, Environment *ev,
		ODPoint* offset);
typedef somTP_ODBaseTransform_GetPreScaleOffset *somTD_ODBaseTransform_GetPreScaleOffset;
typedef void   SOMLINK somTP_ODBaseTransform_GetScale(ODBaseTransform *somSelf, Environment *ev,
		ODPoint* scale);
typedef somTP_ODBaseTransform_GetScale *somTD_ODBaseTransform_GetScale;
typedef void   SOMLINK somTP_ODBaseTransform_GetMatrix(ODBaseTransform *somSelf, Environment *ev,
		ODMatrix* matrix);
typedef somTP_ODBaseTransform_GetMatrix *somTD_ODBaseTransform_GetMatrix;
typedef ODBoolean   SOMLINK somTP_ODBaseTransform_HasMatrix(ODBaseTransform *somSelf, Environment *ev);
typedef somTP_ODBaseTransform_HasMatrix *somTD_ODBaseTransform_HasMatrix;
typedef ODBoolean   SOMLINK somTP_ODBaseTransform_IsSameAs(ODBaseTransform *somSelf, Environment *ev,
		ODTransform* compareTransform);
typedef somTP_ODBaseTransform_IsSameAs *somTD_ODBaseTransform_IsSameAs;
typedef ODTransform*   SOMLINK somTP_ODBaseTransform_Reset(ODBaseTransform *somSelf, Environment *ev);
typedef somTP_ODBaseTransform_Reset *somTD_ODBaseTransform_Reset;
typedef ODTransform*   SOMLINK somTP_ODBaseTransform_SetMatrix(ODBaseTransform *somSelf, Environment *ev,
		ODMatrix* matrix);
typedef somTP_ODBaseTransform_SetMatrix *somTD_ODBaseTransform_SetMatrix;
typedef ODTransform*   SOMLINK somTP_ODBaseTransform_CopyFrom(ODBaseTransform *somSelf, Environment *ev,
		ODTransform* sourceTransform);
typedef somTP_ODBaseTransform_CopyFrom *somTD_ODBaseTransform_CopyFrom;
typedef ODTransform*   SOMLINK somTP_ODBaseTransform_SetOffset(ODBaseTransform *somSelf, Environment *ev,
		ODPoint* point);
typedef somTP_ODBaseTransform_SetOffset *somTD_ODBaseTransform_SetOffset;
typedef ODTransform*   SOMLINK somTP_ODBaseTransform_MoveBy(ODBaseTransform *somSelf, Environment *ev,
		ODPoint* point);
typedef somTP_ODBaseTransform_MoveBy *somTD_ODBaseTransform_MoveBy;
typedef ODTransform*   SOMLINK somTP_ODBaseTransform_ScaleBy(ODBaseTransform *somSelf, Environment *ev,
		ODPoint* scale);
typedef somTP_ODBaseTransform_ScaleBy *somTD_ODBaseTransform_ScaleBy;
typedef ODTransform*   SOMLINK somTP_ODBaseTransform_ScaleDownBy(ODBaseTransform *somSelf, Environment *ev,
		ODPoint* scale);
typedef somTP_ODBaseTransform_ScaleDownBy *somTD_ODBaseTransform_ScaleDownBy;
typedef ODTransform*   SOMLINK somTP_ODBaseTransform_Invert(ODBaseTransform *somSelf, Environment *ev);
typedef somTP_ODBaseTransform_Invert *somTD_ODBaseTransform_Invert;
typedef ODTransform*   SOMLINK somTP_ODBaseTransform_PreCompose(ODBaseTransform *somSelf, Environment *ev,
		ODTransform* transform);
typedef somTP_ODBaseTransform_PreCompose *somTD_ODBaseTransform_PreCompose;
typedef ODTransform*   SOMLINK somTP_ODBaseTransform_PostCompose(ODBaseTransform *somSelf, Environment *ev,
		ODTransform* transform);
typedef somTP_ODBaseTransform_PostCompose *somTD_ODBaseTransform_PostCompose;
typedef void   SOMLINK somTP_ODBaseTransform_TransformPoint(ODBaseTransform *somSelf, Environment *ev,
		ODPoint* point);
typedef somTP_ODBaseTransform_TransformPoint *somTD_ODBaseTransform_TransformPoint;
typedef void   SOMLINK somTP_ODBaseTransform_InvertPoint(ODBaseTransform *somSelf, Environment *ev,
		ODPoint* point);
typedef somTP_ODBaseTransform_InvertPoint *somTD_ODBaseTransform_InvertPoint;
typedef void   SOMLINK somTP_ODBaseTransform_TransformShape(ODBaseTransform *somSelf, Environment *ev,
		ODShape* shape);
typedef somTP_ODBaseTransform_TransformShape *somTD_ODBaseTransform_TransformShape;
typedef void   SOMLINK somTP_ODBaseTransform_InvertShape(ODBaseTransform *somSelf, Environment *ev,
		ODShape* shape);
typedef somTP_ODBaseTransform_InvertShape *somTD_ODBaseTransform_InvertShape;
typedef void   SOMLINK somTP_ODBaseTransform_WriteTo(ODBaseTransform *somSelf, Environment *ev,
		ODStorageUnit* storageUnit);
typedef somTP_ODBaseTransform_WriteTo *somTD_ODBaseTransform_WriteTo;
typedef void   SOMLINK somTP_ODBaseTransform_ReadFrom(ODBaseTransform *somSelf, Environment *ev,
		ODStorageUnit* storageUnit);
typedef somTP_ODBaseTransform_ReadFrom *somTD_ODBaseTransform_ReadFrom;

/*
 * -- Typedefs for Reintroduced Wrapper Methods
 */
typedef void   SOMLINK somTP_ODBaseTransform_InitRefCntObject(ODBaseTransform *somSelf, Environment *ev);
typedef somTP_ODBaseTransform_InitRefCntObject *somTD_ODBaseTransform_InitRefCntObject;
typedef void   SOMLINK somTP_ODBaseTransform_Acquire(ODBaseTransform *somSelf, Environment *ev);
typedef somTP_ODBaseTransform_Acquire *somTD_ODBaseTransform_Acquire;
typedef void   SOMLINK somTP_ODBaseTransform_Release(ODBaseTransform *somSelf, Environment *ev);
typedef somTP_ODBaseTransform_Release *somTD_ODBaseTransform_Release;
typedef ODULong   SOMLINK somTP_ODBaseTransform_GetRefCount(ODBaseTransform *somSelf, Environment *ev);
typedef somTP_ODBaseTransform_GetRefCount *somTD_ODBaseTransform_GetRefCount;
typedef void   SOMLINK somTP_ODBaseTransform_somUninit(ODBaseTransform *somSelf);
typedef somTP_ODBaseTransform_somUninit *somTD_ODBaseTransform_somUninit;
typedef void   SOMLINK somTP_ODBaseTransform_InitObject(ODBaseTransform *somSelf, Environment *ev);
typedef somTP_ODBaseTransform_InitObject *somTD_ODBaseTransform_InitObject;
typedef ODBoolean   SOMLINK somTP_ODBaseTransform_HasExtension(ODBaseTransform *somSelf, Environment *ev,
		ODType extensionName);
typedef somTP_ODBaseTransform_HasExtension *somTD_ODBaseTransform_HasExtension;
typedef ODExtension*   SOMLINK somTP_ODBaseTransform_AcquireExtension(ODBaseTransform *somSelf, Environment *ev,
		ODType extensionName);
typedef somTP_ODBaseTransform_AcquireExtension *somTD_ODBaseTransform_AcquireExtension;
typedef void   SOMLINK somTP_ODBaseTransform_ReleaseExtension(ODBaseTransform *somSelf, Environment *ev,
		ODExtension* extension);
typedef somTP_ODBaseTransform_ReleaseExtension *somTD_ODBaseTransform_ReleaseExtension;
typedef ODSize   SOMLINK somTP_ODBaseTransform_Purge(ODBaseTransform *somSelf, Environment *ev,
		ODSize size);
typedef somTP_ODBaseTransform_Purge *somTD_ODBaseTransform_Purge;
typedef ODBoolean   SOMLINK somTP_ODBaseTransform_IsEqualTo(ODBaseTransform *somSelf, Environment *ev,
		ODObject* object);
typedef somTP_ODBaseTransform_IsEqualTo *somTD_ODBaseTransform_IsEqualTo;
typedef void   SOMLINK somTP_ODBaseTransform_SubClassResponsibility(ODBaseTransform *somSelf, Environment *ev);
typedef somTP_ODBaseTransform_SubClassResponsibility *somTD_ODBaseTransform_SubClassResponsibility;
typedef void   SOMLINK somTP_ODBaseTransform_somInit(ODBaseTransform *somSelf);
typedef somTP_ODBaseTransform_somInit *somTD_ODBaseTransform_somInit;
typedef void   SOMLINK somTP_ODBaseTransform_somDefaultInit(ODBaseTransform *somSelf,
		somInitCtrl* ctrl);
typedef somTP_ODBaseTransform_somDefaultInit *somTD_ODBaseTransform_somDefaultInit;
typedef void   SOMLINK somTP_ODBaseTransform_somDestruct(ODBaseTransform *somSelf,
		octet doFree,
		somDestructCtrl* ctrl);
typedef somTP_ODBaseTransform_somDestruct *somTD_ODBaseTransform_somDestruct;
typedef void   SOMLINK somTP_ODBaseTransform_somDefaultCopyInit(ODBaseTransform *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODBaseTransform_somDefaultCopyInit *somTD_ODBaseTransform_somDefaultCopyInit;
typedef ODBaseTransform*   SOMLINK somTP_ODBaseTransform_somDefaultAssign(ODBaseTransform *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODBaseTransform_somDefaultAssign *somTD_ODBaseTransform_somDefaultAssign;
typedef void   SOMLINK somTP_ODBaseTransform_somDefaultConstCopyInit(ODBaseTransform *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODBaseTransform_somDefaultConstCopyInit *somTD_ODBaseTransform_somDefaultConstCopyInit;
typedef void   SOMLINK somTP_ODBaseTransform_somDefaultVCopyInit(ODBaseTransform *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODBaseTransform_somDefaultVCopyInit *somTD_ODBaseTransform_somDefaultVCopyInit;
typedef void   SOMLINK somTP_ODBaseTransform_somDefaultConstVCopyInit(ODBaseTransform *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODBaseTransform_somDefaultConstVCopyInit *somTD_ODBaseTransform_somDefaultConstVCopyInit;
typedef ODBaseTransform*   SOMLINK somTP_ODBaseTransform_somDefaultConstAssign(ODBaseTransform *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODBaseTransform_somDefaultConstAssign *somTD_ODBaseTransform_somDefaultConstAssign;
typedef ODBaseTransform*   SOMLINK somTP_ODBaseTransform_somDefaultVAssign(ODBaseTransform *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODBaseTransform_somDefaultVAssign *somTD_ODBaseTransform_somDefaultVAssign;
typedef ODBaseTransform*   SOMLINK somTP_ODBaseTransform_somDefaultConstVAssign(ODBaseTransform *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODBaseTransform_somDefaultConstVAssign *somTD_ODBaseTransform_somDefaultConstVAssign;
typedef void   SOMLINK somTP_ODBaseTransform_somFree(ODBaseTransform *somSelf);
typedef somTP_ODBaseTransform_somFree *somTD_ODBaseTransform_somFree;
typedef SOMClass*   SOMLINK somTP_ODBaseTransform_somGetClass(ODBaseTransform *somSelf);
typedef somTP_ODBaseTransform_somGetClass *somTD_ODBaseTransform_somGetClass;
typedef string   SOMLINK somTP_ODBaseTransform_somGetClassName(ODBaseTransform *somSelf);
typedef somTP_ODBaseTransform_somGetClassName *somTD_ODBaseTransform_somGetClassName;
typedef long   SOMLINK somTP_ODBaseTransform_somGetSize(ODBaseTransform *somSelf);
typedef somTP_ODBaseTransform_somGetSize *somTD_ODBaseTransform_somGetSize;
typedef boolean   SOMLINK somTP_ODBaseTransform_somIsA(ODBaseTransform *somSelf,
		SOMClass* aClassObj);
typedef somTP_ODBaseTransform_somIsA *somTD_ODBaseTransform_somIsA;
typedef boolean   SOMLINK somTP_ODBaseTransform_somIsInstanceOf(ODBaseTransform *somSelf,
		SOMClass* aClassObj);
typedef somTP_ODBaseTransform_somIsInstanceOf *somTD_ODBaseTransform_somIsInstanceOf;
typedef boolean   SOMLINK somTP_ODBaseTransform_somRespondsTo(ODBaseTransform *somSelf,
		somId mId);
typedef somTP_ODBaseTransform_somRespondsTo *somTD_ODBaseTransform_somRespondsTo;
typedef boolean   SOMLINK somTP_ODBaseTransform_somDispatch(ODBaseTransform *somSelf,
		somToken* retValue,
		somId methodId,
		va_list ap);
typedef somTP_ODBaseTransform_somDispatch *somTD_ODBaseTransform_somDispatch;
typedef boolean   SOMLINK somTP_ODBaseTransform_somClassDispatch(ODBaseTransform *somSelf,
		SOMClass* clsObj,
		somToken* retValue,
		somId methodId,
		va_list ap);
typedef somTP_ODBaseTransform_somClassDispatch *somTD_ODBaseTransform_somClassDispatch;
typedef boolean   SOMLINK somTP_ODBaseTransform_somCastObj(ODBaseTransform *somSelf,
		SOMClass* cls);
typedef somTP_ODBaseTransform_somCastObj *somTD_ODBaseTransform_somCastObj;
typedef boolean   SOMLINK somTP_ODBaseTransform_somResetObj(ODBaseTransform *somSelf);
typedef somTP_ODBaseTransform_somResetObj *somTD_ODBaseTransform_somResetObj;
typedef SOMObject*   SOMLINK somTP_ODBaseTransform_somPrintSelf(ODBaseTransform *somSelf);
typedef somTP_ODBaseTransform_somPrintSelf *somTD_ODBaseTransform_somPrintSelf;
typedef void   SOMLINK somTP_ODBaseTransform_somDumpSelf(ODBaseTransform *somSelf,
		long level);
typedef somTP_ODBaseTransform_somDumpSelf *somTD_ODBaseTransform_somDumpSelf;
typedef void   SOMLINK somTP_ODBaseTransform_somDumpSelfInt(ODBaseTransform *somSelf,
		long level);
typedef somTP_ODBaseTransform_somDumpSelfInt *somTD_ODBaseTransform_somDumpSelfInt;
}

#endif /* ODBaseTransform_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 ODBaseTransform
 */
class ODBaseTransform : public ODRefCntObject
{
public:

// ODBaseTransform::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 (!_ODBaseTransform) ODBaseTransformNewClass(ODBaseTransform_MajorVersion,ODBaseTransform_MinorVersion);
   return (void*)
      SOM_Resolve(_ODBaseTransform,SOMClass,somNewNoInit)
         ((SOMClass *)((void*)_ODBaseTransform));
}

// ODBaseTransform::delete uses somDestruct.
void operator delete(void * obj)
{
   if (obj && *(void**)obj) {
      SOM_Resolve(obj,SOMObject,somDestruct)
         ((SOMObject*)obj, 1, 0);
   }
}

ODBaseTransform()
{
   if (*(void**)this != 
       ((somParentMtabStructPtr)
        (ODBaseTransformCClassData.parentMtab))->mtab)
      return;
   ((SOMObject*)((void*)this))->somDefaultInit(0);
}

ODBaseTransform(ODBaseTransform* fromObj)
{
   if (*(void**)this != 
       ((somParentMtabStructPtr)
        (ODBaseTransformCClassData.parentMtab))->mtab)
      return;
   ((SOMObject*)((void*)this))->somDefaultCopyInit(0,((SOMObject*)((void*)fromObj)));
}

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


/* method: NewTransform */
ODTransform*   NewTransform(Environment *ev)
{
#ifdef SOMCHKEXCEPT
   ODTransform* __somResult = 
      SOM_ResolveD(this,ODBaseTransform,ODBaseTransform,NewTransform)
	(this, ev);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODBaseTransform,ODBaseTransform,NewTransform)
	(this, ev);
#endif
}


/* method: Copy */
ODTransform*   Copy(Environment *ev)
{
#ifdef SOMCHKEXCEPT
   ODTransform* __somResult = 
      SOM_ResolveD(this,ODBaseTransform,ODBaseTransform,Copy)
	(this, ev);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODBaseTransform,ODBaseTransform,Copy)
	(this, ev);
#endif
}


/* method: GetType */
ODTransformType   GetType(Environment *ev)
{
#ifdef SOMCHKEXCEPT
   ODTransformType __somResult = 
      SOM_ResolveD(this,ODBaseTransform,ODBaseTransform,GetType)
	(this, ev);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODBaseTransform,ODBaseTransform,GetType)
	(this, ev);
#endif
}


/* method: GetOffset */
void   GetOffset(Environment *ev,
		ODPoint* offset)
{
   SOM_ResolveD(this,ODBaseTransform,ODBaseTransform,GetOffset)
	(this, ev,offset);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/* method: GetPreScaleOffset */
void   GetPreScaleOffset(Environment *ev,
		ODPoint* offset)
{
   SOM_ResolveD(this,ODBaseTransform,ODBaseTransform,GetPreScaleOffset)
	(this, ev,offset);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/* method: GetScale */
void   GetScale(Environment *ev,
		ODPoint* scale)
{
   SOM_ResolveD(this,ODBaseTransform,ODBaseTransform,GetScale)
	(this, ev,scale);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/* method: GetMatrix */
void   GetMatrix(Environment *ev,
		ODMatrix* matrix)
{
   SOM_ResolveD(this,ODBaseTransform,ODBaseTransform,GetMatrix)
	(this, ev,matrix);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/* method: HasMatrix */
ODBoolean   HasMatrix(Environment *ev)
{
#ifdef SOMCHKEXCEPT
   ODBoolean __somResult = 
      SOM_ResolveD(this,ODBaseTransform,ODBaseTransform,HasMatrix)
	(this, ev);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODBaseTransform,ODBaseTransform,HasMatrix)
	(this, ev);
#endif
}


/* method: IsSameAs */
ODBoolean   IsSameAs(Environment *ev,
		ODTransform* compareTransform)
{
#ifdef SOMCHKEXCEPT
   ODBoolean __somResult = 
      SOM_ResolveD(this,ODBaseTransform,ODBaseTransform,IsSameAs)
	(this, ev,compareTransform);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODBaseTransform,ODBaseTransform,IsSameAs)
	(this, ev,compareTransform);
#endif
}


/* method: Reset */
ODTransform*   Reset(Environment *ev)
{
#ifdef SOMCHKEXCEPT
   ODTransform* __somResult = 
      SOM_ResolveD(this,ODBaseTransform,ODBaseTransform,Reset)
	(this, ev);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODBaseTransform,ODBaseTransform,Reset)
	(this, ev);
#endif
}


/* method: SetMatrix */
ODTransform*   SetMatrix(Environment *ev,
		ODMatrix* matrix)
{
#ifdef SOMCHKEXCEPT
   ODTransform* __somResult = 
      SOM_ResolveD(this,ODBaseTransform,ODBaseTransform,SetMatrix)
	(this, ev,matrix);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODBaseTransform,ODBaseTransform,SetMatrix)
	(this, ev,matrix);
#endif
}


/* method: CopyFrom */
ODTransform*   CopyFrom(Environment *ev,
		ODTransform* sourceTransform)
{
#ifdef SOMCHKEXCEPT
   ODTransform* __somResult = 
      SOM_ResolveD(this,ODBaseTransform,ODBaseTransform,CopyFrom)
	(this, ev,sourceTransform);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODBaseTransform,ODBaseTransform,CopyFrom)
	(this, ev,sourceTransform);
#endif
}


/* method: SetOffset */
ODTransform*   SetOffset(Environment *ev,
		ODPoint* point)
{
#ifdef SOMCHKEXCEPT
   ODTransform* __somResult = 
      SOM_ResolveD(this,ODBaseTransform,ODBaseTransform,SetOffset)
	(this, ev,point);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODBaseTransform,ODBaseTransform,SetOffset)
	(this, ev,point);
#endif
}


/* method: MoveBy */
ODTransform*   MoveBy(Environment *ev,
		ODPoint* point)
{
#ifdef SOMCHKEXCEPT
   ODTransform* __somResult = 
      SOM_ResolveD(this,ODBaseTransform,ODBaseTransform,MoveBy)
	(this, ev,point);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODBaseTransform,ODBaseTransform,MoveBy)
	(this, ev,point);
#endif
}


/* method: ScaleBy */
ODTransform*   ScaleBy(Environment *ev,
		ODPoint* scale)
{
#ifdef SOMCHKEXCEPT
   ODTransform* __somResult = 
      SOM_ResolveD(this,ODBaseTransform,ODBaseTransform,ScaleBy)
	(this, ev,scale);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODBaseTransform,ODBaseTransform,ScaleBy)
	(this, ev,scale);
#endif
}


/* method: ScaleDownBy */
ODTransform*   ScaleDownBy(Environment *ev,
		ODPoint* scale)
{
#ifdef SOMCHKEXCEPT
   ODTransform* __somResult = 
      SOM_ResolveD(this,ODBaseTransform,ODBaseTransform,ScaleDownBy)
	(this, ev,scale);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODBaseTransform,ODBaseTransform,ScaleDownBy)
	(this, ev,scale);
#endif
}


/* method: Invert */
ODTransform*   Invert(Environment *ev)
{
#ifdef SOMCHKEXCEPT
   ODTransform* __somResult = 
      SOM_ResolveD(this,ODBaseTransform,ODBaseTransform,Invert)
	(this, ev);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODBaseTransform,ODBaseTransform,Invert)
	(this, ev);
#endif
}


/* method: PreCompose */
ODTransform*   PreCompose(Environment *ev,
		ODTransform* transform)
{
#ifdef SOMCHKEXCEPT
   ODTransform* __somResult = 
      SOM_ResolveD(this,ODBaseTransform,ODBaseTransform,PreCompose)
	(this, ev,transform);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODBaseTransform,ODBaseTransform,PreCompose)
	(this, ev,transform);
#endif
}


/* method: PostCompose */
ODTransform*   PostCompose(Environment *ev,
		ODTransform* transform)
{
#ifdef SOMCHKEXCEPT
   ODTransform* __somResult = 
      SOM_ResolveD(this,ODBaseTransform,ODBaseTransform,PostCompose)
	(this, ev,transform);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODBaseTransform,ODBaseTransform,PostCompose)
	(this, ev,transform);
#endif
}


/* method: TransformPoint */
void   TransformPoint(Environment *ev,
		ODPoint* point)
{
   SOM_ResolveD(this,ODBaseTransform,ODBaseTransform,TransformPoint)
	(this, ev,point);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/* method: InvertPoint */
void   InvertPoint(Environment *ev,
		ODPoint* point)
{
   SOM_ResolveD(this,ODBaseTransform,ODBaseTransform,InvertPoint)
	(this, ev,point);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/* method: TransformShape */
void   TransformShape(Environment *ev,
		ODShape* shape)
{
   SOM_ResolveD(this,ODBaseTransform,ODBaseTransform,TransformShape)
	(this, ev,shape);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/* method: InvertShape */
void   InvertShape(Environment *ev,
		ODShape* shape)
{
   SOM_ResolveD(this,ODBaseTransform,ODBaseTransform,InvertShape)
	(this, ev,shape);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/* method: WriteTo */
void   WriteTo(Environment *ev,
		ODStorageUnit* storageUnit)
{
   SOM_ResolveD(this,ODBaseTransform,ODBaseTransform,WriteTo)
	(this, ev,storageUnit);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/* method: ReadFrom */
void   ReadFrom(Environment *ev,
		ODStorageUnit* storageUnit)
{
   SOM_ResolveD(this,ODBaseTransform,ODBaseTransform,ReadFrom)
	(this, ev,storageUnit);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/*
 * Reintroduce inherited methods
 */

/* method: InitRefCntObject */
void   InitRefCntObject(Environment *ev)
{
   SOM_ResolveD(this,ODBaseTransform,ODRefCntObject,InitRefCntObject)
	(this, ev);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/* method: Acquire */
void   Acquire(Environment *ev)
{
   SOM_ResolveD(this,ODBaseTransform,ODRefCntObject,Acquire)
	(this, ev);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/* method: Release */
void   Release(Environment *ev)
{
   SOM_ResolveD(this,ODBaseTransform,ODRefCntObject,Release)
	(this, ev);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/* method: GetRefCount */
ODULong   GetRefCount(Environment *ev)
{
#ifdef SOMCHKEXCEPT
   ODULong __somResult = 
      SOM_ResolveD(this,ODBaseTransform,ODRefCntObject,GetRefCount)
	(this, ev);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODBaseTransform,ODRefCntObject,GetRefCount)
	(this, ev);
#endif
}


/* method: somUninit */
void   somUninit()
{
   SOM_ResolveD(this,ODBaseTransform,SOMObject,somUninit)
	(this);
}


/* method: InitObject */
void   InitObject(Environment *ev)
{
   SOM_ResolveD(this,ODBaseTransform,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,ODBaseTransform,ODObject,HasExtension)
	(this, ev,extensionName);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODBaseTransform,ODObject,HasExtension)
	(this, ev,extensionName);
#endif
}


/* method: AcquireExtension */
ODExtension*   AcquireExtension(Environment *ev,
		ODType extensionName)
{
#ifdef SOMCHKEXCEPT
   ODExtension* __somResult = 
      SOM_ResolveD(this,ODBaseTransform,ODObject,AcquireExtension)
	(this, ev,extensionName);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODBaseTransform,ODObject,AcquireExtension)
	(this, ev,extensionName);
#endif
}


/* method: ReleaseExtension */
void   ReleaseExtension(Environment *ev,
		ODExtension* extension)
{
   SOM_ResolveD(this,ODBaseTransform,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,ODBaseTransform,ODObject,Purge)
	(this, ev,size);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODBaseTransform,ODObject,Purge)
	(this, ev,size);
#endif
}


/* method: IsEqualTo */
ODBoolean   IsEqualTo(Environment *ev,
		ODObject* object)
{
#ifdef SOMCHKEXCEPT
   ODBoolean __somResult = 
      SOM_ResolveD(this,ODBaseTransform,ODObject,IsEqualTo)
	(this, ev,object);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODBaseTransform,ODObject,IsEqualTo)
	(this, ev,object);
#endif
}


/* method: SubClassResponsibility */
void   SubClassResponsibility(Environment *ev)
{
   SOM_ResolveD(this,ODBaseTransform,ODObject,SubClassResponsibility)
	(this, ev);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/* method: somInit */
void   somInit()
{
   SOM_ResolveD(this,ODBaseTransform,SOMObject,somInit)
	(this);
}


/* initializer method: somDefaultInit */
void   somDefaultInit(somInitCtrl* ctrl)
{
   SOM_ResolveD(this,ODBaseTransform,SOMObject,somDefaultInit)
	(this,ctrl);
}


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


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


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


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


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


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


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


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


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


/* method: somFree */
void   somFree()
{
   SOM_ResolveD(this,ODBaseTransform,SOMObject,somFree)
	(this);
}


/* method: somGetClass */
SOMClass*   somGetClass()
{
   return SOM_ResolveD(this,ODBaseTransform,SOMObject,somGetClass)
	(this);
}


/* method: somGetClassName */
string   somGetClassName()
{
   return SOM_ResolveD(this,ODBaseTransform,SOMObject,somGetClassName)
	(this);
}


/* method: somGetSize */
long   somGetSize()
{
   return SOM_ResolveD(this,ODBaseTransform,SOMObject,somGetSize)
	(this);
}


/* method: somIsA */
boolean   somIsA(SOMClass* aClassObj)
{
   return SOM_ResolveD(this,ODBaseTransform,SOMObject,somIsA)
	(this,aClassObj);
}


/* method: somIsInstanceOf */
boolean   somIsInstanceOf(SOMClass* aClassObj)
{
   return SOM_ResolveD(this,ODBaseTransform,SOMObject,somIsInstanceOf)
	(this,aClassObj);
}


/* method: somRespondsTo */
boolean   somRespondsTo(somId mId)
{
   return SOM_ResolveD(this,ODBaseTransform,SOMObject,somRespondsTo)
	(this,mId);
}


/* va_list method: somDispatch */
/* the va_list invocation form */
boolean   ODBaseTransform_somDispatch(somToken* retValue,
		somId methodId,
		va_list ap)
{
return SOM_ResolveD(this,ODBaseTransform,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,ODBaseTransform,SOMObject,somDispatch)
	(this,retValue,methodId,ap);
   va_end(ap);
   return __somResult;
}


/* va_list method: somClassDispatch */
/* the va_list invocation form */
boolean   ODBaseTransform_somClassDispatch(SOMClass* clsObj,
		somToken* retValue,
		somId methodId,
		va_list ap)
{
return SOM_ResolveD(this,ODBaseTransform,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,ODBaseTransform,SOMObject,somClassDispatch)
	(this,clsObj,retValue,methodId,ap);
   va_end(ap);
   return __somResult;
}


/* method: somCastObj */
boolean   somCastObj(SOMClass* cls)
{
   return SOM_ResolveD(this,ODBaseTransform,SOMObject,somCastObj)
	(this,cls);
}


/* method: somResetObj */
boolean   somResetObj()
{
   return SOM_ResolveD(this,ODBaseTransform,SOMObject,somResetObj)
	(this);
}


/* method: somPrintSelf */
SOMObject*   somPrintSelf()
{
   return SOM_ResolveD(this,ODBaseTransform,SOMObject,somPrintSelf)
	(this);
}


/* method: somDumpSelf */
void   somDumpSelf(long level)
{
   SOM_ResolveD(this,ODBaseTransform,SOMObject,somDumpSelf)
	(this,level);
}


/* method: somDumpSelfInt */
void   somDumpSelfInt(long level)
{
   SOM_ResolveD(this,ODBaseTransform,SOMObject,somDumpSelfInt)
	(this,level);
}



};   /* ODBaseTransform */



#endif       /* SOM_ODBaseTransform_xh */
