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

#ifndef SOM_ODDSEventMgr_xh
#define SOM_ODDSEventMgr_xh

class ODDSEventMgr;

#define ODDSEventMgr_MajorVersion 0
#define ODDSEventMgr_MinorVersion 0

/*
 * Passthru lines: File: "C.xh", "before"
 */
#include "oddsconn.h" 

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

/* C++ parent defs */
#ifndef SOM_SOMObject_xh
#include <somobj.xh>
#endif

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

/*
 * Start of user-defined types:
 */
class SOMClass;
class SOMObject;
class ODDSConnection;
class ODDSSinkEnum;
class ODDSSink;
#define ex_ODDSEventMgr_ODDS_ERROR "::ODDSEventMgr::ODDS_ERROR"
typedef
struct ODDSEventMgr_ODDS_ERROR {
long  ErrorCode;
char  Reason[80];
} ODDSEventMgr_ODDS_ERROR;
#ifndef _IDL_SEQUENCE_any_defined
#define _IDL_SEQUENCE_any_defined
typedef struct {
    unsigned long _maximum;
    unsigned long _length;
    any *_buffer;
} _IDL_SEQUENCE_any;
#endif /* _IDL_SEQUENCE_any_defined */ 

#ifndef SOM_DONT_USE_SHORT_NAMES
#ifndef SOMTGD_ex_ODDS_ERROR
    #ifdef ex_ODDS_ERROR
        #undef ex_ODDS_ERROR
        #define SOMTGD_ex_ODDS_ERROR 1
    #else
        #define ex_ODDS_ERROR ex_ODDSEventMgr_ODDS_ERROR
    #endif /* ex_ODDS_ERROR */
#endif /* SOMTGD_ex_ODDS_ERROR */
#ifndef SOMTGD_ODDS_ERROR
    #ifdef ODDS_ERROR
        #undef ODDS_ERROR
        #define SOMTGD_ODDS_ERROR 1
    #else
        #define ODDS_ERROR ODDSEventMgr_ODDS_ERROR
    #endif /* ODDS_ERROR */
#endif /* SOMTGD_ODDS_ERROR */
#endif /* SOM_DONT_USE_SHORT_NAMES */

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

/* A procedure to create the ODDSEventMgr Class */
SOMEXTERN
#if (defined(SOM_Module_oddsemgr_Source) || defined(ODDSEventMgr_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODDSEventMgr))
WIN32_DLLEXPORT
#else
WIN32_DLLIMPORT
#endif
SOMClass * SOMLINK ODDSEventMgrNewClass(
		integer4,
		integer4 );

/* The API to the ODDSEventMgr class object, and the methods it introduces. */
SOMEXTERN struct ODDSEventMgrClassDataStructure {
	SOMClass *classObject;
	somMToken EventMgrWithGUID;
	somMToken AddSink;
	somMToken RemoveSink;
	somMToken SinkIsConnnected;
	somMToken PrepareEventFiring;
	somMToken FireEvent;
	somMToken StopEventFiring;
	somMToken CreateSinkEnum;
	somMToken _get_connection;
	somMToken _set_connection;
	somMToken _get_guid;
	somMToken _get_languageId;
	somMToken _set_languageId;
}
#if !(defined(SOM_Module_oddsemgr_Source) || defined(ODDSEventMgr_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODDSEventMgr))
WIN32_DLLIMPORT
#elif defined(_MSC_VER)||defined(_WIN32_DECL_PROTO)
WIN32_DLLEXPORT
#endif
SOMDLINK ODDSEventMgrClassData;
#define _ODDSEventMgr ODDSEventMgrClassData.classObject

/* The API to parentMtabs for ODDSEventMgr, and the instance data it introduces. */
SOMEXTERN struct ODDSEventMgrCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken              instanceDataToken;
}
#if !(defined(SOM_Module_oddsemgr_Source) || defined(ODDSEventMgr_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODDSEventMgr))
WIN32_DLLIMPORT
#elif defined(_MSC_VER)||defined(_WIN32_DECL_PROTO)
WIN32_DLLEXPORT
#endif
SOMDLINK ODDSEventMgrCClassData;

/*
 * -- Typedefs for ODDSEventMgr Method Procedures
 */
