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

#ifndef SOM_ODUndo_xh
#define SOM_ODUndo_xh

class ODUndo;

#define ODUndo_MajorVersion 1
#define ODUndo_MinorVersion 0

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

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

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

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

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

/* A procedure to create the ODUndo Class */
SOMEXTERN
#if (defined(SOM_Module_Undo_Source) || defined(ODUndo_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODUndo))
WIN32_DLLEXPORT
#else
WIN32_DLLIMPORT
#endif
SOMClass * SOMLINK ODUndoNewClass(
		integer4,
		integer4 );

/* The API to the ODUndo class object, and the methods it introduces. */
SOMEXTERN struct ODUndoClassDataStructure {
	SOMClass *classObject;
	somMToken InitUndo;
	somMToken AddActionToHistory;
	somMToken Undo;
	somMToken Redo;
	somMToken MarkActionHistory;
	somMToken ClearActionHistory;
	somMToken ClearRedoHistory;
	somMToken PeekUndoHistory;
	somMToken PeekRedoHistory;
	somMToken AbortCurrentTransaction;
}
#if !(defined(SOM_Module_Undo_Source) || defined(ODUndo_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODUndo))
WIN32_DLLIMPORT
#elif defined(_MSC_VER)||defined(_WIN32_DECL_PROTO)
WIN32_DLLEXPORT
#endif
SOMDLINK ODUndoClassData;
#define _ODUndo ODUndoClassData.classObject

/* The API to parentMtabs for ODUndo, and the instance data it introduces. */
SOMEXTERN struct ODUndoCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken              instanceDataToken;
}
#if !(defined(SOM_Module_Undo_Source) || defined(ODUndo_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODUndo))
WIN32_DLLIMPORT
#elif defined(_MSC_VER)||defined(_WIN32_DECL_PROTO)
WIN32_DLLEXPORT
#endif
SOMDLINK ODUndoCClassData;

/*
 * -- Typedefs for ODUndo Method Procedures
 */
