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

#ifndef SOM_ODDSOLESink_xh
#define SOM_ODDSOLESink_xh

class ODDSOLESink;

#define ODDSOLESink_MajorVersion 0
#define ODDSOLESink_MinorVersion 0

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

/* C++ parent defs */
#ifndef SOM_ODDSSink_xh
#include <oddssink.xh>
#endif

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

/*
 * Start of user-defined types:
 */
class SOMClass;
class SOMObject;
class ODDSEventMgr;
#define ex_ODDSOLESink_ODDS_ERROR "::ODDSOLESink::ODDS_ERROR"
typedef
struct ODDSOLESink_ODDS_ERROR {
long  ErrorCode;
char  Reason[80];
} ODDSOLESink_ODDS_ERROR;

#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_ODDSOLESink_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 ODDSOLESink_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 ODDSOLESink Class */
SOMEXTERN
#if (defined(SOM_Module_oddsosnk_Source) || defined(ODDSOLESink_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODDSOLESink))
WIN32_DLLEXPORT
#else
WIN32_DLLIMPORT
#endif
SOMClass * SOMLINK ODDSOLESinkNewClass(
		integer4,
		integer4 );

/* The API to the ODDSOLESink class object, and the methods it introduces. */
SOMEXTERN struct ODDSOLESinkClassDataStructure {
	SOMClass *classObject;
	somMToken OSnkWithGUID;
}
#if !(defined(SOM_Module_oddsosnk_Source) || defined(ODDSOLESink_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODDSOLESink))
WIN32_DLLIMPORT
#elif defined(_MSC_VER)||defined(_WIN32_DECL_PROTO)
WIN32_DLLEXPORT
#endif
SOMDLINK ODDSOLESinkClassData;
#define _ODDSOLESink ODDSOLESinkClassData.classObject

/* The API to parentMtabs for ODDSOLESink, and the instance data it introduces. */
SOMEXTERN struct ODDSOLESinkCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken              instanceDataToken;
}
#if !(defined(SOM_Module_oddsosnk_Source) || defined(ODDSOLESink_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODDSOLESink))
WIN32_DLLIMPORT
#elif defined(_MSC_VER)||defined(_WIN32_DECL_PROTO)
WIN32_DLLEXPORT
#endif
SOMDLINK ODDSOLESinkCClassData;

/*
 * -- Typedefs for ODDSOLESink Method Procedures
 */
