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

#ifndef SOM_ODContainer_xh
#define SOM_ODContainer_xh

class ODContainer;

#define ODContainer_MajorVersion 1
#define ODContainer_MinorVersion 0

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

/* C++ parent defs */
#ifndef SOM_ODRefCntObject_xh
#include <RefCtObj.xh>
#endif

#ifndef ODContainer_API
#define ODContainer_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;
class ODStorageSystem;
class ODContainer;
class ODDocument;

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

/* A procedure to create the ODContainer Class */
SOMEXTERN
#if (defined(SOM_Module_ODCtr_Source) || defined(ODContainer_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODContainer))
WIN32_DLLEXPORT
#else
WIN32_DLLIMPORT
#endif
SOMClass * SOMLINK ODContainerNewClass(
		integer4,
		integer4 );

/* The API to the ODContainer class object, and the methods it introduces. */
SOMEXTERN struct ODContainerClassDataStructure {
	SOMClass *classObject;
	somMToken GetStorageSystem;
	somMToken GetID;
	somMToken GetName;
	somMToken SetName;
	somMToken AcquireDocument;
	somMToken reserved1;
	somMToken reserved2;
	somMToken reserved3;
	somMToken reserved4;
	somMToken reserved5;
}
#if !(defined(SOM_Module_ODCtr_Source) || defined(ODContainer_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODContainer))
WIN32_DLLIMPORT
#elif defined(_MSC_VER)||defined(_WIN32_DECL_PROTO)
WIN32_DLLEXPORT
#endif
SOMDLINK ODContainerClassData;
#define _ODContainer ODContainerClassData.classObject

/* The API to parentMtabs for ODContainer, and the instance data it introduces. */
SOMEXTERN struct ODContainerCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken              instanceDataToken;
}
#if !(defined(SOM_Module_ODCtr_Source) || defined(ODContainer_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODContainer))
WIN32_DLLIMPORT
#elif defined(_MSC_VER)||defined(_WIN32_DECL_PROTO)
WIN32_DLLEXPORT
#endif
SOMDLINK ODContainerCClassData;

/*
 * -- Typedefs for ODContainer Method Procedures
 */
