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

#ifndef SOM_ODTransform_xh
#define SOM_ODTransform_xh

class ODTransform;

#define ODTransform_MajorVersion 1
#define ODTransform_MinorVersion 0

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

/* C++ parent defs */
#ifndef SOM_ODBaseTransform_xh
#include <TrnsfrmB.xh>
#endif

#ifndef ODTransform_API
#define ODTransform_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 ODTransform Class */
SOMEXTERN
#if (defined(SOM_Module_Trnsform_Source) || defined(ODTransform_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODTransform))
WIN32_DLLEXPORT
#else
WIN32_DLLIMPORT
#endif
SOMClass * SOMLINK ODTransformNewClass(
		integer4,
		integer4 );

/* The API to the ODTransform class object, and the methods it introduces. */
SOMEXTERN struct ODTransformClassDataStructure {
	SOMClass *classObject;
	somMToken InitTransform;
	somMToken IsIntegerOffset;
	somMToken GetOffsetAsPoint;
	somMToken SetOffsetUsingPoint;
	somMToken TransformPoints;
}
#if !(defined(SOM_Module_Trnsform_Source) || defined(ODTransform_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODTransform))
WIN32_DLLIMPORT
#elif defined(_MSC_VER)||defined(_WIN32_DECL_PROTO)
WIN32_DLLEXPORT
#endif
SOMDLINK ODTransformClassData;
#define _ODTransform ODTransformClassData.classObject

/* The API to parentMtabs for ODTransform, and the instance data it introduces. */
SOMEXTERN struct ODTransformCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken              instanceDataToken;
}
#if !(defined(SOM_Module_Trnsform_Source) || defined(ODTransform_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODTransform))
WIN32_DLLIMPORT
#elif defined(_MSC_VER)||defined(_WIN32_DECL_PROTO)
WIN32_DLLEXPORT
#endif
SOMDLINK ODTransformCClassData;

/*
 * -- Typedefs for ODTransform Method Procedures
 */
