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

#ifndef SOM_UniversalSink_xh
#define SOM_UniversalSink_xh

class UniversalSink;

#define UniversalSink_MajorVersion 0
#define UniversalSink_MinorVersion 0

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

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

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

/*
 * Start of user-defined types:
 */
class SOMClass;
class SOMObject;
class ODDSEventMgr;
class SOMLotusInstance;

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

/* A procedure to create the UniversalSink Class */
SOMEXTERN
#if (defined(SOM_Module_unisink_Source) || defined(UniversalSink_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_UniversalSink))
WIN32_DLLEXPORT
#else
WIN32_DLLIMPORT
#endif
SOMClass * SOMLINK UniversalSinkNewClass(
		integer4,
		integer4 );

/* The API to the UniversalSink class object, and the methods it introduces. */
SOMEXTERN struct UniversalSinkClassDataStructure {
	SOMClass *classObject;
	somMToken Initialize;
}
#if !(defined(SOM_Module_unisink_Source) || defined(UniversalSink_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_UniversalSink))
WIN32_DLLIMPORT
#elif defined(_MSC_VER)||defined(_WIN32_DECL_PROTO)
WIN32_DLLEXPORT
#endif
SOMDLINK UniversalSinkClassData;
#define _UniversalSink UniversalSinkClassData.classObject

/* The API to parentMtabs for UniversalSink, and the instance data it introduces. */
SOMEXTERN struct UniversalSinkCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken              instanceDataToken;
}
#if !(defined(SOM_Module_unisink_Source) || defined(UniversalSink_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_UniversalSink))
WIN32_DLLIMPORT
#elif defined(_MSC_VER)||defined(_WIN32_DECL_PROTO)
WIN32_DLLEXPORT
#endif
SOMDLINK UniversalSinkCClassData;

/*
 * -- Typedefs for UniversalSink Method Procedures
 */
