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

#ifndef SOM_ODClipboard_xh
#define SOM_ODClipboard_xh

class ODClipboard;

#define ODClipboard_MajorVersion 1
#define ODClipboard_MinorVersion 0

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

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

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

/*
 * Start of user-defined types:
 */
class SOMClass;
class SOMObject;
class ODFrame;
class ODFacet;
class ODPlatformCanvas;
class ODObject;
class ODExtension;
class ODClipboard;
class ODStorageUnit;
class ODDraft;
class ODPlatformTypeList;
class ODTypeList;

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

/* A procedure to create the ODClipboard Class */
SOMEXTERN
#if (defined(SOM_Module_Clipbd_Source) || defined(ODClipboard_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODClipboard))
WIN32_DLLEXPORT
#else
WIN32_DLLIMPORT
#endif
SOMClass * SOMLINK ODClipboardNewClass(
		integer4,
		integer4 );

/* The API to the ODClipboard class object, and the methods it introduces. */
SOMEXTERN struct ODClipboardClassDataStructure {
	SOMClass *classObject;
	somMToken GetUpdateID;
	somMToken Clear;
	somMToken GetContentStorageUnit;
	somMToken ActionDone;
	somMToken ActionUndone;
	somMToken ActionRedone;
	somMToken SetPlatformClipboard;
	somMToken ExportClipboard;
	somMToken DraftSaved;
	somMToken DraftClosing;
	somMToken ShowPasteAsDialog;
	somMToken PlatformClipboardHasType;
	somMToken ClipboardChanged;
	somMToken CanEmbed;
	somMToken ReservedA;
	somMToken ReservedB;
	somMToken reserved1;
	somMToken reserved2;
	somMToken reserved3;
	somMToken reserved4;
	somMToken reserved5;
	somMToken reserved6;
	somMToken reserved7;
	somMToken reserved8;
	somMToken reserved9;
	somMToken reserved10;
}
#if !(defined(SOM_Module_Clipbd_Source) || defined(ODClipboard_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODClipboard))
WIN32_DLLIMPORT
#elif defined(_MSC_VER)||defined(_WIN32_DECL_PROTO)
WIN32_DLLEXPORT
#endif
SOMDLINK ODClipboardClassData;
#define _ODClipboard ODClipboardClassData.classObject

/* The API to parentMtabs for ODClipboard, and the instance data it introduces. */
SOMEXTERN struct ODClipboardCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken              instanceDataToken;
}
#if !(defined(SOM_Module_Clipbd_Source) || defined(ODClipboard_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODClipboard))
WIN32_DLLIMPORT
#elif defined(_MSC_VER)||defined(_WIN32_DECL_PROTO)
WIN32_DLLEXPORT
#endif
SOMDLINK ODClipboardCClassData;

/*
 * -- Typedefs for ODClipboard Method Procedures
 */