extern "C" {
typedef ODStorageSystem*   SOMLINK somTP_ODContainer_GetStorageSystem(ODContainer *somSelf, Environment *ev);
typedef somTP_ODContainer_GetStorageSystem *somTD_ODContainer_GetStorageSystem;
typedef ODContainerID   SOMLINK somTP_ODContainer_GetID(ODContainer *somSelf, Environment *ev);
typedef somTP_ODContainer_GetID *somTD_ODContainer_GetID;
typedef ODContainerName   SOMLINK somTP_ODContainer_GetName(ODContainer *somSelf, Environment *ev);
typedef somTP_ODContainer_GetName *somTD_ODContainer_GetName;
typedef void   SOMLINK somTP_ODContainer_SetName(ODContainer *somSelf, Environment *ev,
		ODContainerName* name);
typedef somTP_ODContainer_SetName *somTD_ODContainer_SetName;
typedef ODDocument*   SOMLINK somTP_ODContainer_AcquireDocument(ODContainer *somSelf, Environment *ev,
		ODDocumentID id);
typedef somTP_ODContainer_AcquireDocument *somTD_ODContainer_AcquireDocument;

/*
 * -- Typedefs for Reintroduced Wrapper Methods
 */
typedef void   SOMLINK somTP_ODContainer_InitRefCntObject(ODContainer *somSelf, Environment *ev);
typedef somTP_ODContainer_InitRefCntObject *somTD_ODContainer_InitRefCntObject;
typedef void   SOMLINK somTP_ODContainer_Acquire(ODContainer *somSelf, Environment *ev);
typedef somTP_ODContainer_Acquire *somTD_ODContainer_Acquire;
typedef void   SOMLINK somTP_ODContainer_Release(ODContainer *somSelf, Environment *ev);
typedef somTP_ODContainer_Release *somTD_ODContainer_Release;
typedef ODULong   SOMLINK somTP_ODContainer_GetRefCount(ODContainer *somSelf, Environment *ev);
typedef somTP_ODContainer_GetRefCount *somTD_ODContainer_GetRefCount;
typedef void   SOMLINK somTP_ODContainer_somUninit(ODContainer *somSelf);
typedef somTP_ODContainer_somUninit *somTD_ODContainer_somUninit;
typedef void   SOMLINK somTP_ODContainer_InitObject(ODContainer *somSelf, Environment *ev);
typedef somTP_ODContainer_InitObject *somTD_ODContainer_InitObject;
typedef ODBoolean   SOMLINK somTP_ODContainer_HasExtension(ODContainer *somSelf, Environment *ev,
		ODType extensionName);
typedef somTP_ODContainer_HasExtension *somTD_ODContainer_HasExtension;
typedef ODExtension*   SOMLINK somTP_ODContainer_AcquireExtension(ODContainer *somSelf, Environment *ev,
		ODType extensionName);
typedef somTP_ODContainer_AcquireExtension *somTD_ODContainer_AcquireExtension;
typedef void   SOMLINK somTP_ODContainer_ReleaseExtension(ODContainer *somSelf, Environment *ev,
		ODExtension* extension);
typedef somTP_ODContainer_ReleaseExtension *somTD_ODContainer_ReleaseExtension;
typedef ODSize   SOMLINK somTP_ODContainer_Purge(ODContainer *somSelf, Environment *ev,
		ODSize size);
typedef somTP_ODContainer_Purge *somTD_ODContainer_Purge;
typedef ODBoolean   SOMLINK somTP_ODContainer_IsEqualTo(ODContainer *somSelf, Environment *ev,
		ODObject* object);
typedef somTP_ODContainer_IsEqualTo *somTD_ODContainer_IsEqualTo;
typedef void   SOMLINK somTP_ODContainer_SubClassResponsibility(ODContainer *somSelf, Environment *ev);
typedef somTP_ODContainer_SubClassResponsibility *somTD_ODContainer_SubClassResponsibility;
typedef void   SOMLINK somTP_ODContainer_somInit(ODContainer *somSelf);
typedef somTP_ODContainer_somInit *somTD_ODContainer_somInit;
typedef void   SOMLINK somTP_ODContainer_somDefaultInit(ODContainer *somSelf,
		somInitCtrl* ctrl);
typedef somTP_ODContainer_somDefaultInit *somTD_ODContainer_somDefaultInit;
typedef void   SOMLINK somTP_ODContainer_somDestruct(ODContainer *somSelf,
		octet doFree,
		somDestructCtrl* ctrl);
typedef somTP_ODContainer_somDestruct *somTD_ODContainer_somDestruct;
typedef void   SOMLINK somTP_ODContainer_somDefaultCopyInit(ODContainer *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODContainer_somDefaultCopyInit *somTD_ODContainer_somDefaultCopyInit;
typedef ODContainer*   SOMLINK somTP_ODContainer_somDefaultAssign(ODContainer *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODContainer_somDefaultAssign *somTD_ODContainer_somDefaultAssign;
typedef void   SOMLINK somTP_ODContainer_somDefaultConstCopyInit(ODContainer *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODContainer_somDefaultConstCopyInit *somTD_ODContainer_somDefaultConstCopyInit;
typedef void   SOMLINK somTP_ODContainer_somDefaultVCopyInit(ODContainer *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODContainer_somDefaultVCopyInit *somTD_ODContainer_somDefaultVCopyInit;
typedef void   SOMLINK somTP_ODContainer_somDefaultConstVCopyInit(ODContainer *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODContainer_somDefaultConstVCopyInit *somTD_ODContainer_somDefaultConstVCopyInit;
typedef ODContainer*   SOMLINK somTP_ODContainer_somDefaultConstAssign(ODContainer *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODContainer_somDefaultConstAssign *somTD_ODContainer_somDefaultConstAssign;
typedef ODContainer*   SOMLINK somTP_ODContainer_somDefaultVAssign(ODContainer *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODContainer_somDefaultVAssign *somTD_ODContainer_somDefaultVAssign;
typedef ODContainer*   SOMLINK somTP_ODContainer_somDefaultConstVAssign(ODContainer *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODContainer_somDefaultConstVAssign *somTD_ODContainer_somDefaultConstVAssign;
typedef void   SOMLINK somTP_ODContainer_somFree(ODContainer *somSelf);
typedef somTP_ODContainer_somFree *somTD_ODContainer_somFree;
typedef SOMClass*   SOMLINK somTP_ODContainer_somGetClass(ODContainer *somSelf);
typedef somTP_ODContainer_somGetClass *somTD_ODContainer_somGetClass;
typedef string   SOMLINK somTP_ODContainer_somGetClassName(ODContainer *somSelf);
typedef somTP_ODContainer_somGetClassName *somTD_ODContainer_somGetClassName;
typedef long   SOMLINK somTP_ODContainer_somGetSize(ODContainer *somSelf);
typedef somTP_ODContainer_somGetSize *somTD_ODContainer_somGetSize;
typedef boolean   SOMLINK somTP_ODContainer_somIsA(ODContainer *somSelf,
		SOMClass* aClassObj);
typedef somTP_ODContainer_somIsA *somTD_ODContainer_somIsA;
typedef boolean   SOMLINK somTP_ODContainer_somIsInstanceOf(ODContainer *somSelf,
		SOMClass* aClassObj);
typedef somTP_ODContainer_somIsInstanceOf *somTD_ODContainer_somIsInstanceOf;
typedef boolean   SOMLINK somTP_ODContainer_somRespondsTo(ODContainer *somSelf,
		somId mId);
typedef somTP_ODContainer_somRespondsTo *somTD_ODContainer_somRespondsTo;
typedef boolean   SOMLINK somTP_ODContainer_somDispatch(ODContainer *somSelf,
		somToken* retValue,
		somId methodId,
		va_list ap);
typedef somTP_ODContainer_somDispatch *somTD_ODContainer_somDispatch;
typedef boolean   SOMLINK somTP_ODContainer_somClassDispatch(ODContainer *somSelf,
		SOMClass* clsObj,
		somToken* retValue,
		somId methodId,
		va_list ap);
typedef somTP_ODContainer_somClassDispatch *somTD_ODContainer_somClassDispatch;
typedef boolean   SOMLINK somTP_ODContainer_somCastObj(ODContainer *somSelf,
		SOMClass* cls);
typedef somTP_ODContainer_somCastObj *somTD_ODContainer_somCastObj;
typedef boolean   SOMLINK somTP_ODContainer_somResetObj(ODContainer *somSelf);
typedef somTP_ODContainer_somResetObj *somTD_ODContainer_somResetObj;
typedef SOMObject*   SOMLINK somTP_ODContainer_somPrintSelf(ODContainer *somSelf);
typedef somTP_ODContainer_somPrintSelf *somTD_ODContainer_somPrintSelf;
typedef void   SOMLINK somTP_ODContainer_somDumpSelf(ODContainer *somSelf,
		long level);
typedef somTP_ODContainer_somDumpSelf *somTD_ODContainer_somDumpSelf;
typedef void   SOMLINK somTP_ODContainer_somDumpSelfInt(ODContainer *somSelf,
		long level);
typedef somTP_ODContainer_somDumpSelfInt *somTD_ODContainer_somDumpSelfInt;
}

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

// ODContainer::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 (!_ODContainer) ODContainerNewClass(ODContainer_MajorVersion,ODContainer_MinorVersion);
   return (void*)
      SOM_Resolve(_ODContainer,SOMClass,somNewNoInit)
         ((SOMClass *)((void*)_ODContainer));
}

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

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

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

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


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


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


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


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


/* method: AcquireDocument */
ODDocument*   AcquireDocument(Environment *ev,
		ODDocumentID id)
{
#ifdef SOMCHKEXCEPT
   ODDocument* __somResult = 
      SOM_ResolveD(this,ODContainer,ODContainer,AcquireDocument)
	(this, ev,id);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODContainer,ODContainer,AcquireDocument)
	(this, ev,id);
#endif
}


/*
 * Reintroduce inherited methods
 */

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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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



};   /* ODContainer */



#endif       /* SOM_ODContainer_xh */
