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

#ifndef SOM_ODBaseCanvas_xh
#define SOM_ODBaseCanvas_xh

class ODBaseCanvas;

#define ODBaseCanvas_MajorVersion 1
#define ODBaseCanvas_MinorVersion 0

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

/* C++ parent defs */
#ifndef SOM_ODObject_xh
#include <ODObject.xh>
#endif

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

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

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

/* A procedure to create the ODBaseCanvas Class */
SOMEXTERN
#if (defined(SOM_Module_CanvasB_Source) || defined(ODBaseCanvas_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODBaseCanvas))
WIN32_DLLEXPORT
#else
WIN32_DLLIMPORT
#endif
SOMClass * SOMLINK ODBaseCanvasNewClass(
		integer4,
		integer4 );

/* The API to the ODBaseCanvas class object, and the methods it introduces. */
SOMEXTERN struct ODBaseCanvasClassDataStructure {
	SOMClass *classObject;
	somMToken HasPlatformCanvas;
	somMToken GetPlatformCanvas;
	somMToken SetPlatformCanvas;
	somMToken HasPlatformPrintJob;
	somMToken GetPlatformPrintJob;
	somMToken SetPlatformPrintJob;
	somMToken AcquireOwner;
	somMToken SetOwner;
	somMToken GetFacet;
	somMToken SetFacet;
	somMToken IsDynamic;
	somMToken IsOffscreen;
	somMToken AcquireUpdateShape;
	somMToken ResetUpdateShape;
	somMToken AcquireBiasTransform;
	somMToken SetBiasTransform;
	somMToken Invalidate;
	somMToken Validate;
	somMToken reserved1;
	somMToken reserved2;
}
#if !(defined(SOM_Module_CanvasB_Source) || defined(ODBaseCanvas_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODBaseCanvas))
WIN32_DLLIMPORT
#elif defined(_MSC_VER)||defined(_WIN32_DECL_PROTO)
WIN32_DLLEXPORT
#endif
SOMDLINK ODBaseCanvasClassData;
#define _ODBaseCanvas ODBaseCanvasClassData.classObject

/* The API to parentMtabs for ODBaseCanvas, and the instance data it introduces. */
SOMEXTERN struct ODBaseCanvasCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken              instanceDataToken;
}
#if !(defined(SOM_Module_CanvasB_Source) || defined(ODBaseCanvas_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODBaseCanvas))
WIN32_DLLIMPORT
#elif defined(_MSC_VER)||defined(_WIN32_DECL_PROTO)
WIN32_DLLEXPORT
#endif
SOMDLINK ODBaseCanvasCClassData;

/*
 * -- Typedefs for ODBaseCanvas Method Procedures
 */