extern "C" {

/*
 * -- Typedefs for Reintroduced Wrapper Methods
 */
typedef ODDSEventMgr*   SOMLINK somTP_UniversalSink__get_eventMgr(UniversalSink *somSelf, Environment *ev);
typedef somTP_UniversalSink__get_eventMgr *somTD_UniversalSink__get_eventMgr;
typedef void   SOMLINK somTP_UniversalSink__set_eventMgr(UniversalSink *somSelf, Environment *ev,
		ODDSEventMgr* eventMgr);
typedef somTP_UniversalSink__set_eventMgr *somTD_UniversalSink__set_eventMgr;
typedef unsigned short   SOMLINK somTP_UniversalSink__get_type(UniversalSink *somSelf, Environment *ev);
typedef somTP_UniversalSink__get_type *somTD_UniversalSink__get_type;
typedef void   SOMLINK somTP_UniversalSink__set_type(UniversalSink *somSelf, Environment *ev,
		unsigned short type);
typedef somTP_UniversalSink__set_type *somTD_UniversalSink__set_type;
typedef void*   SOMLINK somTP_UniversalSink__get_object(UniversalSink *somSelf, Environment *ev);
typedef somTP_UniversalSink__get_object *somTD_UniversalSink__get_object;
typedef void   SOMLINK somTP_UniversalSink__set_object(UniversalSink *somSelf, Environment *ev,
		void* object);
typedef somTP_UniversalSink__set_object *somTD_UniversalSink__set_object;
typedef void*   SOMLINK somTP_UniversalSink__get_environment(UniversalSink *somSelf, Environment *ev);
typedef somTP_UniversalSink__get_environment *somTD_UniversalSink__get_environment;
typedef void   SOMLINK somTP_UniversalSink__set_environment(UniversalSink *somSelf, Environment *ev,
		void* environment);
typedef somTP_UniversalSink__set_environment *somTD_UniversalSink__set_environment;
typedef LPODGUID   SOMLINK somTP_UniversalSink__get_guid(UniversalSink *somSelf, Environment *ev);
typedef somTP_UniversalSink__get_guid *somTD_UniversalSink__get_guid;
typedef void   SOMLINK somTP_UniversalSink__set_guid(UniversalSink *somSelf, Environment *ev,
		LPODGUID guid);
typedef somTP_UniversalSink__set_guid *somTD_UniversalSink__set_guid;
typedef long   SOMLINK somTP_UniversalSink_FireEvent(UniversalSink *somSelf, Environment *ev,
		string eventName,
		_IDL_SEQUENCE_any* inputParms,
		LPOBJECT sourceObject,
		ODDSRESULT* result);
typedef somTP_UniversalSink_FireEvent *somTD_UniversalSink_FireEvent;
typedef void   SOMLINK somTP_UniversalSink_EventMgrGone(UniversalSink *somSelf, Environment *ev);
typedef somTP_UniversalSink_EventMgrGone *somTD_UniversalSink_EventMgrGone;
typedef void   SOMLINK somTP_UniversalSink_SinkWithGUID(UniversalSink *somSelf, Environment *ev,
		somInitCtrl* ctrl,
		ODGUID guid);
typedef somTP_UniversalSink_SinkWithGUID *somTD_UniversalSink_SinkWithGUID;
typedef void   SOMLINK somTP_UniversalSink_somDefaultInit(UniversalSink *somSelf,
		somInitCtrl* ctrl);
typedef somTP_UniversalSink_somDefaultInit *somTD_UniversalSink_somDefaultInit;
typedef void   SOMLINK somTP_UniversalSink_somDestruct(UniversalSink *somSelf,
		octet doFree,
		somDestructCtrl* ctrl);
typedef somTP_UniversalSink_somDestruct *somTD_UniversalSink_somDestruct;
typedef void   SOMLINK somTP_UniversalSink_somDefaultCopyInit(UniversalSink *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_UniversalSink_somDefaultCopyInit *somTD_UniversalSink_somDefaultCopyInit;
typedef UniversalSink*   SOMLINK somTP_UniversalSink_somDefaultAssign(UniversalSink *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_UniversalSink_somDefaultAssign *somTD_UniversalSink_somDefaultAssign;
typedef void   SOMLINK somTP_UniversalSink_somDefaultConstCopyInit(UniversalSink *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_UniversalSink_somDefaultConstCopyInit *somTD_UniversalSink_somDefaultConstCopyInit;
typedef void   SOMLINK somTP_UniversalSink_somDefaultVCopyInit(UniversalSink *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_UniversalSink_somDefaultVCopyInit *somTD_UniversalSink_somDefaultVCopyInit;
typedef void   SOMLINK somTP_UniversalSink_somDefaultConstVCopyInit(UniversalSink *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_UniversalSink_somDefaultConstVCopyInit *somTD_UniversalSink_somDefaultConstVCopyInit;
typedef UniversalSink*   SOMLINK somTP_UniversalSink_somDefaultConstAssign(UniversalSink *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_UniversalSink_somDefaultConstAssign *somTD_UniversalSink_somDefaultConstAssign;
typedef UniversalSink*   SOMLINK somTP_UniversalSink_somDefaultVAssign(UniversalSink *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_UniversalSink_somDefaultVAssign *somTD_UniversalSink_somDefaultVAssign;
typedef UniversalSink*   SOMLINK somTP_UniversalSink_somDefaultConstVAssign(UniversalSink *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_UniversalSink_somDefaultConstVAssign *somTD_UniversalSink_somDefaultConstVAssign;
typedef void   SOMLINK somTP_UniversalSink_somInit(UniversalSink *somSelf);
typedef somTP_UniversalSink_somInit *somTD_UniversalSink_somInit;
typedef void   SOMLINK somTP_UniversalSink_somFree(UniversalSink *somSelf);
typedef somTP_UniversalSink_somFree *somTD_UniversalSink_somFree;
typedef void   SOMLINK somTP_UniversalSink_somUninit(UniversalSink *somSelf);
typedef somTP_UniversalSink_somUninit *somTD_UniversalSink_somUninit;
typedef SOMClass*   SOMLINK somTP_UniversalSink_somGetClass(UniversalSink *somSelf);
typedef somTP_UniversalSink_somGetClass *somTD_UniversalSink_somGetClass;
typedef string   SOMLINK somTP_UniversalSink_somGetClassName(UniversalSink *somSelf);
typedef somTP_UniversalSink_somGetClassName *somTD_UniversalSink_somGetClassName;
typedef long   SOMLINK somTP_UniversalSink_somGetSize(UniversalSink *somSelf);
typedef somTP_UniversalSink_somGetSize *somTD_UniversalSink_somGetSize;
typedef boolean   SOMLINK somTP_UniversalSink_somIsA(UniversalSink *somSelf,
		SOMClass* aClassObj);
typedef somTP_UniversalSink_somIsA *somTD_UniversalSink_somIsA;
typedef boolean   SOMLINK somTP_UniversalSink_somIsInstanceOf(UniversalSink *somSelf,
		SOMClass* aClassObj);
typedef somTP_UniversalSink_somIsInstanceOf *somTD_UniversalSink_somIsInstanceOf;
typedef boolean   SOMLINK somTP_UniversalSink_somRespondsTo(UniversalSink *somSelf,
		somId mId);
typedef somTP_UniversalSink_somRespondsTo *somTD_UniversalSink_somRespondsTo;
typedef boolean   SOMLINK somTP_UniversalSink_somDispatch(UniversalSink *somSelf,
		somToken* retValue,
		somId methodId,
		va_list ap);
typedef somTP_UniversalSink_somDispatch *somTD_UniversalSink_somDispatch;
typedef boolean   SOMLINK somTP_UniversalSink_somClassDispatch(UniversalSink *somSelf,
		SOMClass* clsObj,
		somToken* retValue,
		somId methodId,
		va_list ap);
typedef somTP_UniversalSink_somClassDispatch *somTD_UniversalSink_somClassDispatch;
typedef boolean   SOMLINK somTP_UniversalSink_somCastObj(UniversalSink *somSelf,
		SOMClass* cls);
typedef somTP_UniversalSink_somCastObj *somTD_UniversalSink_somCastObj;
typedef boolean   SOMLINK somTP_UniversalSink_somResetObj(UniversalSink *somSelf);
typedef somTP_UniversalSink_somResetObj *somTD_UniversalSink_somResetObj;
typedef SOMObject*   SOMLINK somTP_UniversalSink_somPrintSelf(UniversalSink *somSelf);
typedef somTP_UniversalSink_somPrintSelf *somTD_UniversalSink_somPrintSelf;
typedef void   SOMLINK somTP_UniversalSink_somDumpSelf(UniversalSink *somSelf,
		long level);
typedef somTP_UniversalSink_somDumpSelf *somTD_UniversalSink_somDumpSelf;
typedef void   SOMLINK somTP_UniversalSink_somDumpSelfInt(UniversalSink *somSelf,
		long level);
typedef somTP_UniversalSink_somDumpSelfInt *somTD_UniversalSink_somDumpSelfInt;
}

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

// UniversalSink::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 (!_UniversalSink) UniversalSinkNewClass(UniversalSink_MajorVersion,UniversalSink_MinorVersion);
   return (void*)
      SOM_Resolve(_UniversalSink,SOMClass,somNewNoInit)
         ((SOMClass *)((void*)_UniversalSink));
}

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

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

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

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


/*
 * Reintroduce inherited methods
 */

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


/* method: _set_eventMgr */
void   _set_eventMgr(Environment *ev,
		ODDSEventMgr* eventMgr)
{
   SOM_ResolveD(this,UniversalSink,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,UniversalSink,ODDSSink,_get_type)
	(this, ev);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,UniversalSink,ODDSSink,_get_type)
	(this, ev);
#endif
}


/* method: _set_type */
void   _set_type(Environment *ev,
		unsigned short type)
{
   SOM_ResolveD(this,UniversalSink,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,UniversalSink,ODDSSink,_get_object)
	(this, ev);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,UniversalSink,ODDSSink,_get_object)
	(this, ev);
#endif
}


/* method: _set_object */
void   _set_object(Environment *ev,
		void* object)
{
   SOM_ResolveD(this,UniversalSink,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,UniversalSink,ODDSSink,_get_environment)
	(this, ev);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,UniversalSink,ODDSSink,_get_environment)
	(this, ev);
#endif
}


/* method: _set_environment */
void   _set_environment(Environment *ev,
		void* environment)
{
   SOM_ResolveD(this,UniversalSink,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,UniversalSink,ODDSSink,_get_guid)
	(this, ev);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,UniversalSink,ODDSSink,_get_guid)
	(this, ev);
#endif
}


/* method: _set_guid */
void   _set_guid(Environment *ev,
		LPODGUID guid)
{
   SOM_ResolveD(this,UniversalSink,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,UniversalSink,ODDSSink,FireEvent)
	(this, ev,eventName,inputParms,sourceObject,result);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,UniversalSink,ODDSSink,FireEvent)
	(this, ev,eventName,inputParms,sourceObject,result);
#endif
}


/* method: EventMgrGone */
void   EventMgrGone(Environment *ev)
{
   SOM_ResolveD(this,UniversalSink,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,UniversalSink,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,UniversalSink,SOMObject,somDefaultInit)
	(this,ctrl);
}


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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



};   /* UniversalSink */



#endif       /* SOM_UniversalSink_xh */