extern "C" {
typedef void   SOMLINK somTP_ODTransform_InitTransform(ODTransform *somSelf, Environment *ev);
typedef somTP_ODTransform_InitTransform *somTD_ODTransform_InitTransform;
typedef ODBoolean   SOMLINK somTP_ODTransform_IsIntegerOffset(ODTransform *somSelf, Environment *ev);
typedef somTP_ODTransform_IsIntegerOffset *somTD_ODTransform_IsIntegerOffset;
typedef Point   SOMLINK somTP_ODTransform_GetOffsetAsPoint(ODTransform *somSelf, Environment *ev);
typedef somTP_ODTransform_GetOffsetAsPoint *somTD_ODTransform_GetOffsetAsPoint;
typedef ODTransform*   SOMLINK somTP_ODTransform_SetOffsetUsingPoint(ODTransform *somSelf, Environment *ev,
		Point* point);
typedef somTP_ODTransform_SetOffsetUsingPoint *somTD_ODTransform_SetOffsetUsingPoint;
typedef void   SOMLINK somTP_ODTransform_TransformPoints(ODTransform *somSelf, Environment *ev,
		ODByteArray* points,
		ODULong npoints);
typedef somTP_ODTransform_TransformPoints *somTD_ODTransform_TransformPoints;

/*
 * -- Typedefs for Reintroduced Wrapper Methods
 */
typedef ODTransform*   SOMLINK somTP_ODTransform_NewTransform(ODTransform *somSelf, Environment *ev);
typedef somTP_ODTransform_NewTransform *somTD_ODTransform_NewTransform;
typedef ODTransform*   SOMLINK somTP_ODTransform_Copy(ODTransform *somSelf, Environment *ev);
typedef somTP_ODTransform_Copy *somTD_ODTransform_Copy;
typedef ODTransformType   SOMLINK somTP_ODTransform_GetType(ODTransform *somSelf, Environment *ev);
typedef somTP_ODTransform_GetType *somTD_ODTransform_GetType;
typedef void   SOMLINK somTP_ODTransform_GetOffset(ODTransform *somSelf, Environment *ev,
		ODPoint* offset);
typedef somTP_ODTransform_GetOffset *somTD_ODTransform_GetOffset;
typedef void   SOMLINK somTP_ODTransform_GetPreScaleOffset(ODTransform *somSelf, Environment *ev,
		ODPoint* offset);
typedef somTP_ODTransform_GetPreScaleOffset *somTD_ODTransform_GetPreScaleOffset;
typedef void   SOMLINK somTP_ODTransform_GetScale(ODTransform *somSelf, Environment *ev,
		ODPoint* scale);
typedef somTP_ODTransform_GetScale *somTD_ODTransform_GetScale;
typedef void   SOMLINK somTP_ODTransform_GetMatrix(ODTransform *somSelf, Environment *ev,
		ODMatrix* matrix);
typedef somTP_ODTransform_GetMatrix *somTD_ODTransform_GetMatrix;
typedef ODBoolean   SOMLINK somTP_ODTransform_HasMatrix(ODTransform *somSelf, Environment *ev);
typedef somTP_ODTransform_HasMatrix *somTD_ODTransform_HasMatrix;
typedef ODBoolean   SOMLINK somTP_ODTransform_IsSameAs(ODTransform *somSelf, Environment *ev,
		ODTransform* compareTransform);
typedef somTP_ODTransform_IsSameAs *somTD_ODTransform_IsSameAs;
typedef ODTransform*   SOMLINK somTP_ODTransform_Reset(ODTransform *somSelf, Environment *ev);
typedef somTP_ODTransform_Reset *somTD_ODTransform_Reset;
typedef ODTransform*   SOMLINK somTP_ODTransform_SetMatrix(ODTransform *somSelf, Environment *ev,
		ODMatrix* matrix);
typedef somTP_ODTransform_SetMatrix *somTD_ODTransform_SetMatrix;
typedef ODTransform*   SOMLINK somTP_ODTransform_CopyFrom(ODTransform *somSelf, Environment *ev,
		ODTransform* sourceTransform);
typedef somTP_ODTransform_CopyFrom *somTD_ODTransform_CopyFrom;
typedef ODTransform*   SOMLINK somTP_ODTransform_SetOffset(ODTransform *somSelf, Environment *ev,
		ODPoint* point);
typedef somTP_ODTransform_SetOffset *somTD_ODTransform_SetOffset;
typedef ODTransform*   SOMLINK somTP_ODTransform_MoveBy(ODTransform *somSelf, Environment *ev,
		ODPoint* point);
typedef somTP_ODTransform_MoveBy *somTD_ODTransform_MoveBy;
typedef ODTransform*   SOMLINK somTP_ODTransform_ScaleBy(ODTransform *somSelf, Environment *ev,
		ODPoint* scale);
typedef somTP_ODTransform_ScaleBy *somTD_ODTransform_ScaleBy;
typedef ODTransform*   SOMLINK somTP_ODTransform_ScaleDownBy(ODTransform *somSelf, Environment *ev,
		ODPoint* scale);
typedef somTP_ODTransform_ScaleDownBy *somTD_ODTransform_ScaleDownBy;
typedef ODTransform*   SOMLINK somTP_ODTransform_Invert(ODTransform *somSelf, Environment *ev);
typedef somTP_ODTransform_Invert *somTD_ODTransform_Invert;
typedef ODTransform*   SOMLINK somTP_ODTransform_PreCompose(ODTransform *somSelf, Environment *ev,
		ODTransform* transform);
typedef somTP_ODTransform_PreCompose *somTD_ODTransform_PreCompose;
typedef ODTransform*   SOMLINK somTP_ODTransform_PostCompose(ODTransform *somSelf, Environment *ev,
		ODTransform* transform);
typedef somTP_ODTransform_PostCompose *somTD_ODTransform_PostCompose;
typedef void   SOMLINK somTP_ODTransform_TransformPoint(ODTransform *somSelf, Environment *ev,
		ODPoint* point);
typedef somTP_ODTransform_TransformPoint *somTD_ODTransform_TransformPoint;
typedef void   SOMLINK somTP_ODTransform_InvertPoint(ODTransform *somSelf, Environment *ev,
		ODPoint* point);
typedef somTP_ODTransform_InvertPoint *somTD_ODTransform_InvertPoint;
typedef void   SOMLINK somTP_ODTransform_TransformShape(ODTransform *somSelf, Environment *ev,
		ODShape* shape);
typedef somTP_ODTransform_TransformShape *somTD_ODTransform_TransformShape;
typedef void   SOMLINK somTP_ODTransform_InvertShape(ODTransform *somSelf, Environment *ev,
		ODShape* shape);
typedef somTP_ODTransform_InvertShape *somTD_ODTransform_InvertShape;
typedef void   SOMLINK somTP_ODTransform_WriteTo(ODTransform *somSelf, Environment *ev,
		ODStorageUnit* storageUnit);
typedef somTP_ODTransform_WriteTo *somTD_ODTransform_WriteTo;
typedef void   SOMLINK somTP_ODTransform_ReadFrom(ODTransform *somSelf, Environment *ev,
		ODStorageUnit* storageUnit);
typedef somTP_ODTransform_ReadFrom *somTD_ODTransform_ReadFrom;
typedef void   SOMLINK somTP_ODTransform_somUninit(ODTransform *somSelf);
typedef somTP_ODTransform_somUninit *somTD_ODTransform_somUninit;
typedef ODSize   SOMLINK somTP_ODTransform_Purge(ODTransform *somSelf, Environment *ev,
		ODSize size);
typedef somTP_ODTransform_Purge *somTD_ODTransform_Purge;
typedef void   SOMLINK somTP_ODTransform_Release(ODTransform *somSelf, Environment *ev);
typedef somTP_ODTransform_Release *somTD_ODTransform_Release;
typedef void   SOMLINK somTP_ODTransform_InitRefCntObject(ODTransform *somSelf, Environment *ev);
typedef somTP_ODTransform_InitRefCntObject *somTD_ODTransform_InitRefCntObject;
typedef void   SOMLINK somTP_ODTransform_Acquire(ODTransform *somSelf, Environment *ev);
typedef somTP_ODTransform_Acquire *somTD_ODTransform_Acquire;
typedef ODULong   SOMLINK somTP_ODTransform_GetRefCount(ODTransform *somSelf, Environment *ev);
typedef somTP_ODTransform_GetRefCount *somTD_ODTransform_GetRefCount;
typedef void   SOMLINK somTP_ODTransform_InitObject(ODTransform *somSelf, Environment *ev);
typedef somTP_ODTransform_InitObject *somTD_ODTransform_InitObject;
typedef ODBoolean   SOMLINK somTP_ODTransform_HasExtension(ODTransform *somSelf, Environment *ev,
		ODType extensionName);
typedef somTP_ODTransform_HasExtension *somTD_ODTransform_HasExtension;
typedef ODExtension*   SOMLINK somTP_ODTransform_AcquireExtension(ODTransform *somSelf, Environment *ev,
		ODType extensionName);
typedef somTP_ODTransform_AcquireExtension *somTD_ODTransform_AcquireExtension;
typedef void   SOMLINK somTP_ODTransform_ReleaseExtension(ODTransform *somSelf, Environment *ev,
		ODExtension* extension);
typedef somTP_ODTransform_ReleaseExtension *somTD_ODTransform_ReleaseExtension;
typedef ODBoolean   SOMLINK somTP_ODTransform_IsEqualTo(ODTransform *somSelf, Environment *ev,
		ODObject* object);
typedef somTP_ODTransform_IsEqualTo *somTD_ODTransform_IsEqualTo;
typedef void   SOMLINK somTP_ODTransform_SubClassResponsibility(ODTransform *somSelf, Environment *ev);
typedef somTP_ODTransform_SubClassResponsibility *somTD_ODTransform_SubClassResponsibility;
typedef void   SOMLINK somTP_ODTransform_somInit(ODTransform *somSelf);
typedef somTP_ODTransform_somInit *somTD_ODTransform_somInit;
typedef void   SOMLINK somTP_ODTransform_somDefaultInit(ODTransform *somSelf,
		somInitCtrl* ctrl);
typedef somTP_ODTransform_somDefaultInit *somTD_ODTransform_somDefaultInit;
typedef void   SOMLINK somTP_ODTransform_somDestruct(ODTransform *somSelf,
		octet doFree,
		somDestructCtrl* ctrl);
typedef somTP_ODTransform_somDestruct *somTD_ODTransform_somDestruct;
typedef void   SOMLINK somTP_ODTransform_somDefaultCopyInit(ODTransform *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODTransform_somDefaultCopyInit *somTD_ODTransform_somDefaultCopyInit;
typedef ODTransform*   SOMLINK somTP_ODTransform_somDefaultAssign(ODTransform *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODTransform_somDefaultAssign *somTD_ODTransform_somDefaultAssign;
typedef void   SOMLINK somTP_ODTransform_somDefaultConstCopyInit(ODTransform *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODTransform_somDefaultConstCopyInit *somTD_ODTransform_somDefaultConstCopyInit;
typedef void   SOMLINK somTP_ODTransform_somDefaultVCopyInit(ODTransform *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODTransform_somDefaultVCopyInit *somTD_ODTransform_somDefaultVCopyInit;
typedef void   SOMLINK somTP_ODTransform_somDefaultConstVCopyInit(ODTransform *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODTransform_somDefaultConstVCopyInit *somTD_ODTransform_somDefaultConstVCopyInit;
typedef ODTransform*   SOMLINK somTP_ODTransform_somDefaultConstAssign(ODTransform *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODTransform_somDefaultConstAssign *somTD_ODTransform_somDefaultConstAssign;
typedef ODTransform*   SOMLINK somTP_ODTransform_somDefaultVAssign(ODTransform *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODTransform_somDefaultVAssign *somTD_ODTransform_somDefaultVAssign;
typedef ODTransform*   SOMLINK somTP_ODTransform_somDefaultConstVAssign(ODTransform *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODTransform_somDefaultConstVAssign *somTD_ODTransform_somDefaultConstVAssign;
typedef void   SOMLINK somTP_ODTransform_somFree(ODTransform *somSelf);
typedef somTP_ODTransform_somFree *somTD_ODTransform_somFree;
typedef SOMClass*   SOMLINK somTP_ODTransform_somGetClass(ODTransform *somSelf);
typedef somTP_ODTransform_somGetClass *somTD_ODTransform_somGetClass;
typedef string   SOMLINK somTP_ODTransform_somGetClassName(ODTransform *somSelf);
typedef somTP_ODTransform_somGetClassName *somTD_ODTransform_somGetClassName;
typedef long   SOMLINK somTP_ODTransform_somGetSize(ODTransform *somSelf);
typedef somTP_ODTransform_somGetSize *somTD_ODTransform_somGetSize;
typedef boolean   SOMLINK somTP_ODTransform_somIsA(ODTransform *somSelf,
		SOMClass* aClassObj);
typedef somTP_ODTransform_somIsA *somTD_ODTransform_somIsA;
typedef boolean   SOMLINK somTP_ODTransform_somIsInstanceOf(ODTransform *somSelf,
		SOMClass* aClassObj);
typedef somTP_ODTransform_somIsInstanceOf *somTD_ODTransform_somIsInstanceOf;
typedef boolean   SOMLINK somTP_ODTransform_somRespondsTo(ODTransform *somSelf,
		somId mId);
typedef somTP_ODTransform_somRespondsTo *somTD_ODTransform_somRespondsTo;
typedef boolean   SOMLINK somTP_ODTransform_somDispatch(ODTransform *somSelf,
		somToken* retValue,
		somId methodId,
		va_list ap);
typedef somTP_ODTransform_somDispatch *somTD_ODTransform_somDispatch;
typedef boolean   SOMLINK somTP_ODTransform_somClassDispatch(ODTransform *somSelf,
		SOMClass* clsObj,
		somToken* retValue,
		somId methodId,
		va_list ap);
typedef somTP_ODTransform_somClassDispatch *somTD_ODTransform_somClassDispatch;
typedef boolean   SOMLINK somTP_ODTransform_somCastObj(ODTransform *somSelf,
		SOMClass* cls);
typedef somTP_ODTransform_somCastObj *somTD_ODTransform_somCastObj;
typedef boolean   SOMLINK somTP_ODTransform_somResetObj(ODTransform *somSelf);
typedef somTP_ODTransform_somResetObj *somTD_ODTransform_somResetObj;
typedef SOMObject*   SOMLINK somTP_ODTransform_somPrintSelf(ODTransform *somSelf);
typedef somTP_ODTransform_somPrintSelf *somTD_ODTransform_somPrintSelf;
typedef void   SOMLINK somTP_ODTransform_somDumpSelf(ODTransform *somSelf,
		long level);
typedef somTP_ODTransform_somDumpSelf *somTD_ODTransform_somDumpSelf;
typedef void   SOMLINK somTP_ODTransform_somDumpSelfInt(ODTransform *somSelf,
		long level);
typedef somTP_ODTransform_somDumpSelfInt *somTD_ODTransform_somDumpSelfInt;
}

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

// ODTransform::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 (!_ODTransform) ODTransformNewClass(ODTransform_MajorVersion,ODTransform_MinorVersion);
   return (void*)
      SOM_Resolve(_ODTransform,SOMClass,somNewNoInit)
         ((SOMClass *)((void*)_ODTransform));
}

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

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

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

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


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


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


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


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


/* method: TransformPoints */
void   TransformPoints(Environment *ev,
		ODByteArray* points,
		ODULong npoints)
{
   SOM_ResolveD(this,ODTransform,ODTransform,TransformPoints)
	(this, ev,points,npoints);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/*
 * Reintroduce inherited methods
 */

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


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


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


/* method: GetOffset */
void   GetOffset(Environment *ev,
		ODPoint* offset)
{
   SOM_ResolveD(this,ODTransform,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,ODTransform,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,ODTransform,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,ODTransform,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,ODTransform,ODBaseTransform,HasMatrix)
	(this, ev);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODTransform,ODBaseTransform,HasMatrix)
	(this, ev);
#endif
}


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


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


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


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


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


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


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


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


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


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


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


/* method: TransformPoint */
void   TransformPoint(Environment *ev,
		ODPoint* point)
{
   SOM_ResolveD(this,ODTransform,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,ODTransform,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,ODTransform,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,ODTransform,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,ODTransform,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,ODTransform,ODBaseTransform,ReadFrom)
	(this, ev,storageUnit);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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



};   /* ODTransform */



#endif       /* SOM_ODTransform_xh */
