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

#ifndef SOM_ODFocusModule_xh
#define SOM_ODFocusModule_xh

class ODFocusModule;

#define ODFocusModule_MajorVersion 1
#define ODFocusModule_MinorVersion 0

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

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

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

/*
 * Start of user-defined types:
 */
class SOMClass;
class SOMObject;
class ODFrame;
class ODFacet;
class ODPlatformCanvas;
class ODObject;
class ODExtension;
class ODFocusModule;
class ODSession;
class ODFocusOwnerIterator;

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

/* A procedure to create the ODFocusModule Class */
SOMEXTERN
#if (defined(SOM_Module_FocusMod_Source) || defined(ODFocusModule_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODFocusModule))
WIN32_DLLEXPORT
#else
WIN32_DLLIMPORT
#endif
SOMClass * SOMLINK ODFocusModuleNewClass(
		integer4,
		integer4 );

/* The API to the ODFocusModule class object, and the methods it introduces. */
SOMEXTERN struct ODFocusModuleClassDataStructure {
	SOMClass *classObject;
	somMToken InitFocusModule;
	somMToken IsFocusExclusive;
	somMToken SetFocusOwnership;
	somMToken UnsetFocusOwnership;
	somMToken TransferFocusOwnership;
	somMToken AcquireFocusOwner;
	somMToken CreateOwnerIterator;
	somMToken BeginRelinquishFocus;
	somMToken CommitRelinquishFocus;
	somMToken AbortRelinquishFocus;
}
#if !(defined(SOM_Module_FocusMod_Source) || defined(ODFocusModule_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODFocusModule))
WIN32_DLLIMPORT
#elif defined(_MSC_VER)||defined(_WIN32_DECL_PROTO)
WIN32_DLLEXPORT
#endif
SOMDLINK ODFocusModuleClassData;
#define _ODFocusModule ODFocusModuleClassData.classObject

/* The API to parentMtabs for ODFocusModule, and the instance data it introduces. */
SOMEXTERN struct ODFocusModuleCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken              instanceDataToken;
}
#if !(defined(SOM_Module_FocusMod_Source) || defined(ODFocusModule_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODFocusModule))
WIN32_DLLIMPORT
#elif defined(_MSC_VER)||defined(_WIN32_DECL_PROTO)
WIN32_DLLEXPORT
#endif
SOMDLINK ODFocusModuleCClassData;

/*
 * -- Typedefs for ODFocusModule Method Procedures
 */
