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

#ifndef SOM_ODRefCntObject_xh
#define SOM_ODRefCntObject_xh

class ODRefCntObject;

#define ODRefCntObject_MajorVersion 1
#define ODRefCntObject_MinorVersion 0

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

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

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

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

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

/* A procedure to create the ODRefCntObject Class */
SOMEXTERN
#if (defined(SOM_Module_RefCtObj_Source) || defined(ODRefCntObject_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODRefCntObject))
WIN32_DLLEXPORT
#else
WIN32_DLLIMPORT
#endif
SOMClass * SOMLINK ODRefCntObjectNewClass(
		integer4,
		integer4 );

/* The API to the ODRefCntObject class object, and the methods it introduces. */
SOMEXTERN struct ODRefCntObjectClassDataStructure {
	SOMClass *classObject;
	somMToken InitRefCntObject;
	somMToken Acquire;
	somMToken Release;
	somMToken GetRefCount;
}
#if !(defined(SOM_Module_RefCtObj_Source) || defined(ODRefCntObject_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODRefCntObject))
WIN32_DLLIMPORT
#elif defined(_MSC_VER)||defined(_WIN32_DECL_PROTO)
WIN32_DLLEXPORT
#endif
SOMDLINK ODRefCntObjectClassData;
#define _ODRefCntObject ODRefCntObjectClassData.classObject

/* The API to parentMtabs for ODRefCntObject, and the instance data it introduces. */
SOMEXTERN struct ODRefCntObjectCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken              instanceDataToken;
}
#if !(defined(SOM_Module_RefCtObj_Source) || defined(ODRefCntObject_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODRefCntObject))
WIN32_DLLIMPORT
#elif defined(_MSC_VER)||defined(_WIN32_DECL_PROTO)
WIN32_DLLEXPORT
#endif
SOMDLINK ODRefCntObjectCClassData;

/*
 * -- Typedefs for ODRefCntObject Method Procedures
 */