extern "C" {
typedef void   SOMLINK somTP_ODUndo_AddActionToHistory(ODUndo *somSelf, Environment *ev,
		ODPart* whichPart,
		ODActionData* actionData,
		ODActionType actionType,
		ODName* undoActionLabel,
		ODName* redoActionLabel);
typedef somTP_ODUndo_AddActionToHistory *somTD_ODUndo_AddActionToHistory;
typedef void   SOMLINK somTP_ODUndo_Undo(ODUndo *somSelf, Environment *ev);
typedef somTP_ODUndo_Undo *somTD_ODUndo_Undo;
typedef void   SOMLINK somTP_ODUndo_Redo(ODUndo *somSelf, Environment *ev);
typedef somTP_ODUndo_Redo *somTD_ODUndo_Redo;
typedef void   SOMLINK somTP_ODUndo_MarkActionHistory(ODUndo *somSelf, Environment *ev);
typedef somTP_ODUndo_MarkActionHistory *somTD_ODUndo_MarkActionHistory;
typedef void   SOMLINK somTP_ODUndo_ClearActionHistory(ODUndo *somSelf, Environment *ev,
		ODRespectMarksChoices respectMarks);
typedef somTP_ODUndo_ClearActionHistory *somTD_ODUndo_ClearActionHistory;
typedef void   SOMLINK somTP_ODUndo_ClearRedoHistory(ODUndo *somSelf, Environment *ev);
typedef somTP_ODUndo_ClearRedoHistory *somTD_ODUndo_ClearRedoHistory;
typedef ODBoolean   SOMLINK somTP_ODUndo_PeekUndoHistory(ODUndo *somSelf, Environment *ev,
		ODPart** part,
		ODActionData* actionData,
		ODActionType* actionType,
		ODName* actionLabel);
typedef somTP_ODUndo_PeekUndoHistory *somTD_ODUndo_PeekUndoHistory;
typedef ODBoolean   SOMLINK somTP_ODUndo_PeekRedoHistory(ODUndo *somSelf, Environment *ev,
		ODPart** part,
		ODActionData* actionData,
		ODActionType* actionType,
		ODName* actionLabel);
typedef somTP_ODUndo_PeekRedoHistory *somTD_ODUndo_PeekRedoHistory;
typedef void   SOMLINK somTP_ODUndo_AbortCurrentTransaction(ODUndo *somSelf, Environment *ev);
typedef somTP_ODUndo_AbortCurrentTransaction *somTD_ODUndo_AbortCurrentTransaction;

/*
 * -- Typedefs for Reintroduced Wrapper Methods
 */
typedef void   SOMLINK somTP_ODUndo_InitObject(ODUndo *somSelf, Environment *ev);
typedef somTP_ODUndo_InitObject *somTD_ODUndo_InitObject;
typedef ODBoolean   SOMLINK somTP_ODUndo_HasExtension(ODUndo *somSelf, Environment *ev,
		ODType extensionName);
typedef somTP_ODUndo_HasExtension *somTD_ODUndo_HasExtension;
typedef ODExtension*   SOMLINK somTP_ODUndo_AcquireExtension(ODUndo *somSelf, Environment *ev,
		ODType extensionName);
typedef somTP_ODUndo_AcquireExtension *somTD_ODUndo_AcquireExtension;
typedef void   SOMLINK somTP_ODUndo_ReleaseExtension(ODUndo *somSelf, Environment *ev,
		ODExtension* extension);
typedef somTP_ODUndo_ReleaseExtension *somTD_ODUndo_ReleaseExtension;
typedef ODSize   SOMLINK somTP_ODUndo_Purge(ODUndo *somSelf, Environment *ev,
		ODSize size);
typedef somTP_ODUndo_Purge *somTD_ODUndo_Purge;
typedef ODBoolean   SOMLINK somTP_ODUndo_IsEqualTo(ODUndo *somSelf, Environment *ev,
		ODObject* object);
typedef somTP_ODUndo_IsEqualTo *somTD_ODUndo_IsEqualTo;
typedef void   SOMLINK somTP_ODUndo_SubClassResponsibility(ODUndo *somSelf, Environment *ev);
typedef somTP_ODUndo_SubClassResponsibility *somTD_ODUndo_SubClassResponsibility;
typedef void   SOMLINK somTP_ODUndo_somInit(ODUndo *somSelf);
typedef somTP_ODUndo_somInit *somTD_ODUndo_somInit;
typedef void   SOMLINK somTP_ODUndo_somUninit(ODUndo *somSelf);
typedef somTP_ODUndo_somUninit *somTD_ODUndo_somUninit;
typedef void   SOMLINK somTP_ODUndo_somDefaultInit(ODUndo *somSelf,
		somInitCtrl* ctrl);
typedef somTP_ODUndo_somDefaultInit *somTD_ODUndo_somDefaultInit;
typedef void   SOMLINK somTP_ODUndo_somDestruct(ODUndo *somSelf,
		octet doFree,
		somDestructCtrl* ctrl);
typedef somTP_ODUndo_somDestruct *somTD_ODUndo_somDestruct;
typedef void   SOMLINK somTP_ODUndo_somDefaultCopyInit(ODUndo *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODUndo_somDefaultCopyInit *somTD_ODUndo_somDefaultCopyInit;
typedef ODUndo*   SOMLINK somTP_ODUndo_somDefaultAssign(ODUndo *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODUndo_somDefaultAssign *somTD_ODUndo_somDefaultAssign;
typedef void   SOMLINK somTP_ODUndo_somDefaultConstCopyInit(ODUndo *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODUndo_somDefaultConstCopyInit *somTD_ODUndo_somDefaultConstCopyInit;
typedef void   SOMLINK somTP_ODUndo_somDefaultVCopyInit(ODUndo *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODUndo_somDefaultVCopyInit *somTD_ODUndo_somDefaultVCopyInit;
typedef void   SOMLINK somTP_ODUndo_somDefaultConstVCopyInit(ODUndo *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODUndo_somDefaultConstVCopyInit *somTD_ODUndo_somDefaultConstVCopyInit;
typedef ODUndo*   SOMLINK somTP_ODUndo_somDefaultConstAssign(ODUndo *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODUndo_somDefaultConstAssign *somTD_ODUndo_somDefaultConstAssign;
typedef ODUndo*   SOMLINK somTP_ODUndo_somDefaultVAssign(ODUndo *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODUndo_somDefaultVAssign *somTD_ODUndo_somDefaultVAssign;
typedef ODUndo*   SOMLINK somTP_ODUndo_somDefaultConstVAssign(ODUndo *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODUndo_somDefaultConstVAssign *somTD_ODUndo_somDefaultConstVAssign;
typedef void   SOMLINK somTP_ODUndo_somFree(ODUndo *somSelf);
typedef somTP_ODUndo_somFree *somTD_ODUndo_somFree;
typedef SOMClass*   SOMLINK somTP_ODUndo_somGetClass(ODUndo *somSelf);
typedef somTP_ODUndo_somGetClass *somTD_ODUndo_somGetClass;
typedef string   SOMLINK somTP_ODUndo_somGetClassName(ODUndo *somSelf);
typedef somTP_ODUndo_somGetClassName *somTD_ODUndo_somGetClassName;
typedef long   SOMLINK somTP_ODUndo_somGetSize(ODUndo *somSelf);
typedef somTP_ODUndo_somGetSize *somTD_ODUndo_somGetSize;
typedef boolean   SOMLINK somTP_ODUndo_somIsA(ODUndo *somSelf,
		SOMClass* aClassObj);
typedef somTP_ODUndo_somIsA *somTD_ODUndo_somIsA;
typedef boolean   SOMLINK somTP_ODUndo_somIsInstanceOf(ODUndo *somSelf,
		SOMClass* aClassObj);
typedef somTP_ODUndo_somIsInstanceOf *somTD_ODUndo_somIsInstanceOf;
typedef boolean   SOMLINK somTP_ODUndo_somRespondsTo(ODUndo *somSelf,
		somId mId);
typedef somTP_ODUndo_somRespondsTo *somTD_ODUndo_somRespondsTo;
typedef boolean   SOMLINK somTP_ODUndo_somDispatch(ODUndo *somSelf,
		somToken* retValue,
		somId methodId,
		va_list ap);
typedef somTP_ODUndo_somDispatch *somTD_ODUndo_somDispatch;
typedef boolean   SOMLINK somTP_ODUndo_somClassDispatch(ODUndo *somSelf,
		SOMClass* clsObj,
		somToken* retValue,
		somId methodId,
		va_list ap);
typedef somTP_ODUndo_somClassDispatch *somTD_ODUndo_somClassDispatch;
typedef boolean   SOMLINK somTP_ODUndo_somCastObj(ODUndo *somSelf,
		SOMClass* cls);
typedef somTP_ODUndo_somCastObj *somTD_ODUndo_somCastObj;
typedef boolean   SOMLINK somTP_ODUndo_somResetObj(ODUndo *somSelf);
typedef somTP_ODUndo_somResetObj *somTD_ODUndo_somResetObj;
typedef SOMObject*   SOMLINK somTP_ODUndo_somPrintSelf(ODUndo *somSelf);
typedef somTP_ODUndo_somPrintSelf *somTD_ODUndo_somPrintSelf;
typedef void   SOMLINK somTP_ODUndo_somDumpSelf(ODUndo *somSelf,
		long level);
typedef somTP_ODUndo_somDumpSelf *somTD_ODUndo_somDumpSelf;
typedef void   SOMLINK somTP_ODUndo_somDumpSelfInt(ODUndo *somSelf,
		long level);
typedef somTP_ODUndo_somDumpSelfInt *somTD_ODUndo_somDumpSelfInt;
}

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

// ODUndo::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 (!_ODUndo) ODUndoNewClass(ODUndo_MajorVersion,ODUndo_MinorVersion);
   return (void*)
      SOM_Resolve(_ODUndo,SOMClass,somNewNoInit)
         ((SOMClass *)((void*)_ODUndo));
}

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

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

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

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


/* method: AddActionToHistory */
void   AddActionToHistory(Environment *ev,
		ODPart* whichPart,
		ODActionData* actionData,
		ODActionType actionType,
		ODName* undoActionLabel,
		ODName* redoActionLabel)
{
   SOM_ResolveD(this,ODUndo,ODUndo,AddActionToHistory)
	(this, ev,whichPart,actionData,actionType,undoActionLabel,redoActionLabel);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


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


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


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


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


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


/* method: PeekUndoHistory */
ODBoolean   PeekUndoHistory(Environment *ev,
		ODPart** part,
		ODActionData* actionData,
		ODActionType* actionType,
		ODName* actionLabel)
{
#ifdef SOMCHKEXCEPT
   ODBoolean __somResult = 
      SOM_ResolveD(this,ODUndo,ODUndo,PeekUndoHistory)
	(this, ev,part,actionData,actionType,actionLabel);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODUndo,ODUndo,PeekUndoHistory)
	(this, ev,part,actionData,actionType,actionLabel);
#endif
}


/* method: PeekRedoHistory */
ODBoolean   PeekRedoHistory(Environment *ev,
		ODPart** part,
		ODActionData* actionData,
		ODActionType* actionType,
		ODName* actionLabel)
{
#ifdef SOMCHKEXCEPT
   ODBoolean __somResult = 
      SOM_ResolveD(this,ODUndo,ODUndo,PeekRedoHistory)
	(this, ev,part,actionData,actionType,actionLabel);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODUndo,ODUndo,PeekRedoHistory)
	(this, ev,part,actionData,actionType,actionLabel);
#endif
}


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


/*
 * Reintroduce inherited methods
 */

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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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



};   /* ODUndo */



#endif       /* SOM_ODUndo_xh */