extern "C" {
typedef ODBoolean   SOMLINK somTP_ODBaseCanvas_HasPlatformCanvas(ODBaseCanvas *somSelf, Environment *ev,
		ODGraphicsSystem g);
typedef somTP_ODBaseCanvas_HasPlatformCanvas *somTD_ODBaseCanvas_HasPlatformCanvas;
typedef ODPlatformCanvas*   SOMLINK somTP_ODBaseCanvas_GetPlatformCanvas(ODBaseCanvas *somSelf, Environment *ev,
		ODGraphicsSystem g);
typedef somTP_ODBaseCanvas_GetPlatformCanvas *somTD_ODBaseCanvas_GetPlatformCanvas;
typedef void   SOMLINK somTP_ODBaseCanvas_SetPlatformCanvas(ODBaseCanvas *somSelf, Environment *ev,
		ODGraphicsSystem g,
		ODPlatformCanvas* c);
typedef somTP_ODBaseCanvas_SetPlatformCanvas *somTD_ODBaseCanvas_SetPlatformCanvas;
typedef ODBoolean   SOMLINK somTP_ODBaseCanvas_HasPlatformPrintJob(ODBaseCanvas *somSelf, Environment *ev,
		ODGraphicsSystem g);
typedef somTP_ODBaseCanvas_HasPlatformPrintJob *somTD_ODBaseCanvas_HasPlatformPrintJob;
typedef ODPlatformPrintJob   SOMLINK somTP_ODBaseCanvas_GetPlatformPrintJob(ODBaseCanvas *somSelf, Environment *ev,
		ODGraphicsSystem g);
typedef somTP_ODBaseCanvas_GetPlatformPrintJob *somTD_ODBaseCanvas_GetPlatformPrintJob;
typedef void   SOMLINK somTP_ODBaseCanvas_SetPlatformPrintJob(ODBaseCanvas *somSelf, Environment *ev,
		ODGraphicsSystem g,
		ODPlatformPrintJob j);
typedef somTP_ODBaseCanvas_SetPlatformPrintJob *somTD_ODBaseCanvas_SetPlatformPrintJob;
typedef ODPart*   SOMLINK somTP_ODBaseCanvas_AcquireOwner(ODBaseCanvas *somSelf, Environment *ev);
typedef somTP_ODBaseCanvas_AcquireOwner *somTD_ODBaseCanvas_AcquireOwner;
typedef void   SOMLINK somTP_ODBaseCanvas_SetOwner(ODBaseCanvas *somSelf, Environment *ev,
		ODPart* owner);
typedef somTP_ODBaseCanvas_SetOwner *somTD_ODBaseCanvas_SetOwner;
typedef ODFacet*   SOMLINK somTP_ODBaseCanvas_GetFacet(ODBaseCanvas *somSelf, Environment *ev);
typedef somTP_ODBaseCanvas_GetFacet *somTD_ODBaseCanvas_GetFacet;
typedef void   SOMLINK somTP_ODBaseCanvas_SetFacet(ODBaseCanvas *somSelf, Environment *ev,
		ODFacet* facet);
typedef somTP_ODBaseCanvas_SetFacet *somTD_ODBaseCanvas_SetFacet;
typedef ODTransform*   SOMLINK somTP_ODBaseCanvas_AcquireBiasTransform(ODBaseCanvas *somSelf, Environment *ev);
typedef somTP_ODBaseCanvas_AcquireBiasTransform *somTD_ODBaseCanvas_AcquireBiasTransform;
typedef void   SOMLINK somTP_ODBaseCanvas_SetBiasTransform(ODBaseCanvas *somSelf, Environment *ev,
		ODTransform* x);
typedef somTP_ODBaseCanvas_SetBiasTransform *somTD_ODBaseCanvas_SetBiasTransform;
typedef ODBoolean   SOMLINK somTP_ODBaseCanvas_IsDynamic(ODBaseCanvas *somSelf, Environment *ev);
typedef somTP_ODBaseCanvas_IsDynamic *somTD_ODBaseCanvas_IsDynamic;
typedef ODBoolean   SOMLINK somTP_ODBaseCanvas_IsOffscreen(ODBaseCanvas *somSelf, Environment *ev);
typedef somTP_ODBaseCanvas_IsOffscreen *somTD_ODBaseCanvas_IsOffscreen;
typedef ODShape*   SOMLINK somTP_ODBaseCanvas_AcquireUpdateShape(ODBaseCanvas *somSelf, Environment *ev);
typedef somTP_ODBaseCanvas_AcquireUpdateShape *somTD_ODBaseCanvas_AcquireUpdateShape;
typedef void   SOMLINK somTP_ODBaseCanvas_ResetUpdateShape(ODBaseCanvas *somSelf, Environment *ev);
typedef somTP_ODBaseCanvas_ResetUpdateShape *somTD_ODBaseCanvas_ResetUpdateShape;
typedef void   SOMLINK somTP_ODBaseCanvas_Invalidate(ODBaseCanvas *somSelf, Environment *ev,
		ODShape* shape);
typedef somTP_ODBaseCanvas_Invalidate *somTD_ODBaseCanvas_Invalidate;
typedef void   SOMLINK somTP_ODBaseCanvas_Validate(ODBaseCanvas *somSelf, Environment *ev,
		ODShape* shape);
typedef somTP_ODBaseCanvas_Validate *somTD_ODBaseCanvas_Validate;

/*
 * -- Typedefs for Reintroduced Wrapper Methods
 */
typedef void   SOMLINK somTP_ODBaseCanvas_InitObject(ODBaseCanvas *somSelf, Environment *ev);
typedef somTP_ODBaseCanvas_InitObject *somTD_ODBaseCanvas_InitObject;
typedef ODBoolean   SOMLINK somTP_ODBaseCanvas_HasExtension(ODBaseCanvas *somSelf, Environment *ev,
		ODType extensionName);
typedef somTP_ODBaseCanvas_HasExtension *somTD_ODBaseCanvas_HasExtension;
typedef ODExtension*   SOMLINK somTP_ODBaseCanvas_AcquireExtension(ODBaseCanvas *somSelf, Environment *ev,
		ODType extensionName);
typedef somTP_ODBaseCanvas_AcquireExtension *somTD_ODBaseCanvas_AcquireExtension;
typedef void   SOMLINK somTP_ODBaseCanvas_ReleaseExtension(ODBaseCanvas *somSelf, Environment *ev,
		ODExtension* extension);
typedef somTP_ODBaseCanvas_ReleaseExtension *somTD_ODBaseCanvas_ReleaseExtension;
typedef ODSize   SOMLINK somTP_ODBaseCanvas_Purge(ODBaseCanvas *somSelf, Environment *ev,
		ODSize size);
typedef somTP_ODBaseCanvas_Purge *somTD_ODBaseCanvas_Purge;
typedef ODBoolean   SOMLINK somTP_ODBaseCanvas_IsEqualTo(ODBaseCanvas *somSelf, Environment *ev,
		ODObject* object);
typedef somTP_ODBaseCanvas_IsEqualTo *somTD_ODBaseCanvas_IsEqualTo;
typedef void   SOMLINK somTP_ODBaseCanvas_SubClassResponsibility(ODBaseCanvas *somSelf, Environment *ev);
typedef somTP_ODBaseCanvas_SubClassResponsibility *somTD_ODBaseCanvas_SubClassResponsibility;
typedef void   SOMLINK somTP_ODBaseCanvas_somInit(ODBaseCanvas *somSelf);
typedef somTP_ODBaseCanvas_somInit *somTD_ODBaseCanvas_somInit;
typedef void   SOMLINK somTP_ODBaseCanvas_somUninit(ODBaseCanvas *somSelf);
typedef somTP_ODBaseCanvas_somUninit *somTD_ODBaseCanvas_somUninit;
typedef void   SOMLINK somTP_ODBaseCanvas_somDefaultInit(ODBaseCanvas *somSelf,
		somInitCtrl* ctrl);
typedef somTP_ODBaseCanvas_somDefaultInit *somTD_ODBaseCanvas_somDefaultInit;
typedef void   SOMLINK somTP_ODBaseCanvas_somDestruct(ODBaseCanvas *somSelf,
		octet doFree,
		somDestructCtrl* ctrl);
typedef somTP_ODBaseCanvas_somDestruct *somTD_ODBaseCanvas_somDestruct;
typedef void   SOMLINK somTP_ODBaseCanvas_somDefaultCopyInit(ODBaseCanvas *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODBaseCanvas_somDefaultCopyInit *somTD_ODBaseCanvas_somDefaultCopyInit;
typedef ODBaseCanvas*   SOMLINK somTP_ODBaseCanvas_somDefaultAssign(ODBaseCanvas *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODBaseCanvas_somDefaultAssign *somTD_ODBaseCanvas_somDefaultAssign;
typedef void   SOMLINK somTP_ODBaseCanvas_somDefaultConstCopyInit(ODBaseCanvas *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODBaseCanvas_somDefaultConstCopyInit *somTD_ODBaseCanvas_somDefaultConstCopyInit;
typedef void   SOMLINK somTP_ODBaseCanvas_somDefaultVCopyInit(ODBaseCanvas *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODBaseCanvas_somDefaultVCopyInit *somTD_ODBaseCanvas_somDefaultVCopyInit;
typedef void   SOMLINK somTP_ODBaseCanvas_somDefaultConstVCopyInit(ODBaseCanvas *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODBaseCanvas_somDefaultConstVCopyInit *somTD_ODBaseCanvas_somDefaultConstVCopyInit;
typedef ODBaseCanvas*   SOMLINK somTP_ODBaseCanvas_somDefaultConstAssign(ODBaseCanvas *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODBaseCanvas_somDefaultConstAssign *somTD_ODBaseCanvas_somDefaultConstAssign;
typedef ODBaseCanvas*   SOMLINK somTP_ODBaseCanvas_somDefaultVAssign(ODBaseCanvas *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODBaseCanvas_somDefaultVAssign *somTD_ODBaseCanvas_somDefaultVAssign;
typedef ODBaseCanvas*   SOMLINK somTP_ODBaseCanvas_somDefaultConstVAssign(ODBaseCanvas *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODBaseCanvas_somDefaultConstVAssign *somTD_ODBaseCanvas_somDefaultConstVAssign;
typedef void   SOMLINK somTP_ODBaseCanvas_somFree(ODBaseCanvas *somSelf);
typedef somTP_ODBaseCanvas_somFree *somTD_ODBaseCanvas_somFree;
typedef SOMClass*   SOMLINK somTP_ODBaseCanvas_somGetClass(ODBaseCanvas *somSelf);
typedef somTP_ODBaseCanvas_somGetClass *somTD_ODBaseCanvas_somGetClass;
typedef string   SOMLINK somTP_ODBaseCanvas_somGetClassName(ODBaseCanvas *somSelf);
typedef somTP_ODBaseCanvas_somGetClassName *somTD_ODBaseCanvas_somGetClassName;
typedef long   SOMLINK somTP_ODBaseCanvas_somGetSize(ODBaseCanvas *somSelf);
typedef somTP_ODBaseCanvas_somGetSize *somTD_ODBaseCanvas_somGetSize;
typedef boolean   SOMLINK somTP_ODBaseCanvas_somIsA(ODBaseCanvas *somSelf,
		SOMClass* aClassObj);
typedef somTP_ODBaseCanvas_somIsA *somTD_ODBaseCanvas_somIsA;
typedef boolean   SOMLINK somTP_ODBaseCanvas_somIsInstanceOf(ODBaseCanvas *somSelf,
		SOMClass* aClassObj);
typedef somTP_ODBaseCanvas_somIsInstanceOf *somTD_ODBaseCanvas_somIsInstanceOf;
typedef boolean   SOMLINK somTP_ODBaseCanvas_somRespondsTo(ODBaseCanvas *somSelf,
		somId mId);
typedef somTP_ODBaseCanvas_somRespondsTo *somTD_ODBaseCanvas_somRespondsTo;
typedef boolean   SOMLINK somTP_ODBaseCanvas_somDispatch(ODBaseCanvas *somSelf,
		somToken* retValue,
		somId methodId,
		va_list ap);
typedef somTP_ODBaseCanvas_somDispatch *somTD_ODBaseCanvas_somDispatch;
typedef boolean   SOMLINK somTP_ODBaseCanvas_somClassDispatch(ODBaseCanvas *somSelf,
		SOMClass* clsObj,
		somToken* retValue,
		somId methodId,
		va_list ap);
typedef somTP_ODBaseCanvas_somClassDispatch *somTD_ODBaseCanvas_somClassDispatch;
typedef boolean   SOMLINK somTP_ODBaseCanvas_somCastObj(ODBaseCanvas *somSelf,
		SOMClass* cls);
typedef somTP_ODBaseCanvas_somCastObj *somTD_ODBaseCanvas_somCastObj;
typedef boolean   SOMLINK somTP_ODBaseCanvas_somResetObj(ODBaseCanvas *somSelf);
typedef somTP_ODBaseCanvas_somResetObj *somTD_ODBaseCanvas_somResetObj;
typedef SOMObject*   SOMLINK somTP_ODBaseCanvas_somPrintSelf(ODBaseCanvas *somSelf);
typedef somTP_ODBaseCanvas_somPrintSelf *somTD_ODBaseCanvas_somPrintSelf;
typedef void   SOMLINK somTP_ODBaseCanvas_somDumpSelf(ODBaseCanvas *somSelf,
		long level);
typedef somTP_ODBaseCanvas_somDumpSelf *somTD_ODBaseCanvas_somDumpSelf;
typedef void   SOMLINK somTP_ODBaseCanvas_somDumpSelfInt(ODBaseCanvas *somSelf,
		long level);
typedef somTP_ODBaseCanvas_somDumpSelfInt *somTD_ODBaseCanvas_somDumpSelfInt;
}

#endif /* ODBaseCanvas_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 ODBaseCanvas
 */
class ODBaseCanvas : public ODObject
{
public:

// ODBaseCanvas::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 (!_ODBaseCanvas) ODBaseCanvasNewClass(ODBaseCanvas_MajorVersion,ODBaseCanvas_MinorVersion);
   return (void*)
      SOM_Resolve(_ODBaseCanvas,SOMClass,somNewNoInit)
         ((SOMClass *)((void*)_ODBaseCanvas));
}

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

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

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

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


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


/* method: GetPlatformCanvas */
ODPlatformCanvas*   GetPlatformCanvas(Environment *ev,
		ODGraphicsSystem g)
{
#ifdef SOMCHKEXCEPT
   ODPlatformCanvas* __somResult = 
      SOM_ResolveD(this,ODBaseCanvas,ODBaseCanvas,GetPlatformCanvas)
	(this, ev,g);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODBaseCanvas,ODBaseCanvas,GetPlatformCanvas)
	(this, ev,g);
#endif
}


/* method: SetPlatformCanvas */
void   SetPlatformCanvas(Environment *ev,
		ODGraphicsSystem g,
		ODPlatformCanvas* c)
{
   SOM_ResolveD(this,ODBaseCanvas,ODBaseCanvas,SetPlatformCanvas)
	(this, ev,g,c);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


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


/* method: GetPlatformPrintJob */
ODPlatformPrintJob   GetPlatformPrintJob(Environment *ev,
		ODGraphicsSystem g)
{
#ifdef SOMCHKEXCEPT
   ODPlatformPrintJob __somResult = 
      SOM_ResolveD(this,ODBaseCanvas,ODBaseCanvas,GetPlatformPrintJob)
	(this, ev,g);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODBaseCanvas,ODBaseCanvas,GetPlatformPrintJob)
	(this, ev,g);
#endif
}


/* method: SetPlatformPrintJob */
void   SetPlatformPrintJob(Environment *ev,
		ODGraphicsSystem g,
		ODPlatformPrintJob j)
{
   SOM_ResolveD(this,ODBaseCanvas,ODBaseCanvas,SetPlatformPrintJob)
	(this, ev,g,j);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


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


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


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


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


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


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


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


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


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


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


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


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


/*
 * Reintroduce inherited methods
 */

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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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



};   /* ODBaseCanvas */



#endif       /* SOM_ODBaseCanvas_xh */