extern "C" {
typedef void   SOMLINK somTP_ODRefCntObject_InitRefCntObject(ODRefCntObject *somSelf, Environment *ev);
typedef somTP_ODRefCntObject_InitRefCntObject *somTD_ODRefCntObject_InitRefCntObject;
typedef void   SOMLINK somTP_ODRefCntObject_Acquire(ODRefCntObject *somSelf, Environment *ev);
typedef somTP_ODRefCntObject_Acquire *somTD_ODRefCntObject_Acquire;
typedef void   SOMLINK somTP_ODRefCntObject_Release(ODRefCntObject *somSelf, Environment *ev);
typedef somTP_ODRefCntObject_Release *somTD_ODRefCntObject_Release;
typedef ODULong   SOMLINK somTP_ODRefCntObject_GetRefCount(ODRefCntObject *somSelf, Environment *ev);
typedef somTP_ODRefCntObject_GetRefCount *somTD_ODRefCntObject_GetRefCount;

/*
 * -- Typedefs for Reintroduced Wrapper Methods
 */
typedef void   SOMLINK somTP_ODRefCntObject_InitObject(ODRefCntObject *somSelf, Environment *ev);
typedef somTP_ODRefCntObject_InitObject *somTD_ODRefCntObject_InitObject;
typedef ODBoolean   SOMLINK somTP_ODRefCntObject_HasExtension(ODRefCntObject *somSelf, Environment *ev,
		ODType extensionName);
typedef somTP_ODRefCntObject_HasExtension *somTD_ODRefCntObject_HasExtension;
typedef ODExtension*   SOMLINK somTP_ODRefCntObject_AcquireExtension(ODRefCntObject *somSelf, Environment *ev,
		ODType extensionName);
typedef somTP_ODRefCntObject_AcquireExtension *somTD_ODRefCntObject_AcquireExtension;
typedef void   SOMLINK somTP_ODRefCntObject_ReleaseExtension(ODRefCntObject *somSelf, Environment *ev,
		ODExtension* extension);
typedef somTP_ODRefCntObject_ReleaseExtension *somTD_ODRefCntObject_ReleaseExtension;
typedef ODSize   SOMLINK somTP_ODRefCntObject_Purge(ODRefCntObject *somSelf, Environment *ev,
		ODSize size);
typedef somTP_ODRefCntObject_Purge *somTD_ODRefCntObject_Purge;
typedef ODBoolean   SOMLINK somTP_ODRefCntObject_IsEqualTo(ODRefCntObject *somSelf, Environment *ev,
		ODObject* object);
typedef somTP_ODRefCntObject_IsEqualTo *somTD_ODRefCntObject_IsEqualTo;
typedef void   SOMLINK somTP_ODRefCntObject_SubClassResponsibility(ODRefCntObject *somSelf, Environment *ev);
typedef somTP_ODRefCntObject_SubClassResponsibility *somTD_ODRefCntObject_SubClassResponsibility;
typedef void   SOMLINK somTP_ODRefCntObject_somInit(ODRefCntObject *somSelf);
typedef somTP_ODRefCntObject_somInit *somTD_ODRefCntObject_somInit;
typedef void   SOMLINK somTP_ODRefCntObject_somUninit(ODRefCntObject *somSelf);
typedef somTP_ODRefCntObject_somUninit *somTD_ODRefCntObject_somUninit;
typedef void   SOMLINK somTP_ODRefCntObject_somDefaultInit(ODRefCntObject *somSelf,
		somInitCtrl* ctrl);
typedef somTP_ODRefCntObject_somDefaultInit *somTD_ODRefCntObject_somDefaultInit;
typedef void   SOMLINK somTP_ODRefCntObject_somDestruct(ODRefCntObject *somSelf,
		octet doFree,
		somDestructCtrl* ctrl);
typedef somTP_ODRefCntObject_somDestruct *somTD_ODRefCntObject_somDestruct;
typedef void   SOMLINK somTP_ODRefCntObject_somDefaultCopyInit(ODRefCntObject *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODRefCntObject_somDefaultCopyInit *somTD_ODRefCntObject_somDefaultCopyInit;
typedef ODRefCntObject*   SOMLINK somTP_ODRefCntObject_somDefaultAssign(ODRefCntObject *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODRefCntObject_somDefaultAssign *somTD_ODRefCntObject_somDefaultAssign;
typedef void   SOMLINK somTP_ODRefCntObject_somDefaultConstCopyInit(ODRefCntObject *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODRefCntObject_somDefaultConstCopyInit *somTD_ODRefCntObject_somDefaultConstCopyInit;
typedef void   SOMLINK somTP_ODRefCntObject_somDefaultVCopyInit(ODRefCntObject *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODRefCntObject_somDefaultVCopyInit *somTD_ODRefCntObject_somDefaultVCopyInit;
typedef void   SOMLINK somTP_ODRefCntObject_somDefaultConstVCopyInit(ODRefCntObject *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODRefCntObject_somDefaultConstVCopyInit *somTD_ODRefCntObject_somDefaultConstVCopyInit;
typedef ODRefCntObject*   SOMLINK somTP_ODRefCntObject_somDefaultConstAssign(ODRefCntObject *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODRefCntObject_somDefaultConstAssign *somTD_ODRefCntObject_somDefaultConstAssign;
typedef ODRefCntObject*   SOMLINK somTP_ODRefCntObject_somDefaultVAssign(ODRefCntObject *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODRefCntObject_somDefaultVAssign *somTD_ODRefCntObject_somDefaultVAssign;
typedef ODRefCntObject*   SOMLINK somTP_ODRefCntObject_somDefaultConstVAssign(ODRefCntObject *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODRefCntObject_somDefaultConstVAssign *somTD_ODRefCntObject_somDefaultConstVAssign;
typedef void   SOMLINK somTP_ODRefCntObject_somFree(ODRefCntObject *somSelf);
typedef somTP_ODRefCntObject_somFree *somTD_ODRefCntObject_somFree;
typedef SOMClass*   SOMLINK somTP_ODRefCntObject_somGetClass(ODRefCntObject *somSelf);
typedef somTP_ODRefCntObject_somGetClass *somTD_ODRefCntObject_somGetClass;
typedef string   SOMLINK somTP_ODRefCntObject_somGetClassName(ODRefCntObject *somSelf);
typedef somTP_ODRefCntObject_somGetClassName *somTD_ODRefCntObject_somGetClassName;
typedef long   SOMLINK somTP_ODRefCntObject_somGetSize(ODRefCntObject *somSelf);
typedef somTP_ODRefCntObject_somGetSize *somTD_ODRefCntObject_somGetSize;
typedef boolean   SOMLINK somTP_ODRefCntObject_somIsA(ODRefCntObject *somSelf,
		SOMClass* aClassObj);
typedef somTP_ODRefCntObject_somIsA *somTD_ODRefCntObject_somIsA;
typedef boolean   SOMLINK somTP_ODRefCntObject_somIsInstanceOf(ODRefCntObject *somSelf,
		SOMClass* aClassObj);
typedef somTP_ODRefCntObject_somIsInstanceOf *somTD_ODRefCntObject_somIsInstanceOf;
typedef boolean   SOMLINK somTP_ODRefCntObject_somRespondsTo(ODRefCntObject *somSelf,
		somId mId);
typedef somTP_ODRefCntObject_somRespondsTo *somTD_ODRefCntObject_somRespondsTo;
typedef boolean   SOMLINK somTP_ODRefCntObject_somDispatch(ODRefCntObject *somSelf,
		somToken* retValue,
		somId methodId,
		va_list ap);
typedef somTP_ODRefCntObject_somDispatch *somTD_ODRefCntObject_somDispatch;
typedef boolean   SOMLINK somTP_ODRefCntObject_somClassDispatch(ODRefCntObject *somSelf,
		SOMClass* clsObj,
		somToken* retValue,
		somId methodId,
		va_list ap);
typedef somTP_ODRefCntObject_somClassDispatch *somTD_ODRefCntObject_somClassDispatch;
typedef boolean   SOMLINK somTP_ODRefCntObject_somCastObj(ODRefCntObject *somSelf,
		SOMClass* cls);
typedef somTP_ODRefCntObject_somCastObj *somTD_ODRefCntObject_somCastObj;
typedef boolean   SOMLINK somTP_ODRefCntObject_somResetObj(ODRefCntObject *somSelf);
typedef somTP_ODRefCntObject_somResetObj *somTD_ODRefCntObject_somResetObj;
typedef SOMObject*   SOMLINK somTP_ODRefCntObject_somPrintSelf(ODRefCntObject *somSelf);
typedef somTP_ODRefCntObject_somPrintSelf *somTD_ODRefCntObject_somPrintSelf;
typedef void   SOMLINK somTP_ODRefCntObject_somDumpSelf(ODRefCntObject *somSelf,
		long level);
typedef somTP_ODRefCntObject_somDumpSelf *somTD_ODRefCntObject_somDumpSelf;
typedef void   SOMLINK somTP_ODRefCntObject_somDumpSelfInt(ODRefCntObject *somSelf,
		long level);
typedef somTP_ODRefCntObject_somDumpSelfInt *somTD_ODRefCntObject_somDumpSelfInt;
}

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

// ODRefCntObject::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 (!_ODRefCntObject) ODRefCntObjectNewClass(ODRefCntObject_MajorVersion,ODRefCntObject_MinorVersion);
   return (void*)
      SOM_Resolve(_ODRefCntObject,SOMClass,somNewNoInit)
         ((SOMClass *)((void*)_ODRefCntObject));
}

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

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

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

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


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


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


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


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


/*
 * Reintroduce inherited methods
 */

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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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



};   /* ODRefCntObject */



#endif       /* SOM_ODRefCntObject_xh */
