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

#ifndef SOM_ODNameSpace_xh
#define SOM_ODNameSpace_xh

class ODNameSpace;

#define ODNameSpace_MajorVersion 1
#define ODNameSpace_MinorVersion 0

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

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

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

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

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

/* A procedure to create the ODNameSpace Class */
SOMEXTERN
#if (defined(SOM_Module_NamSpac_Source) || defined(ODNameSpace_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODNameSpace))
WIN32_DLLEXPORT
#else
WIN32_DLLIMPORT
#endif
SOMClass * SOMLINK ODNameSpaceNewClass(
		integer4,
		integer4 );

/* The API to the ODNameSpace class object, and the methods it introduces. */
SOMEXTERN struct ODNameSpaceClassDataStructure {
	SOMClass *classObject;
	somMToken GetName;
	somMToken GetType;
	somMToken GetParent;
	somMToken SetType;
	somMToken Unregister;
	somMToken Exists;
	somMToken WriteToFile;
	somMToken ReadFromFile;
	somMToken WriteToStorage;
	somMToken ReadFromStorage;
	somMToken reserved1;
	somMToken reserved2;
	somMToken reserved3;
	somMToken reserved4;
	somMToken reserved5;
	somMToken reserved6;
	somMToken reserved7;
}
#if !(defined(SOM_Module_NamSpac_Source) || defined(ODNameSpace_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODNameSpace))
WIN32_DLLIMPORT
#elif defined(_MSC_VER)||defined(_WIN32_DECL_PROTO)
WIN32_DLLEXPORT
#endif
SOMDLINK ODNameSpaceClassData;
#define _ODNameSpace ODNameSpaceClassData.classObject

/* The API to parentMtabs for ODNameSpace, and the instance data it introduces. */
SOMEXTERN struct ODNameSpaceCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken              instanceDataToken;
}
#if !(defined(SOM_Module_NamSpac_Source) || defined(ODNameSpace_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODNameSpace))
WIN32_DLLIMPORT
#elif defined(_MSC_VER)||defined(_WIN32_DECL_PROTO)
WIN32_DLLEXPORT
#endif
SOMDLINK ODNameSpaceCClassData;

/*
 * -- Typedefs for ODNameSpace Method Procedures
 */