extern "C" {
typedef ODDSConnection*   SOMLINK somTP_ODDSEventMgr__get_connection(ODDSEventMgr *somSelf, Environment *ev);
typedef somTP_ODDSEventMgr__get_connection *somTD_ODDSEventMgr__get_connection;
typedef void   SOMLINK somTP_ODDSEventMgr__set_connection(ODDSEventMgr *somSelf, Environment *ev,
		ODDSConnection* connection);
typedef somTP_ODDSEventMgr__set_connection *somTD_ODDSEventMgr__set_connection;
typedef unsigned long   SOMLINK somTP_ODDSEventMgr__get_languageId(ODDSEventMgr *somSelf, Environment *ev);
typedef somTP_ODDSEventMgr__get_languageId *somTD_ODDSEventMgr__get_languageId;
typedef void   SOMLINK somTP_ODDSEventMgr__set_languageId(ODDSEventMgr *somSelf, Environment *ev,
		unsigned long languageId);
typedef somTP_ODDSEventMgr__set_languageId *somTD_ODDSEventMgr__set_languageId;
typedef LPODGUID   SOMLINK somTP_ODDSEventMgr__get_guid(ODDSEventMgr *somSelf, Environment *ev);
typedef somTP_ODDSEventMgr__get_guid *somTD_ODDSEventMgr__get_guid;
typedef long   SOMLINK somTP_ODDSEventMgr_AddSink(ODDSEventMgr *somSelf, Environment *ev,
		ODDSSink* sink);
typedef somTP_ODDSEventMgr_AddSink *somTD_ODDSEventMgr_AddSink;
typedef long   SOMLINK somTP_ODDSEventMgr_RemoveSink(ODDSEventMgr *somSelf, Environment *ev,
		ODDSSink* sink);
typedef somTP_ODDSEventMgr_RemoveSink *somTD_ODDSEventMgr_RemoveSink;
typedef boolean   SOMLINK somTP_ODDSEventMgr_SinkIsConnnected(ODDSEventMgr *somSelf, Environment *ev,
		ODDSSink* sink);
typedef somTP_ODDSEventMgr_SinkIsConnnected *somTD_ODDSEventMgr_SinkIsConnnected;
typedef long   SOMLINK somTP_ODDSEventMgr_PrepareEventFiring(ODDSEventMgr *somSelf, Environment *ev,
		long* numberOfSinks,
		ODDSSinkEnum** sinks);
typedef somTP_ODDSEventMgr_PrepareEventFiring *somTD_ODDSEventMgr_PrepareEventFiring;
typedef long   SOMLINK somTP_ODDSEventMgr_FireEvent(ODDSEventMgr *somSelf, Environment *ev,
		ODDSSinkEnum* sinks,
		string eventName,
		_IDL_SEQUENCE_any* inputParms,
		ODDSRESULT* result);
typedef somTP_ODDSEventMgr_FireEvent *somTD_ODDSEventMgr_FireEvent;
typedef long   SOMLINK somTP_ODDSEventMgr_StopEventFiring(ODDSEventMgr *somSelf, Environment *ev,
		ODDSSinkEnum* sinks);
typedef somTP_ODDSEventMgr_StopEventFiring *somTD_ODDSEventMgr_StopEventFiring;
typedef long   SOMLINK somTP_ODDSEventMgr_CreateSinkEnum(ODDSEventMgr *somSelf, Environment *ev,
		ODDSSinkEnum** sinks);
typedef somTP_ODDSEventMgr_CreateSinkEnum *somTD_ODDSEventMgr_CreateSinkEnum;
typedef void   SOMLINK somTP_ODDSEventMgr_EventMgrWithGUID(ODDSEventMgr *somSelf, Environment *ev,
		somInitCtrl* ctrl,
		ODGUID guid);
typedef somTP_ODDSEventMgr_EventMgrWithGUID *somTD_ODDSEventMgr_EventMgrWithGUID;

/*
 * -- Typedefs for Reintroduced Wrapper Methods
 */
typedef void   SOMLINK somTP_ODDSEventMgr_somDefaultInit(ODDSEventMgr *somSelf,
		somInitCtrl* ctrl);
typedef somTP_ODDSEventMgr_somDefaultInit *somTD_ODDSEventMgr_somDefaultInit;
typedef void   SOMLINK somTP_ODDSEventMgr_somDestruct(ODDSEventMgr *somSelf,
		octet doFree,
		somDestructCtrl* ctrl);
typedef somTP_ODDSEventMgr_somDestruct *somTD_ODDSEventMgr_somDestruct;
typedef void   SOMLINK somTP_ODDSEventMgr_somDefaultCopyInit(ODDSEventMgr *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODDSEventMgr_somDefaultCopyInit *somTD_ODDSEventMgr_somDefaultCopyInit;
typedef ODDSEventMgr*   SOMLINK somTP_ODDSEventMgr_somDefaultAssign(ODDSEventMgr *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODDSEventMgr_somDefaultAssign *somTD_ODDSEventMgr_somDefaultAssign;
typedef void   SOMLINK somTP_ODDSEventMgr_somDefaultConstCopyInit(ODDSEventMgr *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODDSEventMgr_somDefaultConstCopyInit *somTD_ODDSEventMgr_somDefaultConstCopyInit;
typedef void   SOMLINK somTP_ODDSEventMgr_somDefaultVCopyInit(ODDSEventMgr *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODDSEventMgr_somDefaultVCopyInit *somTD_ODDSEventMgr_somDefaultVCopyInit;
typedef void   SOMLINK somTP_ODDSEventMgr_somDefaultConstVCopyInit(ODDSEventMgr *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODDSEventMgr_somDefaultConstVCopyInit *somTD_ODDSEventMgr_somDefaultConstVCopyInit;
typedef ODDSEventMgr*   SOMLINK somTP_ODDSEventMgr_somDefaultConstAssign(ODDSEventMgr *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODDSEventMgr_somDefaultConstAssign *somTD_ODDSEventMgr_somDefaultConstAssign;
typedef ODDSEventMgr*   SOMLINK somTP_ODDSEventMgr_somDefaultVAssign(ODDSEventMgr *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODDSEventMgr_somDefaultVAssign *somTD_ODDSEventMgr_somDefaultVAssign;
typedef ODDSEventMgr*   SOMLINK somTP_ODDSEventMgr_somDefaultConstVAssign(ODDSEventMgr *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODDSEventMgr_somDefaultConstVAssign *somTD_ODDSEventMgr_somDefaultConstVAssign;
typedef void   SOMLINK somTP_ODDSEventMgr_somInit(ODDSEventMgr *somSelf);
typedef somTP_ODDSEventMgr_somInit *somTD_ODDSEventMgr_somInit;
typedef void   SOMLINK somTP_ODDSEventMgr_somFree(ODDSEventMgr *somSelf);
typedef somTP_ODDSEventMgr_somFree *somTD_ODDSEventMgr_somFree;
typedef void   SOMLINK somTP_ODDSEventMgr_somUninit(ODDSEventMgr *somSelf);
typedef somTP_ODDSEventMgr_somUninit *somTD_ODDSEventMgr_somUninit;
typedef SOMClass*   SOMLINK somTP_ODDSEventMgr_somGetClass(ODDSEventMgr *somSelf);
typedef somTP_ODDSEventMgr_somGetClass *somTD_ODDSEventMgr_somGetClass;
typedef string   SOMLINK somTP_ODDSEventMgr_somGetClassName(ODDSEventMgr *somSelf);
typedef somTP_ODDSEventMgr_somGetClassName *somTD_ODDSEventMgr_somGetClassName;
typedef long   SOMLINK somTP_ODDSEventMgr_somGetSize(ODDSEventMgr *somSelf);
typedef somTP_ODDSEventMgr_somGetSize *somTD_ODDSEventMgr_somGetSize;
typedef boolean   SOMLINK somTP_ODDSEventMgr_somIsA(ODDSEventMgr *somSelf,
		SOMClass* aClassObj);
typedef somTP_ODDSEventMgr_somIsA *somTD_ODDSEventMgr_somIsA;
typedef boolean   SOMLINK somTP_ODDSEventMgr_somIsInstanceOf(ODDSEventMgr *somSelf,
		SOMClass* aClassObj);
typedef somTP_ODDSEventMgr_somIsInstanceOf *somTD_ODDSEventMgr_somIsInstanceOf;
typedef boolean   SOMLINK somTP_ODDSEventMgr_somRespondsTo(ODDSEventMgr *somSelf,
		somId mId);
typedef somTP_ODDSEventMgr_somRespondsTo *somTD_ODDSEventMgr_somRespondsTo;
typedef boolean   SOMLINK somTP_ODDSEventMgr_somDispatch(ODDSEventMgr *somSelf,
		somToken* retValue,
		somId methodId,
		va_list ap);
typedef somTP_ODDSEventMgr_somDispatch *somTD_ODDSEventMgr_somDispatch;
typedef boolean   SOMLINK somTP_ODDSEventMgr_somClassDispatch(ODDSEventMgr *somSelf,
		SOMClass* clsObj,
		somToken* retValue,
		somId methodId,
		va_list ap);
typedef somTP_ODDSEventMgr_somClassDispatch *somTD_ODDSEventMgr_somClassDispatch;
typedef boolean   SOMLINK somTP_ODDSEventMgr_somCastObj(ODDSEventMgr *somSelf,
		SOMClass* cls);
typedef somTP_ODDSEventMgr_somCastObj *somTD_ODDSEventMgr_somCastObj;
typedef boolean   SOMLINK somTP_ODDSEventMgr_somResetObj(ODDSEventMgr *somSelf);
typedef somTP_ODDSEventMgr_somResetObj *somTD_ODDSEventMgr_somResetObj;
typedef SOMObject*   SOMLINK somTP_ODDSEventMgr_somPrintSelf(ODDSEventMgr *somSelf);
typedef somTP_ODDSEventMgr_somPrintSelf *somTD_ODDSEventMgr_somPrintSelf;
typedef void   SOMLINK somTP_ODDSEventMgr_somDumpSelf(ODDSEventMgr *somSelf,
		long level);
typedef somTP_ODDSEventMgr_somDumpSelf *somTD_ODDSEventMgr_somDumpSelf;
typedef void   SOMLINK somTP_ODDSEventMgr_somDumpSelfInt(ODDSEventMgr *somSelf,
		long level);
typedef somTP_ODDSEventMgr_somDumpSelfInt *somTD_ODDSEventMgr_somDumpSelfInt;
}

#endif /* ODDSEventMgr_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 ODDSEventMgr
 */
class ODDSEventMgr : public SOMObject
{
public:

// ODDSEventMgr::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 (!_ODDSEventMgr) ODDSEventMgrNewClass(ODDSEventMgr_MajorVersion,ODDSEventMgr_MinorVersion);
   return (void*)
      SOM_Resolve(_ODDSEventMgr,SOMClass,somNewNoInit)
         ((SOMClass *)((void*)_ODDSEventMgr));
}

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

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

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

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

ODDSEventMgr(Environment *ev,ODGUID guid) 
{
   EventMgrWithGUID(ev,0,guid);
}


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


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


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


/* method: _set_languageId */
void   _set_languageId(Environment *ev,
		unsigned long languageId)
{
   SOM_ResolveD(this,ODDSEventMgr,ODDSEventMgr,_set_languageId)
	(this, ev,languageId);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


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


/* method: AddSink */
long   AddSink(Environment *ev,
		ODDSSink* sink)
{
#ifdef SOMCHKEXCEPT
   long __somResult = 
      SOM_ResolveD(this,ODDSEventMgr,ODDSEventMgr,AddSink)
	(this, ev,sink);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODDSEventMgr,ODDSEventMgr,AddSink)
	(this, ev,sink);
#endif
}


/* method: RemoveSink */
long   RemoveSink(Environment *ev,
		ODDSSink* sink)
{
#ifdef SOMCHKEXCEPT
   long __somResult = 
      SOM_ResolveD(this,ODDSEventMgr,ODDSEventMgr,RemoveSink)
	(this, ev,sink);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODDSEventMgr,ODDSEventMgr,RemoveSink)
	(this, ev,sink);
#endif
}


/* method: SinkIsConnnected */
boolean   SinkIsConnnected(Environment *ev,
		ODDSSink* sink)
{
#ifdef SOMCHKEXCEPT
   boolean __somResult = 
      SOM_ResolveD(this,ODDSEventMgr,ODDSEventMgr,SinkIsConnnected)
	(this, ev,sink);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODDSEventMgr,ODDSEventMgr,SinkIsConnnected)
	(this, ev,sink);
#endif
}


/* method: PrepareEventFiring */
long   PrepareEventFiring(Environment *ev,
		long* numberOfSinks,
		ODDSSinkEnum** sinks)
{
#ifdef SOMCHKEXCEPT
   long __somResult = 
      SOM_ResolveD(this,ODDSEventMgr,ODDSEventMgr,PrepareEventFiring)
	(this, ev,numberOfSinks,sinks);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODDSEventMgr,ODDSEventMgr,PrepareEventFiring)
	(this, ev,numberOfSinks,sinks);
#endif
}


/* method: FireEvent */
long   FireEvent(Environment *ev,
		ODDSSinkEnum* sinks,
		string eventName,
		_IDL_SEQUENCE_any* inputParms,
		ODDSRESULT* result)
{
#ifdef SOMCHKEXCEPT
   long __somResult = 
      SOM_ResolveD(this,ODDSEventMgr,ODDSEventMgr,FireEvent)
	(this, ev,sinks,eventName,inputParms,result);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODDSEventMgr,ODDSEventMgr,FireEvent)
	(this, ev,sinks,eventName,inputParms,result);
#endif
}


/* method: StopEventFiring */
long   StopEventFiring(Environment *ev,
		ODDSSinkEnum* sinks)
{
#ifdef SOMCHKEXCEPT
   long __somResult = 
      SOM_ResolveD(this,ODDSEventMgr,ODDSEventMgr,StopEventFiring)
	(this, ev,sinks);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODDSEventMgr,ODDSEventMgr,StopEventFiring)
	(this, ev,sinks);
#endif
}


/* method: CreateSinkEnum */
long   CreateSinkEnum(Environment *ev,
		ODDSSinkEnum** sinks)
{
#ifdef SOMCHKEXCEPT
   long __somResult = 
      SOM_ResolveD(this,ODDSEventMgr,ODDSEventMgr,CreateSinkEnum)
	(this, ev,sinks);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODDSEventMgr,ODDSEventMgr,CreateSinkEnum)
	(this, ev,sinks);
#endif
}


/* initializer method: EventMgrWithGUID */
void   EventMgrWithGUID(Environment *ev,
		somInitCtrl* ctrl,
		ODGUID guid)
{
   SOM_ResolveD(this,ODDSEventMgr,ODDSEventMgr,EventMgrWithGUID)
	(this, ev,ctrl,guid);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/*
 * Reintroduce inherited methods
 */

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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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



};   /* ODDSEventMgr */



#endif       /* SOM_ODDSEventMgr_xh */

#ifndef SOM_ODDSSinkEnum_xh
#define SOM_ODDSSinkEnum_xh

class ODDSSinkEnum;

#define ODDSSinkEnum_MajorVersion 0
#define ODDSSinkEnum_MinorVersion 0

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

/* C++ parent defs */
#ifndef SOM_SOMObject_xh
#include <somobj.xh>
#endif

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

/*
 * Start of user-defined types:
 */
#define ex_ODDSSinkEnum_ODDS_ERROR "::ODDSSinkEnum::ODDS_ERROR"
typedef
struct ODDSSinkEnum_ODDS_ERROR {
long  ErrorCode;
char  Reason[80];
} ODDSSinkEnum_ODDS_ERROR;
#ifndef _IDL_SEQUENCE_ODDSSink_defined
#define _IDL_SEQUENCE_ODDSSink_defined
typedef struct {
    unsigned long _maximum;
    unsigned long _length;
    ODDSSink **_buffer;
} _IDL_SEQUENCE_ODDSSink;
#endif /* _IDL_SEQUENCE_ODDSSink_defined */ 

#ifndef SOM_DONT_USE_SHORT_NAMES
#ifndef SOMTGD_ex_ODDS_ERROR
    #ifdef ex_ODDS_ERROR
        #undef ex_ODDS_ERROR
        #define SOMTGD_ex_ODDS_ERROR 1
    #else
        #define ex_ODDS_ERROR ex_ODDSSinkEnum_ODDS_ERROR
    #endif /* ex_ODDS_ERROR */
#endif /* SOMTGD_ex_ODDS_ERROR */
#ifndef SOMTGD_ODDS_ERROR
    #ifdef ODDS_ERROR
        #undef ODDS_ERROR
        #define SOMTGD_ODDS_ERROR 1
    #else
        #define ODDS_ERROR ODDSSinkEnum_ODDS_ERROR
    #endif /* ODDS_ERROR */
#endif /* SOMTGD_ODDS_ERROR */
#endif /* SOM_DONT_USE_SHORT_NAMES */

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

/* A procedure to create the ODDSSinkEnum Class */
SOMEXTERN
#if (defined(SOM_Module_oddsemgr_Source) || defined(ODDSSinkEnum_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODDSSinkEnum))
WIN32_DLLEXPORT
#else
WIN32_DLLIMPORT
#endif
SOMClass * SOMLINK ODDSSinkEnumNewClass(
		integer4,
		integer4 );

/* The API to the ODDSSinkEnum class object, and the methods it introduces. */
SOMEXTERN struct ODDSSinkEnumClassDataStructure {
	SOMClass *classObject;
	somMToken Create;
	somMToken First;
	somMToken Next;
	somMToken _get_count;
}
#if !(defined(SOM_Module_oddsemgr_Source) || defined(ODDSSinkEnum_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODDSSinkEnum))
WIN32_DLLIMPORT
#elif defined(_MSC_VER)||defined(_WIN32_DECL_PROTO)
WIN32_DLLEXPORT
#endif
SOMDLINK ODDSSinkEnumClassData;
#define _ODDSSinkEnum ODDSSinkEnumClassData.classObject

/* The API to parentMtabs for ODDSSinkEnum, and the instance data it introduces. */
SOMEXTERN struct ODDSSinkEnumCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken              instanceDataToken;
}
#if !(defined(SOM_Module_oddsemgr_Source) || defined(ODDSSinkEnum_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODDSSinkEnum))
WIN32_DLLIMPORT
#elif defined(_MSC_VER)||defined(_WIN32_DECL_PROTO)
WIN32_DLLEXPORT
#endif
SOMDLINK ODDSSinkEnumCClassData;

/*
 * -- Typedefs for ODDSSinkEnum Method Procedures
 */
extern "C" {
typedef long   SOMLINK somTP_ODDSSinkEnum__get_count(ODDSSinkEnum *somSelf, Environment *ev);
typedef somTP_ODDSSinkEnum__get_count *somTD_ODDSSinkEnum__get_count;
typedef long   SOMLINK somTP_ODDSSinkEnum_First(ODDSSinkEnum *somSelf, Environment *ev,
		ODDSSink** sink);
typedef somTP_ODDSSinkEnum_First *somTD_ODDSSinkEnum_First;
typedef long   SOMLINK somTP_ODDSSinkEnum_Next(ODDSSinkEnum *somSelf, Environment *ev,
		ODDSSink** sink);
typedef somTP_ODDSSinkEnum_Next *somTD_ODDSSinkEnum_Next;
typedef void   SOMLINK somTP_ODDSSinkEnum_Create(ODDSSinkEnum *somSelf, Environment *ev,
		somInitCtrl* ctrl,
		_IDL_SEQUENCE_ODDSSink* sinks,
		ODDSEventMgr* eventMgr);
typedef somTP_ODDSSinkEnum_Create *somTD_ODDSSinkEnum_Create;

/*
 * -- Typedefs for Reintroduced Wrapper Methods
 */
typedef void   SOMLINK somTP_ODDSSinkEnum_somDefaultInit(ODDSSinkEnum *somSelf,
		somInitCtrl* ctrl);
typedef somTP_ODDSSinkEnum_somDefaultInit *somTD_ODDSSinkEnum_somDefaultInit;
typedef void   SOMLINK somTP_ODDSSinkEnum_somDestruct(ODDSSinkEnum *somSelf,
		octet doFree,
		somDestructCtrl* ctrl);
typedef somTP_ODDSSinkEnum_somDestruct *somTD_ODDSSinkEnum_somDestruct;
typedef void   SOMLINK somTP_ODDSSinkEnum_somDefaultCopyInit(ODDSSinkEnum *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODDSSinkEnum_somDefaultCopyInit *somTD_ODDSSinkEnum_somDefaultCopyInit;
typedef ODDSSinkEnum*   SOMLINK somTP_ODDSSinkEnum_somDefaultAssign(ODDSSinkEnum *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODDSSinkEnum_somDefaultAssign *somTD_ODDSSinkEnum_somDefaultAssign;
typedef void   SOMLINK somTP_ODDSSinkEnum_somDefaultConstCopyInit(ODDSSinkEnum *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODDSSinkEnum_somDefaultConstCopyInit *somTD_ODDSSinkEnum_somDefaultConstCopyInit;
typedef void   SOMLINK somTP_ODDSSinkEnum_somDefaultVCopyInit(ODDSSinkEnum *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODDSSinkEnum_somDefaultVCopyInit *somTD_ODDSSinkEnum_somDefaultVCopyInit;
typedef void   SOMLINK somTP_ODDSSinkEnum_somDefaultConstVCopyInit(ODDSSinkEnum *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODDSSinkEnum_somDefaultConstVCopyInit *somTD_ODDSSinkEnum_somDefaultConstVCopyInit;
typedef ODDSSinkEnum*   SOMLINK somTP_ODDSSinkEnum_somDefaultConstAssign(ODDSSinkEnum *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODDSSinkEnum_somDefaultConstAssign *somTD_ODDSSinkEnum_somDefaultConstAssign;
typedef ODDSSinkEnum*   SOMLINK somTP_ODDSSinkEnum_somDefaultVAssign(ODDSSinkEnum *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODDSSinkEnum_somDefaultVAssign *somTD_ODDSSinkEnum_somDefaultVAssign;
typedef ODDSSinkEnum*   SOMLINK somTP_ODDSSinkEnum_somDefaultConstVAssign(ODDSSinkEnum *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODDSSinkEnum_somDefaultConstVAssign *somTD_ODDSSinkEnum_somDefaultConstVAssign;
typedef void   SOMLINK somTP_ODDSSinkEnum_somInit(ODDSSinkEnum *somSelf);
typedef somTP_ODDSSinkEnum_somInit *somTD_ODDSSinkEnum_somInit;
typedef void   SOMLINK somTP_ODDSSinkEnum_somFree(ODDSSinkEnum *somSelf);
typedef somTP_ODDSSinkEnum_somFree *somTD_ODDSSinkEnum_somFree;
typedef void   SOMLINK somTP_ODDSSinkEnum_somUninit(ODDSSinkEnum *somSelf);
typedef somTP_ODDSSinkEnum_somUninit *somTD_ODDSSinkEnum_somUninit;
typedef SOMClass*   SOMLINK somTP_ODDSSinkEnum_somGetClass(ODDSSinkEnum *somSelf);
typedef somTP_ODDSSinkEnum_somGetClass *somTD_ODDSSinkEnum_somGetClass;
typedef string   SOMLINK somTP_ODDSSinkEnum_somGetClassName(ODDSSinkEnum *somSelf);
typedef somTP_ODDSSinkEnum_somGetClassName *somTD_ODDSSinkEnum_somGetClassName;
typedef long   SOMLINK somTP_ODDSSinkEnum_somGetSize(ODDSSinkEnum *somSelf);
typedef somTP_ODDSSinkEnum_somGetSize *somTD_ODDSSinkEnum_somGetSize;
typedef boolean   SOMLINK somTP_ODDSSinkEnum_somIsA(ODDSSinkEnum *somSelf,
		SOMClass* aClassObj);
typedef somTP_ODDSSinkEnum_somIsA *somTD_ODDSSinkEnum_somIsA;
typedef boolean   SOMLINK somTP_ODDSSinkEnum_somIsInstanceOf(ODDSSinkEnum *somSelf,
		SOMClass* aClassObj);
typedef somTP_ODDSSinkEnum_somIsInstanceOf *somTD_ODDSSinkEnum_somIsInstanceOf;
typedef boolean   SOMLINK somTP_ODDSSinkEnum_somRespondsTo(ODDSSinkEnum *somSelf,
		somId mId);
typedef somTP_ODDSSinkEnum_somRespondsTo *somTD_ODDSSinkEnum_somRespondsTo;
typedef boolean   SOMLINK somTP_ODDSSinkEnum_somDispatch(ODDSSinkEnum *somSelf,
		somToken* retValue,
		somId methodId,
		va_list ap);
typedef somTP_ODDSSinkEnum_somDispatch *somTD_ODDSSinkEnum_somDispatch;
typedef boolean   SOMLINK somTP_ODDSSinkEnum_somClassDispatch(ODDSSinkEnum *somSelf,
		SOMClass* clsObj,
		somToken* retValue,
		somId methodId,
		va_list ap);
typedef somTP_ODDSSinkEnum_somClassDispatch *somTD_ODDSSinkEnum_somClassDispatch;
typedef boolean   SOMLINK somTP_ODDSSinkEnum_somCastObj(ODDSSinkEnum *somSelf,
		SOMClass* cls);
typedef somTP_ODDSSinkEnum_somCastObj *somTD_ODDSSinkEnum_somCastObj;
typedef boolean   SOMLINK somTP_ODDSSinkEnum_somResetObj(ODDSSinkEnum *somSelf);
typedef somTP_ODDSSinkEnum_somResetObj *somTD_ODDSSinkEnum_somResetObj;
typedef SOMObject*   SOMLINK somTP_ODDSSinkEnum_somPrintSelf(ODDSSinkEnum *somSelf);
typedef somTP_ODDSSinkEnum_somPrintSelf *somTD_ODDSSinkEnum_somPrintSelf;
typedef void   SOMLINK somTP_ODDSSinkEnum_somDumpSelf(ODDSSinkEnum *somSelf,
		long level);
typedef somTP_ODDSSinkEnum_somDumpSelf *somTD_ODDSSinkEnum_somDumpSelf;
typedef void   SOMLINK somTP_ODDSSinkEnum_somDumpSelfInt(ODDSSinkEnum *somSelf,
		long level);
typedef somTP_ODDSSinkEnum_somDumpSelfInt *somTD_ODDSSinkEnum_somDumpSelfInt;
}

#endif /* ODDSSinkEnum_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 ODDSSinkEnum
 */
class ODDSSinkEnum : public SOMObject
{
public:

// ODDSSinkEnum::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 (!_ODDSSinkEnum) ODDSSinkEnumNewClass(ODDSSinkEnum_MajorVersion,ODDSSinkEnum_MinorVersion);
   return (void*)
      SOM_Resolve(_ODDSSinkEnum,SOMClass,somNewNoInit)
         ((SOMClass *)((void*)_ODDSSinkEnum));
}

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

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

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

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

ODDSSinkEnum(Environment *ev,_IDL_SEQUENCE_ODDSSink* sinks,ODDSEventMgr* eventMgr) 
{
   Create(ev,0,sinks,eventMgr);
}


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


/* method: First */
long   First(Environment *ev,
		ODDSSink** sink)
{
#ifdef SOMCHKEXCEPT
   long __somResult = 
      SOM_ResolveD(this,ODDSSinkEnum,ODDSSinkEnum,First)
	(this, ev,sink);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODDSSinkEnum,ODDSSinkEnum,First)
	(this, ev,sink);
#endif
}


/* method: Next */
long   Next(Environment *ev,
		ODDSSink** sink)
{
#ifdef SOMCHKEXCEPT
   long __somResult = 
      SOM_ResolveD(this,ODDSSinkEnum,ODDSSinkEnum,Next)
	(this, ev,sink);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODDSSinkEnum,ODDSSinkEnum,Next)
	(this, ev,sink);
#endif
}


/* initializer method: Create */
void   Create(Environment *ev,
		somInitCtrl* ctrl,
		_IDL_SEQUENCE_ODDSSink* sinks,
		ODDSEventMgr* eventMgr)
{
   SOM_ResolveD(this,ODDSSinkEnum,ODDSSinkEnum,Create)
	(this, ev,ctrl,sinks,eventMgr);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/*
 * Reintroduce inherited methods
 */

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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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



};   /* ODDSSinkEnum */



#endif       /* SOM_ODDSSinkEnum_xh */