extern "C" {
typedef void   SOMLINK somTP_ODFocusModule_InitFocusModule(ODFocusModule *somSelf, Environment *ev,
		ODSession* session);
typedef somTP_ODFocusModule_InitFocusModule *somTD_ODFocusModule_InitFocusModule;
typedef ODBoolean   SOMLINK somTP_ODFocusModule_IsFocusExclusive(ODFocusModule *somSelf, Environment *ev,
		ODTypeToken focus);
typedef somTP_ODFocusModule_IsFocusExclusive *somTD_ODFocusModule_IsFocusExclusive;
typedef void   SOMLINK somTP_ODFocusModule_SetFocusOwnership(ODFocusModule *somSelf, Environment *ev,
		ODTypeToken focus,
		ODFrame* frame);
typedef somTP_ODFocusModule_SetFocusOwnership *somTD_ODFocusModule_SetFocusOwnership;
typedef void   SOMLINK somTP_ODFocusModule_UnsetFocusOwnership(ODFocusModule *somSelf, Environment *ev,
		ODTypeToken focus,
		ODFrame* frame);
typedef somTP_ODFocusModule_UnsetFocusOwnership *somTD_ODFocusModule_UnsetFocusOwnership;
typedef void   SOMLINK somTP_ODFocusModule_TransferFocusOwnership(ODFocusModule *somSelf, Environment *ev,
		ODTypeToken focus,
		ODFrame* transferringFrame,
		ODFrame* newOwner);
typedef somTP_ODFocusModule_TransferFocusOwnership *somTD_ODFocusModule_TransferFocusOwnership;
typedef ODFrame*   SOMLINK somTP_ODFocusModule_AcquireFocusOwner(ODFocusModule *somSelf, Environment *ev,
		ODTypeToken focus);
typedef somTP_ODFocusModule_AcquireFocusOwner *somTD_ODFocusModule_AcquireFocusOwner;
typedef ODFocusOwnerIterator*   SOMLINK somTP_ODFocusModule_CreateOwnerIterator(ODFocusModule *somSelf, Environment *ev,
		ODTypeToken focus);
typedef somTP_ODFocusModule_CreateOwnerIterator *somTD_ODFocusModule_CreateOwnerIterator;
typedef ODBoolean   SOMLINK somTP_ODFocusModule_BeginRelinquishFocus(ODFocusModule *somSelf, Environment *ev,
		ODTypeToken focus,
		ODFrame* requestingFrame);
typedef somTP_ODFocusModule_BeginRelinquishFocus *somTD_ODFocusModule_BeginRelinquishFocus;
typedef void   SOMLINK somTP_ODFocusModule_CommitRelinquishFocus(ODFocusModule *somSelf, Environment *ev,
		ODTypeToken focus,
		ODFrame* requestingFrame);
typedef somTP_ODFocusModule_CommitRelinquishFocus *somTD_ODFocusModule_CommitRelinquishFocus;
typedef void   SOMLINK somTP_ODFocusModule_AbortRelinquishFocus(ODFocusModule *somSelf, Environment *ev,
		ODTypeToken focus,
		ODFrame* requestingFrame);
typedef somTP_ODFocusModule_AbortRelinquishFocus *somTD_ODFocusModule_AbortRelinquishFocus;

/*
 * -- Typedefs for Reintroduced Wrapper Methods
 */
typedef void   SOMLINK somTP_ODFocusModule_InitObject(ODFocusModule *somSelf, Environment *ev);
typedef somTP_ODFocusModule_InitObject *somTD_ODFocusModule_InitObject;
typedef ODBoolean   SOMLINK somTP_ODFocusModule_HasExtension(ODFocusModule *somSelf, Environment *ev,
		ODType extensionName);
typedef somTP_ODFocusModule_HasExtension *somTD_ODFocusModule_HasExtension;
typedef ODExtension*   SOMLINK somTP_ODFocusModule_AcquireExtension(ODFocusModule *somSelf, Environment *ev,
		ODType extensionName);
typedef somTP_ODFocusModule_AcquireExtension *somTD_ODFocusModule_AcquireExtension;
typedef void   SOMLINK somTP_ODFocusModule_ReleaseExtension(ODFocusModule *somSelf, Environment *ev,
		ODExtension* extension);
typedef somTP_ODFocusModule_ReleaseExtension *somTD_ODFocusModule_ReleaseExtension;
typedef ODSize   SOMLINK somTP_ODFocusModule_Purge(ODFocusModule *somSelf, Environment *ev,
		ODSize size);
typedef somTP_ODFocusModule_Purge *somTD_ODFocusModule_Purge;
typedef ODBoolean   SOMLINK somTP_ODFocusModule_IsEqualTo(ODFocusModule *somSelf, Environment *ev,
		ODObject* object);
typedef somTP_ODFocusModule_IsEqualTo *somTD_ODFocusModule_IsEqualTo;
typedef void   SOMLINK somTP_ODFocusModule_SubClassResponsibility(ODFocusModule *somSelf, Environment *ev);
typedef somTP_ODFocusModule_SubClassResponsibility *somTD_ODFocusModule_SubClassResponsibility;
typedef void   SOMLINK somTP_ODFocusModule_somInit(ODFocusModule *somSelf);
typedef somTP_ODFocusModule_somInit *somTD_ODFocusModule_somInit;
typedef void   SOMLINK somTP_ODFocusModule_somUninit(ODFocusModule *somSelf);
typedef somTP_ODFocusModule_somUninit *somTD_ODFocusModule_somUninit;
typedef void   SOMLINK somTP_ODFocusModule_somDefaultInit(ODFocusModule *somSelf,
		somInitCtrl* ctrl);
typedef somTP_ODFocusModule_somDefaultInit *somTD_ODFocusModule_somDefaultInit;
typedef void   SOMLINK somTP_ODFocusModule_somDestruct(ODFocusModule *somSelf,
		octet doFree,
		somDestructCtrl* ctrl);
typedef somTP_ODFocusModule_somDestruct *somTD_ODFocusModule_somDestruct;
typedef void   SOMLINK somTP_ODFocusModule_somDefaultCopyInit(ODFocusModule *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODFocusModule_somDefaultCopyInit *somTD_ODFocusModule_somDefaultCopyInit;
typedef ODFocusModule*   SOMLINK somTP_ODFocusModule_somDefaultAssign(ODFocusModule *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODFocusModule_somDefaultAssign *somTD_ODFocusModule_somDefaultAssign;
typedef void   SOMLINK somTP_ODFocusModule_somDefaultConstCopyInit(ODFocusModule *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODFocusModule_somDefaultConstCopyInit *somTD_ODFocusModule_somDefaultConstCopyInit;
typedef void   SOMLINK somTP_ODFocusModule_somDefaultVCopyInit(ODFocusModule *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODFocusModule_somDefaultVCopyInit *somTD_ODFocusModule_somDefaultVCopyInit;
typedef void   SOMLINK somTP_ODFocusModule_somDefaultConstVCopyInit(ODFocusModule *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODFocusModule_somDefaultConstVCopyInit *somTD_ODFocusModule_somDefaultConstVCopyInit;
typedef ODFocusModule*   SOMLINK somTP_ODFocusModule_somDefaultConstAssign(ODFocusModule *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODFocusModule_somDefaultConstAssign *somTD_ODFocusModule_somDefaultConstAssign;
typedef ODFocusModule*   SOMLINK somTP_ODFocusModule_somDefaultVAssign(ODFocusModule *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODFocusModule_somDefaultVAssign *somTD_ODFocusModule_somDefaultVAssign;
typedef ODFocusModule*   SOMLINK somTP_ODFocusModule_somDefaultConstVAssign(ODFocusModule *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODFocusModule_somDefaultConstVAssign *somTD_ODFocusModule_somDefaultConstVAssign;
typedef void   SOMLINK somTP_ODFocusModule_somFree(ODFocusModule *somSelf);
typedef somTP_ODFocusModule_somFree *somTD_ODFocusModule_somFree;
typedef SOMClass*   SOMLINK somTP_ODFocusModule_somGetClass(ODFocusModule *somSelf);
typedef somTP_ODFocusModule_somGetClass *somTD_ODFocusModule_somGetClass;
typedef string   SOMLINK somTP_ODFocusModule_somGetClassName(ODFocusModule *somSelf);
typedef somTP_ODFocusModule_somGetClassName *somTD_ODFocusModule_somGetClassName;
typedef long   SOMLINK somTP_ODFocusModule_somGetSize(ODFocusModule *somSelf);
typedef somTP_ODFocusModule_somGetSize *somTD_ODFocusModule_somGetSize;
typedef boolean   SOMLINK somTP_ODFocusModule_somIsA(ODFocusModule *somSelf,
		SOMClass* aClassObj);
typedef somTP_ODFocusModule_somIsA *somTD_ODFocusModule_somIsA;
typedef boolean   SOMLINK somTP_ODFocusModule_somIsInstanceOf(ODFocusModule *somSelf,
		SOMClass* aClassObj);
typedef somTP_ODFocusModule_somIsInstanceOf *somTD_ODFocusModule_somIsInstanceOf;
typedef boolean   SOMLINK somTP_ODFocusModule_somRespondsTo(ODFocusModule *somSelf,
		somId mId);
typedef somTP_ODFocusModule_somRespondsTo *somTD_ODFocusModule_somRespondsTo;
typedef boolean   SOMLINK somTP_ODFocusModule_somDispatch(ODFocusModule *somSelf,
		somToken* retValue,
		somId methodId,
		va_list ap);
typedef somTP_ODFocusModule_somDispatch *somTD_ODFocusModule_somDispatch;
typedef boolean   SOMLINK somTP_ODFocusModule_somClassDispatch(ODFocusModule *somSelf,
		SOMClass* clsObj,
		somToken* retValue,
		somId methodId,
		va_list ap);
typedef somTP_ODFocusModule_somClassDispatch *somTD_ODFocusModule_somClassDispatch;
typedef boolean   SOMLINK somTP_ODFocusModule_somCastObj(ODFocusModule *somSelf,
		SOMClass* cls);
typedef somTP_ODFocusModule_somCastObj *somTD_ODFocusModule_somCastObj;
typedef boolean   SOMLINK somTP_ODFocusModule_somResetObj(ODFocusModule *somSelf);
typedef somTP_ODFocusModule_somResetObj *somTD_ODFocusModule_somResetObj;
typedef SOMObject*   SOMLINK somTP_ODFocusModule_somPrintSelf(ODFocusModule *somSelf);
typedef somTP_ODFocusModule_somPrintSelf *somTD_ODFocusModule_somPrintSelf;
typedef void   SOMLINK somTP_ODFocusModule_somDumpSelf(ODFocusModule *somSelf,
		long level);
typedef somTP_ODFocusModule_somDumpSelf *somTD_ODFocusModule_somDumpSelf;
typedef void   SOMLINK somTP_ODFocusModule_somDumpSelfInt(ODFocusModule *somSelf,
		long level);
typedef somTP_ODFocusModule_somDumpSelfInt *somTD_ODFocusModule_somDumpSelfInt;
}

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

// ODFocusModule::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 (!_ODFocusModule) ODFocusModuleNewClass(ODFocusModule_MajorVersion,ODFocusModule_MinorVersion);
   return (void*)
      SOM_Resolve(_ODFocusModule,SOMClass,somNewNoInit)
         ((SOMClass *)((void*)_ODFocusModule));
}

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

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

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

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


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


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


/* method: SetFocusOwnership */
void   SetFocusOwnership(Environment *ev,
		ODTypeToken focus,
		ODFrame* frame)
{
   SOM_ResolveD(this,ODFocusModule,ODFocusModule,SetFocusOwnership)
	(this, ev,focus,frame);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/* method: UnsetFocusOwnership */
void   UnsetFocusOwnership(Environment *ev,
		ODTypeToken focus,
		ODFrame* frame)
{
   SOM_ResolveD(this,ODFocusModule,ODFocusModule,UnsetFocusOwnership)
	(this, ev,focus,frame);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/* method: TransferFocusOwnership */
void   TransferFocusOwnership(Environment *ev,
		ODTypeToken focus,
		ODFrame* transferringFrame,
		ODFrame* newOwner)
{
   SOM_ResolveD(this,ODFocusModule,ODFocusModule,TransferFocusOwnership)
	(this, ev,focus,transferringFrame,newOwner);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/* method: AcquireFocusOwner */
ODFrame*   AcquireFocusOwner(Environment *ev,
		ODTypeToken focus)
{
#ifdef SOMCHKEXCEPT
   ODFrame* __somResult = 
      SOM_ResolveD(this,ODFocusModule,ODFocusModule,AcquireFocusOwner)
	(this, ev,focus);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODFocusModule,ODFocusModule,AcquireFocusOwner)
	(this, ev,focus);
#endif
}


/* method: CreateOwnerIterator */
ODFocusOwnerIterator*   CreateOwnerIterator(Environment *ev,
		ODTypeToken focus)
{
#ifdef SOMCHKEXCEPT
   ODFocusOwnerIterator* __somResult = 
      SOM_ResolveD(this,ODFocusModule,ODFocusModule,CreateOwnerIterator)
	(this, ev,focus);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODFocusModule,ODFocusModule,CreateOwnerIterator)
	(this, ev,focus);
#endif
}


/* method: BeginRelinquishFocus */
ODBoolean   BeginRelinquishFocus(Environment *ev,
		ODTypeToken focus,
		ODFrame* requestingFrame)
{
#ifdef SOMCHKEXCEPT
   ODBoolean __somResult = 
      SOM_ResolveD(this,ODFocusModule,ODFocusModule,BeginRelinquishFocus)
	(this, ev,focus,requestingFrame);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODFocusModule,ODFocusModule,BeginRelinquishFocus)
	(this, ev,focus,requestingFrame);
#endif
}


/* method: CommitRelinquishFocus */
void   CommitRelinquishFocus(Environment *ev,
		ODTypeToken focus,
		ODFrame* requestingFrame)
{
   SOM_ResolveD(this,ODFocusModule,ODFocusModule,CommitRelinquishFocus)
	(this, ev,focus,requestingFrame);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/* method: AbortRelinquishFocus */
void   AbortRelinquishFocus(Environment *ev,
		ODTypeToken focus,
		ODFrame* requestingFrame)
{
   SOM_ResolveD(this,ODFocusModule,ODFocusModule,AbortRelinquishFocus)
	(this, ev,focus,requestingFrame);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/*
 * Reintroduce inherited methods
 */

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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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



};   /* ODFocusModule */



#endif       /* SOM_ODFocusModule_xh */