extern "C" {
typedef ODISOStr   SOMLINK somTP_ODNameSpace_GetName(ODNameSpace *somSelf, Environment *ev);
typedef somTP_ODNameSpace_GetName *somTD_ODNameSpace_GetName;
typedef ODNSTypeSpec   SOMLINK somTP_ODNameSpace_GetType(ODNameSpace *somSelf, Environment *ev);
typedef somTP_ODNameSpace_GetType *somTD_ODNameSpace_GetType;
typedef ODNameSpace*   SOMLINK somTP_ODNameSpace_GetParent(ODNameSpace *somSelf, Environment *ev);
typedef somTP_ODNameSpace_GetParent *somTD_ODNameSpace_GetParent;
typedef void   SOMLINK somTP_ODNameSpace_SetType(ODNameSpace *somSelf, Environment *ev,
		ODNSTypeSpec type);
typedef somTP_ODNameSpace_SetType *somTD_ODNameSpace_SetType;
typedef void   SOMLINK somTP_ODNameSpace_Unregister(ODNameSpace *somSelf, Environment *ev,
		ODISOStr key);
typedef somTP_ODNameSpace_Unregister *somTD_ODNameSpace_Unregister;
typedef ODBoolean   SOMLINK somTP_ODNameSpace_Exists(ODNameSpace *somSelf, Environment *ev,
		ODISOStr key);
typedef somTP_ODNameSpace_Exists *somTD_ODNameSpace_Exists;
typedef void   SOMLINK somTP_ODNameSpace_WriteToFile(ODNameSpace *somSelf, Environment *ev,
		ODByteArray* file);
typedef somTP_ODNameSpace_WriteToFile *somTD_ODNameSpace_WriteToFile;
typedef void   SOMLINK somTP_ODNameSpace_ReadFromFile(ODNameSpace *somSelf, Environment *ev,
		ODByteArray* file);
typedef somTP_ODNameSpace_ReadFromFile *somTD_ODNameSpace_ReadFromFile;
typedef void   SOMLINK somTP_ODNameSpace_WriteToStorage(ODNameSpace *somSelf, Environment *ev,
		ODStorageUnitView* view);
typedef somTP_ODNameSpace_WriteToStorage *somTD_ODNameSpace_WriteToStorage;
typedef void   SOMLINK somTP_ODNameSpace_ReadFromStorage(ODNameSpace *somSelf, Environment *ev,
		ODStorageUnitView* view);
typedef somTP_ODNameSpace_ReadFromStorage *somTD_ODNameSpace_ReadFromStorage;

/*
 * -- Typedefs for Reintroduced Wrapper Methods
 */
typedef void   SOMLINK somTP_ODNameSpace_InitObject(ODNameSpace *somSelf, Environment *ev);
typedef somTP_ODNameSpace_InitObject *somTD_ODNameSpace_InitObject;
typedef ODBoolean   SOMLINK somTP_ODNameSpace_HasExtension(ODNameSpace *somSelf, Environment *ev,
		ODType extensionName);
typedef somTP_ODNameSpace_HasExtension *somTD_ODNameSpace_HasExtension;
typedef ODExtension*   SOMLINK somTP_ODNameSpace_AcquireExtension(ODNameSpace *somSelf, Environment *ev,
		ODType extensionName);
typedef somTP_ODNameSpace_AcquireExtension *somTD_ODNameSpace_AcquireExtension;
typedef void   SOMLINK somTP_ODNameSpace_ReleaseExtension(ODNameSpace *somSelf, Environment *ev,
		ODExtension* extension);
typedef somTP_ODNameSpace_ReleaseExtension *somTD_ODNameSpace_ReleaseExtension;
typedef ODSize   SOMLINK somTP_ODNameSpace_Purge(ODNameSpace *somSelf, Environment *ev,
		ODSize size);
typedef somTP_ODNameSpace_Purge *somTD_ODNameSpace_Purge;
typedef ODBoolean   SOMLINK somTP_ODNameSpace_IsEqualTo(ODNameSpace *somSelf, Environment *ev,
		ODObject* object);
typedef somTP_ODNameSpace_IsEqualTo *somTD_ODNameSpace_IsEqualTo;
typedef void   SOMLINK somTP_ODNameSpace_SubClassResponsibility(ODNameSpace *somSelf, Environment *ev);
typedef somTP_ODNameSpace_SubClassResponsibility *somTD_ODNameSpace_SubClassResponsibility;
typedef void   SOMLINK somTP_ODNameSpace_somInit(ODNameSpace *somSelf);
typedef somTP_ODNameSpace_somInit *somTD_ODNameSpace_somInit;
typedef void   SOMLINK somTP_ODNameSpace_somUninit(ODNameSpace *somSelf);
typedef somTP_ODNameSpace_somUninit *somTD_ODNameSpace_somUninit;
typedef void   SOMLINK somTP_ODNameSpace_somDefaultInit(ODNameSpace *somSelf,
		somInitCtrl* ctrl);
typedef somTP_ODNameSpace_somDefaultInit *somTD_ODNameSpace_somDefaultInit;
typedef void   SOMLINK somTP_ODNameSpace_somDestruct(ODNameSpace *somSelf,
		octet doFree,
		somDestructCtrl* ctrl);
typedef somTP_ODNameSpace_somDestruct *somTD_ODNameSpace_somDestruct;
typedef void   SOMLINK somTP_ODNameSpace_somDefaultCopyInit(ODNameSpace *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODNameSpace_somDefaultCopyInit *somTD_ODNameSpace_somDefaultCopyInit;
typedef ODNameSpace*   SOMLINK somTP_ODNameSpace_somDefaultAssign(ODNameSpace *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODNameSpace_somDefaultAssign *somTD_ODNameSpace_somDefaultAssign;
typedef void   SOMLINK somTP_ODNameSpace_somDefaultConstCopyInit(ODNameSpace *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODNameSpace_somDefaultConstCopyInit *somTD_ODNameSpace_somDefaultConstCopyInit;
typedef void   SOMLINK somTP_ODNameSpace_somDefaultVCopyInit(ODNameSpace *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODNameSpace_somDefaultVCopyInit *somTD_ODNameSpace_somDefaultVCopyInit;
typedef void   SOMLINK somTP_ODNameSpace_somDefaultConstVCopyInit(ODNameSpace *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODNameSpace_somDefaultConstVCopyInit *somTD_ODNameSpace_somDefaultConstVCopyInit;
typedef ODNameSpace*   SOMLINK somTP_ODNameSpace_somDefaultConstAssign(ODNameSpace *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODNameSpace_somDefaultConstAssign *somTD_ODNameSpace_somDefaultConstAssign;
typedef ODNameSpace*   SOMLINK somTP_ODNameSpace_somDefaultVAssign(ODNameSpace *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODNameSpace_somDefaultVAssign *somTD_ODNameSpace_somDefaultVAssign;
typedef ODNameSpace*   SOMLINK somTP_ODNameSpace_somDefaultConstVAssign(ODNameSpace *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODNameSpace_somDefaultConstVAssign *somTD_ODNameSpace_somDefaultConstVAssign;
typedef void   SOMLINK somTP_ODNameSpace_somFree(ODNameSpace *somSelf);
typedef somTP_ODNameSpace_somFree *somTD_ODNameSpace_somFree;
typedef SOMClass*   SOMLINK somTP_ODNameSpace_somGetClass(ODNameSpace *somSelf);
typedef somTP_ODNameSpace_somGetClass *somTD_ODNameSpace_somGetClass;
typedef string   SOMLINK somTP_ODNameSpace_somGetClassName(ODNameSpace *somSelf);
typedef somTP_ODNameSpace_somGetClassName *somTD_ODNameSpace_somGetClassName;
typedef long   SOMLINK somTP_ODNameSpace_somGetSize(ODNameSpace *somSelf);
typedef somTP_ODNameSpace_somGetSize *somTD_ODNameSpace_somGetSize;
typedef boolean   SOMLINK somTP_ODNameSpace_somIsA(ODNameSpace *somSelf,
		SOMClass* aClassObj);
typedef somTP_ODNameSpace_somIsA *somTD_ODNameSpace_somIsA;
typedef boolean   SOMLINK somTP_ODNameSpace_somIsInstanceOf(ODNameSpace *somSelf,
		SOMClass* aClassObj);
typedef somTP_ODNameSpace_somIsInstanceOf *somTD_ODNameSpace_somIsInstanceOf;
typedef boolean   SOMLINK somTP_ODNameSpace_somRespondsTo(ODNameSpace *somSelf,
		somId mId);
typedef somTP_ODNameSpace_somRespondsTo *somTD_ODNameSpace_somRespondsTo;
typedef boolean   SOMLINK somTP_ODNameSpace_somDispatch(ODNameSpace *somSelf,
		somToken* retValue,
		somId methodId,
		va_list ap);
typedef somTP_ODNameSpace_somDispatch *somTD_ODNameSpace_somDispatch;
typedef boolean   SOMLINK somTP_ODNameSpace_somClassDispatch(ODNameSpace *somSelf,
		SOMClass* clsObj,
		somToken* retValue,
		somId methodId,
		va_list ap);
typedef somTP_ODNameSpace_somClassDispatch *somTD_ODNameSpace_somClassDispatch;
typedef boolean   SOMLINK somTP_ODNameSpace_somCastObj(ODNameSpace *somSelf,
		SOMClass* cls);
typedef somTP_ODNameSpace_somCastObj *somTD_ODNameSpace_somCastObj;
typedef boolean   SOMLINK somTP_ODNameSpace_somResetObj(ODNameSpace *somSelf);
typedef somTP_ODNameSpace_somResetObj *somTD_ODNameSpace_somResetObj;
typedef SOMObject*   SOMLINK somTP_ODNameSpace_somPrintSelf(ODNameSpace *somSelf);
typedef somTP_ODNameSpace_somPrintSelf *somTD_ODNameSpace_somPrintSelf;
typedef void   SOMLINK somTP_ODNameSpace_somDumpSelf(ODNameSpace *somSelf,
		long level);
typedef somTP_ODNameSpace_somDumpSelf *somTD_ODNameSpace_somDumpSelf;
typedef void   SOMLINK somTP_ODNameSpace_somDumpSelfInt(ODNameSpace *somSelf,
		long level);
typedef somTP_ODNameSpace_somDumpSelfInt *somTD_ODNameSpace_somDumpSelfInt;
}

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

// ODNameSpace::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 (!_ODNameSpace) ODNameSpaceNewClass(ODNameSpace_MajorVersion,ODNameSpace_MinorVersion);
   return (void*)
      SOM_Resolve(_ODNameSpace,SOMClass,somNewNoInit)
         ((SOMClass *)((void*)_ODNameSpace));
}

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

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

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

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


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


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


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


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


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


/* method: Exists */
ODBoolean   Exists(Environment *ev,
		ODISOStr key)
{
#ifdef SOMCHKEXCEPT
   ODBoolean __somResult = 
      SOM_ResolveD(this,ODNameSpace,ODNameSpace,Exists)
	(this, ev,key);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODNameSpace,ODNameSpace,Exists)
	(this, ev,key);
#endif
}


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


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


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


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


/*
 * Reintroduce inherited methods
 */

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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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



};   /* ODNameSpace */



#endif       /* SOM_ODNameSpace_xh */