extern "C" {
typedef void   SOMLINK somTP_ODDSOLESink_OSnkWithGUID(ODDSOLESink *somSelf, Environment *ev,
		somInitCtrl* ctrl,
		ODGUID guid);
typedef somTP_ODDSOLESink_OSnkWithGUID *somTD_ODDSOLESink_OSnkWithGUID;

/*
 * -- Typedefs for Reintroduced Wrapper Methods
 */
typedef ODDSEventMgr*   SOMLINK somTP_ODDSOLESink__get_eventMgr(ODDSOLESink *somSelf, Environment *ev);
typedef somTP_ODDSOLESink__get_eventMgr *somTD_ODDSOLESink__get_eventMgr;
typedef void   SOMLINK somTP_ODDSOLESink__set_eventMgr(ODDSOLESink *somSelf, Environment *ev,
		ODDSEventMgr* eventMgr);
typedef somTP_ODDSOLESink__set_eventMgr *somTD_ODDSOLESink__set_eventMgr;
typedef unsigned short   SOMLINK somTP_ODDSOLESink__get_type(ODDSOLESink *somSelf, Environment *ev);
typedef somTP_ODDSOLESink__get_type *somTD_ODDSOLESink__get_type;
typedef void   SOMLINK somTP_ODDSOLESink__set_type(ODDSOLESink *somSelf, Environment *ev,
		unsigned short type);
typedef somTP_ODDSOLESink__set_type *somTD_ODDSOLESink__set_type;
typedef void*   SOMLINK somTP_ODDSOLESink__get_object(ODDSOLESink *somSelf, Environment *ev);
typedef somTP_ODDSOLESink__get_object *somTD_ODDSOLESink__get_object;
typedef void   SOMLINK somTP_ODDSOLESink__set_object(ODDSOLESink *somSelf, Environment *ev,
		void* object);
typedef somTP_ODDSOLESink__set_object *somTD_ODDSOLESink__set_object;
typedef void*   SOMLINK somTP_ODDSOLESink__get_environment(ODDSOLESink *somSelf, Environment *ev);
typedef somTP_ODDSOLESink__get_environment *somTD_ODDSOLESink__get_environment;
typedef void   SOMLINK somTP_ODDSOLESink__set_environment(ODDSOLESink *somSelf, Environment *ev,
		void* environment);
typedef somTP_ODDSOLESink__set_environment *somTD_ODDSOLESink__set_environment;
typedef LPODGUID   SOMLINK somTP_ODDSOLESink__get_guid(ODDSOLESink *somSelf, Environment *ev);
typedef somTP_ODDSOLESink__get_guid *somTD_ODDSOLESink__get_guid;
typedef void   SOMLINK somTP_ODDSOLESink__set_guid(ODDSOLESink *somSelf, Environment *ev,
		LPODGUID guid);
typedef somTP_ODDSOLESink__set_guid *somTD_ODDSOLESink__set_guid;
typedef long   SOMLINK somTP_ODDSOLESink_FireEvent(ODDSOLESink *somSelf, Environment *ev,
		string eventName,
		_IDL_SEQUENCE_any* inputParms,
		LPOBJECT sourceObject,
		ODDSRESULT* result);
typedef somTP_ODDSOLESink_FireEvent *somTD_ODDSOLESink_FireEvent;
typedef void   SOMLINK somTP_ODDSOLESink_EventMgrGone(ODDSOLESink *somSelf, Environment *ev);
typedef somTP_ODDSOLESink_EventMgrGone *somTD_ODDSOLESink_EventMgrGone;
typedef void   SOMLINK somTP_ODDSOLESink_SinkWithGUID(ODDSOLESink *somSelf, Environment *ev,
		somInitCtrl* ctrl,
		ODGUID guid);
typedef somTP_ODDSOLESink_SinkWithGUID *somTD_ODDSOLESink_SinkWithGUID;
typedef void   SOMLINK somTP_ODDSOLESink_somDefaultInit(ODDSOLESink *somSelf,
		somInitCtrl* ctrl);
typedef somTP_ODDSOLESink_somDefaultInit *somTD_ODDSOLESink_somDefaultInit;
typedef void   SOMLINK somTP_ODDSOLESink_somDestruct(ODDSOLESink *somSelf,
		octet doFree,
		somDestructCtrl* ctrl);
typedef somTP_ODDSOLESink_somDestruct *somTD_ODDSOLESink_somDestruct;
typedef void   SOMLINK somTP_ODDSOLESink_somDefaultCopyInit(ODDSOLESink *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODDSOLESink_somDefaultCopyInit *somTD_ODDSOLESink_somDefaultCopyInit;
typedef ODDSOLESink*   SOMLINK somTP_ODDSOLESink_somDefaultAssign(ODDSOLESink *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODDSOLESink_somDefaultAssign *somTD_ODDSOLESink_somDefaultAssign;
typedef void   SOMLINK somTP_ODDSOLESink_somDefaultConstCopyInit(ODDSOLESink *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODDSOLESink_somDefaultConstCopyInit *somTD_ODDSOLESink_somDefaultConstCopyInit;
typedef void   SOMLINK somTP_ODDSOLESink_somDefaultVCopyInit(ODDSOLESink *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODDSOLESink_somDefaultVCopyInit *somTD_ODDSOLESink_somDefaultVCopyInit;
typedef void   SOMLINK somTP_ODDSOLESink_somDefaultConstVCopyInit(ODDSOLESink *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODDSOLESink_somDefaultConstVCopyInit *somTD_ODDSOLESink_somDefaultConstVCopyInit;
typedef ODDSOLESink*   SOMLINK somTP_ODDSOLESink_somDefaultConstAssign(ODDSOLESink *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODDSOLESink_somDefaultConstAssign *somTD_ODDSOLESink_somDefaultConstAssign;
typedef ODDSOLESink*   SOMLINK somTP_ODDSOLESink_somDefaultVAssign(ODDSOLESink *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODDSOLESink_somDefaultVAssign *somTD_ODDSOLESink_somDefaultVAssign;
typedef ODDSOLESink*   SOMLINK somTP_ODDSOLESink_somDefaultConstVAssign(ODDSOLESink *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODDSOLESink_somDefaultConstVAssign *somTD_ODDSOLESink_somDefaultConstVAssign;
typedef void   SOMLINK somTP_ODDSOLESink_somInit(ODDSOLESink *somSelf);
typedef somTP_ODDSOLESink_somInit *somTD_ODDSOLESink_somInit;
typedef void   SOMLINK somTP_ODDSOLESink_somFree(ODDSOLESink *somSelf);
typedef somTP_ODDSOLESink_somFree *somTD_ODDSOLESink_somFree;
typedef void   SOMLINK somTP_ODDSOLESink_somUninit(ODDSOLESink *somSelf);
typedef somTP_ODDSOLESink_somUninit *somTD_ODDSOLESink_somUninit;
typedef SOMClass*   SOMLINK somTP_ODDSOLESink_somGetClass(ODDSOLESink *somSelf);
typedef somTP_ODDSOLESink_somGetClass *somTD_ODDSOLESink_somGetClass;
typedef string   SOMLINK somTP_ODDSOLESink_somGetClassName(ODDSOLESink *somSelf);
typedef somTP_ODDSOLESink_somGetClassName *somTD_ODDSOLESink_somGetClassName;
typedef long   SOMLINK somTP_ODDSOLESink_somGetSize(ODDSOLESink *somSelf);
typedef somTP_ODDSOLESink_somGetSize *somTD_ODDSOLESink_somGetSize;
typedef boolean   SOMLINK somTP_ODDSOLESink_somIsA(ODDSOLESink *somSelf,
		SOMClass* aClassObj);
typedef somTP_ODDSOLESink_somIsA *somTD_ODDSOLESink_somIsA;
typedef boolean   SOMLINK somTP_ODDSOLESink_somIsInstanceOf(ODDSOLESink *somSelf,
		SOMClass* aClassObj);
typedef somTP_ODDSOLESink_somIsInstanceOf *somTD_ODDSOLESink_somIsInstanceOf;
typedef boolean   SOMLINK somTP_ODDSOLESink_somRespondsTo(ODDSOLESink *somSelf,
		somId mId);
typedef somTP_ODDSOLESink_somRespondsTo *somTD_ODDSOLESink_somRespondsTo;
typedef boolean   SOMLINK somTP_ODDSOLESink_somDispatch(ODDSOLESink *somSelf,
		somToken* retValue,
		somId methodId,
		va_list ap);
typedef somTP_ODDSOLESink_somDispatch *somTD_ODDSOLESink_somDispatch;
typedef boolean   SOMLINK somTP_ODDSOLESink_somClassDispatch(ODDSOLESink *somSelf,
		SOMClass* clsObj,
		somToken* retValue,
		somId methodId,
		va_list ap);
typedef somTP_ODDSOLESink_somClassDispatch *somTD_ODDSOLESink_somClassDispatch;
typedef boolean   SOMLINK somTP_ODDSOLESink_somCastObj(ODDSOLESink *somSelf,
		SOMClass* cls);
typedef somTP_ODDSOLESink_somCastObj *somTD_ODDSOLESink_somCastObj;
typedef boolean   SOMLINK somTP_ODDSOLESink_somResetObj(ODDSOLESink *somSelf);
typedef somTP_ODDSOLESink_somResetObj *somTD_ODDSOLESink_somResetObj;
typedef SOMObject*   SOMLINK somTP_ODDSOLESink_somPrintSelf(ODDSOLESink *somSelf);
typedef somTP_ODDSOLESink_somPrintSelf *somTD_ODDSOLESink_somPrintSelf;
typedef void   SOMLINK somTP_ODDSOLESink_somDumpSelf(ODDSOLESink *somSelf,
		long level);
typedef somTP_ODDSOLESink_somDumpSelf *somTD_ODDSOLESink_somDumpSelf;
typedef void   SOMLINK somTP_ODDSOLESink_somDumpSelfInt(ODDSOLESink *somSelf,
		long level);
typedef somTP_ODDSOLESink_somDumpSelfInt *somTD_ODDSOLESink_somDumpSelfInt;
}

#endif /* ODDSOLESink_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 ODDSOLESink
 */
class ODDSOLESink : public ODDSSink
{
public:

// ODDSOLESink::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 (!_ODDSOLESink) ODDSOLESinkNewClass(ODDSOLESink_MajorVersion,ODDSOLESink_MinorVersion);
   return (void*)
      SOM_Resolve(_ODDSOLESink,SOMClass,somNewNoInit)
         ((SOMClass *)((void*)_ODDSOLESink));
}

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

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

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

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

ODDSOLESink(Environment *ev,ODGUID guid) 
{
   OSnkWithGUID(ev,0,guid);
}


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


/*
 * Reintroduce inherited methods
 */

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


/* method: _set_eventMgr */
void   _set_eventMgr(Environment *ev,
		ODDSEventMgr* eventMgr)
{
   SOM_ResolveD(this,ODDSOLESink,ODDSSink,_set_eventMgr)
	(this, ev,eventMgr);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


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


/* method: _set_type */
void   _set_type(Environment *ev,
		unsigned short type)
{
   SOM_ResolveD(this,ODDSOLESink,ODDSSink,_set_type)
	(this, ev,type);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


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


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


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


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


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


/* method: _set_guid */
void   _set_guid(Environment *ev,
		LPODGUID guid)
{
   SOM_ResolveD(this,ODDSOLESink,ODDSSink,_set_guid)
	(this, ev,guid);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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



};   /* ODDSOLESink */



#endif       /* SOM_ODDSOLESink_xh */