extern "C" {
typedef ODUpdateID   SOMLINK somTP_ODClipboard_GetUpdateID(ODClipboard *somSelf, Environment *ev);
typedef somTP_ODClipboard_GetUpdateID *somTD_ODClipboard_GetUpdateID;
typedef void   SOMLINK somTP_ODClipboard_Clear(ODClipboard *somSelf, Environment *ev);
typedef somTP_ODClipboard_Clear *somTD_ODClipboard_Clear;
typedef ODStorageUnit*   SOMLINK somTP_ODClipboard_GetContentStorageUnit(ODClipboard *somSelf, Environment *ev);
typedef somTP_ODClipboard_GetContentStorageUnit *somTD_ODClipboard_GetContentStorageUnit;
typedef ODUpdateID   SOMLINK somTP_ODClipboard_ActionDone(ODClipboard *somSelf, Environment *ev,
		ODCloneKind cloneKind);
typedef somTP_ODClipboard_ActionDone *somTD_ODClipboard_ActionDone;
typedef void   SOMLINK somTP_ODClipboard_ActionUndone(ODClipboard *somSelf, Environment *ev,
		ODUpdateID update,
		ODCloneKind originalCloneKind);
typedef somTP_ODClipboard_ActionUndone *somTD_ODClipboard_ActionUndone;
typedef void   SOMLINK somTP_ODClipboard_ActionRedone(ODClipboard *somSelf, Environment *ev,
		ODUpdateID update,
		ODCloneKind originalCloneKind);
typedef somTP_ODClipboard_ActionRedone *somTD_ODClipboard_ActionRedone;
typedef void   SOMLINK somTP_ODClipboard_SetPlatformClipboard(ODClipboard *somSelf, Environment *ev,
		ODPlatformTypeList* typeList);
typedef somTP_ODClipboard_SetPlatformClipboard *somTD_ODClipboard_SetPlatformClipboard;
typedef void   SOMLINK somTP_ODClipboard_ExportClipboard(ODClipboard *somSelf, Environment *ev);
typedef somTP_ODClipboard_ExportClipboard *somTD_ODClipboard_ExportClipboard;
typedef void   SOMLINK somTP_ODClipboard_DraftSaved(ODClipboard *somSelf, Environment *ev,
		ODDraft* draft);
typedef somTP_ODClipboard_DraftSaved *somTD_ODClipboard_DraftSaved;
typedef void   SOMLINK somTP_ODClipboard_DraftClosing(ODClipboard *somSelf, Environment *ev,
		ODDraft* draft);
typedef somTP_ODClipboard_DraftClosing *somTD_ODClipboard_DraftClosing;
typedef ODBoolean   SOMLINK somTP_ODClipboard_CanEmbed(ODClipboard *somSelf, Environment *ev);
typedef somTP_ODClipboard_CanEmbed *somTD_ODClipboard_CanEmbed;
typedef ODBoolean   SOMLINK somTP_ODClipboard_ShowPasteAsDialog(ODClipboard *somSelf, Environment *ev,
		ODBoolean canPasteLink,
		ODPasteAsMergeSetting mergeSetting,
		ODFacet* facet,
		ODTypeToken viewType,
		ODPasteAsResult* theResult);
typedef somTP_ODClipboard_ShowPasteAsDialog *somTD_ODClipboard_ShowPasteAsDialog;

/*
 * -- Typedefs for Reintroduced Wrapper Methods
 */
typedef void   SOMLINK somTP_ODClipboard_InitObject(ODClipboard *somSelf, Environment *ev);
typedef somTP_ODClipboard_InitObject *somTD_ODClipboard_InitObject;
typedef ODBoolean   SOMLINK somTP_ODClipboard_HasExtension(ODClipboard *somSelf, Environment *ev,
		ODType extensionName);
typedef somTP_ODClipboard_HasExtension *somTD_ODClipboard_HasExtension;
typedef ODExtension*   SOMLINK somTP_ODClipboard_AcquireExtension(ODClipboard *somSelf, Environment *ev,
		ODType extensionName);
typedef somTP_ODClipboard_AcquireExtension *somTD_ODClipboard_AcquireExtension;
typedef void   SOMLINK somTP_ODClipboard_ReleaseExtension(ODClipboard *somSelf, Environment *ev,
		ODExtension* extension);
typedef somTP_ODClipboard_ReleaseExtension *somTD_ODClipboard_ReleaseExtension;
typedef ODSize   SOMLINK somTP_ODClipboard_Purge(ODClipboard *somSelf, Environment *ev,
		ODSize size);
typedef somTP_ODClipboard_Purge *somTD_ODClipboard_Purge;
typedef ODBoolean   SOMLINK somTP_ODClipboard_IsEqualTo(ODClipboard *somSelf, Environment *ev,
		ODObject* object);
typedef somTP_ODClipboard_IsEqualTo *somTD_ODClipboard_IsEqualTo;
typedef void   SOMLINK somTP_ODClipboard_SubClassResponsibility(ODClipboard *somSelf, Environment *ev);
typedef somTP_ODClipboard_SubClassResponsibility *somTD_ODClipboard_SubClassResponsibility;
typedef void   SOMLINK somTP_ODClipboard_somInit(ODClipboard *somSelf);
typedef somTP_ODClipboard_somInit *somTD_ODClipboard_somInit;
typedef void   SOMLINK somTP_ODClipboard_somUninit(ODClipboard *somSelf);
typedef somTP_ODClipboard_somUninit *somTD_ODClipboard_somUninit;
typedef void   SOMLINK somTP_ODClipboard_somDefaultInit(ODClipboard *somSelf,
		somInitCtrl* ctrl);
typedef somTP_ODClipboard_somDefaultInit *somTD_ODClipboard_somDefaultInit;
typedef void   SOMLINK somTP_ODClipboard_somDestruct(ODClipboard *somSelf,
		octet doFree,
		somDestructCtrl* ctrl);
typedef somTP_ODClipboard_somDestruct *somTD_ODClipboard_somDestruct;
typedef void   SOMLINK somTP_ODClipboard_somDefaultCopyInit(ODClipboard *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODClipboard_somDefaultCopyInit *somTD_ODClipboard_somDefaultCopyInit;
typedef ODClipboard*   SOMLINK somTP_ODClipboard_somDefaultAssign(ODClipboard *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODClipboard_somDefaultAssign *somTD_ODClipboard_somDefaultAssign;
typedef void   SOMLINK somTP_ODClipboard_somDefaultConstCopyInit(ODClipboard *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODClipboard_somDefaultConstCopyInit *somTD_ODClipboard_somDefaultConstCopyInit;
typedef void   SOMLINK somTP_ODClipboard_somDefaultVCopyInit(ODClipboard *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODClipboard_somDefaultVCopyInit *somTD_ODClipboard_somDefaultVCopyInit;
typedef void   SOMLINK somTP_ODClipboard_somDefaultConstVCopyInit(ODClipboard *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODClipboard_somDefaultConstVCopyInit *somTD_ODClipboard_somDefaultConstVCopyInit;
typedef ODClipboard*   SOMLINK somTP_ODClipboard_somDefaultConstAssign(ODClipboard *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODClipboard_somDefaultConstAssign *somTD_ODClipboard_somDefaultConstAssign;
typedef ODClipboard*   SOMLINK somTP_ODClipboard_somDefaultVAssign(ODClipboard *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODClipboard_somDefaultVAssign *somTD_ODClipboard_somDefaultVAssign;
typedef ODClipboard*   SOMLINK somTP_ODClipboard_somDefaultConstVAssign(ODClipboard *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODClipboard_somDefaultConstVAssign *somTD_ODClipboard_somDefaultConstVAssign;
typedef void   SOMLINK somTP_ODClipboard_somFree(ODClipboard *somSelf);
typedef somTP_ODClipboard_somFree *somTD_ODClipboard_somFree;
typedef SOMClass*   SOMLINK somTP_ODClipboard_somGetClass(ODClipboard *somSelf);
typedef somTP_ODClipboard_somGetClass *somTD_ODClipboard_somGetClass;
typedef string   SOMLINK somTP_ODClipboard_somGetClassName(ODClipboard *somSelf);
typedef somTP_ODClipboard_somGetClassName *somTD_ODClipboard_somGetClassName;
typedef long   SOMLINK somTP_ODClipboard_somGetSize(ODClipboard *somSelf);
typedef somTP_ODClipboard_somGetSize *somTD_ODClipboard_somGetSize;
typedef boolean   SOMLINK somTP_ODClipboard_somIsA(ODClipboard *somSelf,
		SOMClass* aClassObj);
typedef somTP_ODClipboard_somIsA *somTD_ODClipboard_somIsA;
typedef boolean   SOMLINK somTP_ODClipboard_somIsInstanceOf(ODClipboard *somSelf,
		SOMClass* aClassObj);
typedef somTP_ODClipboard_somIsInstanceOf *somTD_ODClipboard_somIsInstanceOf;
typedef boolean   SOMLINK somTP_ODClipboard_somRespondsTo(ODClipboard *somSelf,
		somId mId);
typedef somTP_ODClipboard_somRespondsTo *somTD_ODClipboard_somRespondsTo;
typedef boolean   SOMLINK somTP_ODClipboard_somDispatch(ODClipboard *somSelf,
		somToken* retValue,
		somId methodId,
		va_list ap);
typedef somTP_ODClipboard_somDispatch *somTD_ODClipboard_somDispatch;
typedef boolean   SOMLINK somTP_ODClipboard_somClassDispatch(ODClipboard *somSelf,
		SOMClass* clsObj,
		somToken* retValue,
		somId methodId,
		va_list ap);
typedef somTP_ODClipboard_somClassDispatch *somTD_ODClipboard_somClassDispatch;
typedef boolean   SOMLINK somTP_ODClipboard_somCastObj(ODClipboard *somSelf,
		SOMClass* cls);
typedef somTP_ODClipboard_somCastObj *somTD_ODClipboard_somCastObj;
typedef boolean   SOMLINK somTP_ODClipboard_somResetObj(ODClipboard *somSelf);
typedef somTP_ODClipboard_somResetObj *somTD_ODClipboard_somResetObj;
typedef SOMObject*   SOMLINK somTP_ODClipboard_somPrintSelf(ODClipboard *somSelf);
typedef somTP_ODClipboard_somPrintSelf *somTD_ODClipboard_somPrintSelf;
typedef void   SOMLINK somTP_ODClipboard_somDumpSelf(ODClipboard *somSelf,
		long level);
typedef somTP_ODClipboard_somDumpSelf *somTD_ODClipboard_somDumpSelf;
typedef void   SOMLINK somTP_ODClipboard_somDumpSelfInt(ODClipboard *somSelf,
		long level);
typedef somTP_ODClipboard_somDumpSelfInt *somTD_ODClipboard_somDumpSelfInt;
}

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

// ODClipboard::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 (!_ODClipboard) ODClipboardNewClass(ODClipboard_MajorVersion,ODClipboard_MinorVersion);
   return (void*)
      SOM_Resolve(_ODClipboard,SOMClass,somNewNoInit)
         ((SOMClass *)((void*)_ODClipboard));
}

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

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

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

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


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


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


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


/* method: ActionDone */
ODUpdateID   ActionDone(Environment *ev,
		ODCloneKind cloneKind)
{
#ifdef SOMCHKEXCEPT
   ODUpdateID __somResult = 
      SOM_ResolveD(this,ODClipboard,ODClipboard,ActionDone)
	(this, ev,cloneKind);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODClipboard,ODClipboard,ActionDone)
	(this, ev,cloneKind);
#endif
}


/* method: ActionUndone */
void   ActionUndone(Environment *ev,
		ODUpdateID update,
		ODCloneKind originalCloneKind)
{
   SOM_ResolveD(this,ODClipboard,ODClipboard,ActionUndone)
	(this, ev,update,originalCloneKind);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/* method: ActionRedone */
void   ActionRedone(Environment *ev,
		ODUpdateID update,
		ODCloneKind originalCloneKind)
{
   SOM_ResolveD(this,ODClipboard,ODClipboard,ActionRedone)
	(this, ev,update,originalCloneKind);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


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


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


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


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


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


/* method: ShowPasteAsDialog */
ODBoolean   ShowPasteAsDialog(Environment *ev,
		ODBoolean canPasteLink,
		ODPasteAsMergeSetting mergeSetting,
		ODFacet* facet,
		ODTypeToken viewType,
		ODPasteAsResult* theResult)
{
#ifdef SOMCHKEXCEPT
   ODBoolean __somResult = 
      SOM_ResolveD(this,ODClipboard,ODClipboard,ShowPasteAsDialog)
	(this, ev,canPasteLink,mergeSetting,facet,viewType,theResult);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODClipboard,ODClipboard,ShowPasteAsDialog)
	(this, ev,canPasteLink,mergeSetting,facet,viewType,theResult);
#endif
}


/*
 * Reintroduce inherited methods
 */

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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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



};   /* ODClipboard */



#endif       /* SOM_ODClipboard_xh */
