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

#ifndef SOM_ODValueNameSpace_xh
#define SOM_ODValueNameSpace_xh

class ODValueNameSpace;

#define ODValueNameSpace_MajorVersion 1
#define ODValueNameSpace_MinorVersion 0

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

/* C++ parent defs */
#ifndef SOM_ODNameSpace_xh
#include <NamSpac.xh>
#endif

#ifndef ODValueNameSpace_API
#define ODValueNameSpace_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;
class ODValueNameSpace;
class ODValueIterator;

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

/* A procedure to create the ODValueNameSpace Class */
SOMEXTERN
#if (defined(SOM_Module_ValueNS_Source) || defined(ODValueNameSpace_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODValueNameSpace))
WIN32_DLLEXPORT
#else
WIN32_DLLIMPORT
#endif
SOMClass * SOMLINK ODValueNameSpaceNewClass(
		integer4,
		integer4 );

/* The API to the ODValueNameSpace class object, and the methods it introduces. */
SOMEXTERN struct ODValueNameSpaceClassDataStructure {
	SOMClass *classObject;
	somMToken Register;
	somMToken GetEntry;
	somMToken CreateIterator;
	somMToken reserved1;
	somMToken reserved2;
	somMToken reserved3;
}
#if !(defined(SOM_Module_ValueNS_Source) || defined(ODValueNameSpace_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODValueNameSpace))
WIN32_DLLIMPORT
#elif defined(_MSC_VER)||defined(_WIN32_DECL_PROTO)
WIN32_DLLEXPORT
#endif
SOMDLINK ODValueNameSpaceClassData;
#define _ODValueNameSpace ODValueNameSpaceClassData.classObject

/* The API to parentMtabs for ODValueNameSpace, and the instance data it introduces. */
SOMEXTERN struct ODValueNameSpaceCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken              instanceDataToken;
}
#if !(defined(SOM_Module_ValueNS_Source) || defined(ODValueNameSpace_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODValueNameSpace))
WIN32_DLLIMPORT
#elif defined(_MSC_VER)||defined(_WIN32_DECL_PROTO)
WIN32_DLLEXPORT
#endif
SOMDLINK ODValueNameSpaceCClassData;

/*
 * -- Typedefs for ODValueNameSpace Method Procedures
 */
extern "C" {
typedef void   SOMLINK somTP_ODValueNameSpace_Register(ODValueNameSpace *somSelf, Environment *ev,
		ODISOStr key,
		ODByteArray* value);
typedef somTP_ODValueNameSpace_Register *somTD_ODValueNameSpace_Register;
typedef ODBoolean   SOMLINK somTP_ODValueNameSpace_GetEntry(ODValueNameSpace *somSelf, Environment *ev,
		ODISOStr key,
		ODByteArray* value);
typedef somTP_ODValueNameSpace_GetEntry *somTD_ODValueNameSpace_GetEntry;
typedef ODValueIterator*   SOMLINK somTP_ODValueNameSpace_CreateIterator(ODValueNameSpace *somSelf, Environment *ev);
typedef somTP_ODValueNameSpace_CreateIterator *somTD_ODValueNameSpace_CreateIterator;

/*
 * -- Typedefs for Reintroduced Wrapper Methods
 */
typedef ODISOStr   SOMLINK somTP_ODValueNameSpace_GetName(ODValueNameSpace *somSelf, Environment *ev);
typedef somTP_ODValueNameSpace_GetName *somTD_ODValueNameSpace_GetName;
typedef ODNSTypeSpec   SOMLINK somTP_ODValueNameSpace_GetType(ODValueNameSpace *somSelf, Environment *ev);
typedef somTP_ODValueNameSpace_GetType *somTD_ODValueNameSpace_GetType;
typedef ODNameSpace*   SOMLINK somTP_ODValueNameSpace_GetParent(ODValueNameSpace *somSelf, Environment *ev);
typedef somTP_ODValueNameSpace_GetParent *somTD_ODValueNameSpace_GetParent;
typedef void   SOMLINK somTP_ODValueNameSpace_SetType(ODValueNameSpace *somSelf, Environment *ev,
		ODNSTypeSpec type);
typedef somTP_ODValueNameSpace_SetType *somTD_ODValueNameSpace_SetType;
typedef void   SOMLINK somTP_ODValueNameSpace_Unregister(ODValueNameSpace *somSelf, Environment *ev,
		ODISOStr key);
typedef somTP_ODValueNameSpace_Unregister *somTD_ODValueNameSpace_Unregister;
typedef ODBoolean   SOMLINK somTP_ODValueNameSpace_Exists(ODValueNameSpace *somSelf, Environment *ev,
		ODISOStr key);
typedef somTP_ODValueNameSpace_Exists *somTD_ODValueNameSpace_Exists;
typedef void   SOMLINK somTP_ODValueNameSpace_WriteToFile(ODValueNameSpace *somSelf, Environment *ev,
		ODByteArray* file);
typedef somTP_ODValueNameSpace_WriteToFile *somTD_ODValueNameSpace_WriteToFile;
typedef void   SOMLINK somTP_ODValueNameSpace_ReadFromFile(ODValueNameSpace *somSelf, Environment *ev,
		ODByteArray* file);
typedef somTP_ODValueNameSpace_ReadFromFile *somTD_ODValueNameSpace_ReadFromFile;
typedef void   SOMLINK somTP_ODValueNameSpace_WriteToStorage(ODValueNameSpace *somSelf, Environment *ev,
		ODStorageUnitView* view);
typedef somTP_ODValueNameSpace_WriteToStorage *somTD_ODValueNameSpace_WriteToStorage;
typedef void   SOMLINK somTP_ODValueNameSpace_ReadFromStorage(ODValueNameSpace *somSelf, Environment *ev,
		ODStorageUnitView* view);
typedef somTP_ODValueNameSpace_ReadFromStorage *somTD_ODValueNameSpace_ReadFromStorage;
typedef void   SOMLINK somTP_ODValueNameSpace_somUninit(ODValueNameSpace *somSelf);
typedef somTP_ODValueNameSpace_somUninit *somTD_ODValueNameSpace_somUninit;
typedef ODSize   SOMLINK somTP_ODValueNameSpace_Purge(ODValueNameSpace *somSelf, Environment *ev,
		ODSize size);
typedef somTP_ODValueNameSpace_Purge *somTD_ODValueNameSpace_Purge;
typedef void   SOMLINK somTP_ODValueNameSpace_InitObject(ODValueNameSpace *somSelf, Environment *ev);
typedef somTP_ODValueNameSpace_InitObject *somTD_ODValueNameSpace_InitObject;
typedef ODBoolean   SOMLINK somTP_ODValueNameSpace_HasExtension(ODValueNameSpace *somSelf, Environment *ev,
		ODType extensionName);
typedef somTP_ODValueNameSpace_HasExtension *somTD_ODValueNameSpace_HasExtension;
typedef ODExtension*   SOMLINK somTP_ODValueNameSpace_AcquireExtension(ODValueNameSpace *somSelf, Environment *ev,
		ODType extensionName);
typedef somTP_ODValueNameSpace_AcquireExtension *somTD_ODValueNameSpace_AcquireExtension;
typedef void   SOMLINK somTP_ODValueNameSpace_ReleaseExtension(ODValueNameSpace *somSelf, Environment *ev,
		ODExtension* extension);
typedef somTP_ODValueNameSpace_ReleaseExtension *somTD_ODValueNameSpace_ReleaseExtension;
typedef ODBoolean   SOMLINK somTP_ODValueNameSpace_IsEqualTo(ODValueNameSpace *somSelf, Environment *ev,
		ODObject* object);
typedef somTP_ODValueNameSpace_IsEqualTo *somTD_ODValueNameSpace_IsEqualTo;
typedef void   SOMLINK somTP_ODValueNameSpace_SubClassResponsibility(ODValueNameSpace *somSelf, Environment *ev);
typedef somTP_ODValueNameSpace_SubClassResponsibility *somTD_ODValueNameSpace_SubClassResponsibility;
typedef void   SOMLINK somTP_ODValueNameSpace_somInit(ODValueNameSpace *somSelf);
typedef somTP_ODValueNameSpace_somInit *somTD_ODValueNameSpace_somInit;
typedef void   SOMLINK somTP_ODValueNameSpace_somDefaultInit(ODValueNameSpace *somSelf,
		somInitCtrl* ctrl);
typedef somTP_ODValueNameSpace_somDefaultInit *somTD_ODValueNameSpace_somDefaultInit;
typedef void   SOMLINK somTP_ODValueNameSpace_somDestruct(ODValueNameSpace *somSelf,
		octet doFree,
		somDestructCtrl* ctrl);
typedef somTP_ODValueNameSpace_somDestruct *somTD_ODValueNameSpace_somDestruct;
typedef void   SOMLINK somTP_ODValueNameSpace_somDefaultCopyInit(ODValueNameSpace *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODValueNameSpace_somDefaultCopyInit *somTD_ODValueNameSpace_somDefaultCopyInit;
typedef ODValueNameSpace*   SOMLINK somTP_ODValueNameSpace_somDefaultAssign(ODValueNameSpace *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODValueNameSpace_somDefaultAssign *somTD_ODValueNameSpace_somDefaultAssign;
typedef void   SOMLINK somTP_ODValueNameSpace_somDefaultConstCopyInit(ODValueNameSpace *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODValueNameSpace_somDefaultConstCopyInit *somTD_ODValueNameSpace_somDefaultConstCopyInit;
typedef void   SOMLINK somTP_ODValueNameSpace_somDefaultVCopyInit(ODValueNameSpace *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODValueNameSpace_somDefaultVCopyInit *somTD_ODValueNameSpace_somDefaultVCopyInit;
typedef void   SOMLINK somTP_ODValueNameSpace_somDefaultConstVCopyInit(ODValueNameSpace *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODValueNameSpace_somDefaultConstVCopyInit *somTD_ODValueNameSpace_somDefaultConstVCopyInit;
typedef ODValueNameSpace*   SOMLINK somTP_ODValueNameSpace_somDefaultConstAssign(ODValueNameSpace *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODValueNameSpace_somDefaultConstAssign *somTD_ODValueNameSpace_somDefaultConstAssign;
typedef ODValueNameSpace*   SOMLINK somTP_ODValueNameSpace_somDefaultVAssign(ODValueNameSpace *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODValueNameSpace_somDefaultVAssign *somTD_ODValueNameSpace_somDefaultVAssign;
typedef ODValueNameSpace*   SOMLINK somTP_ODValueNameSpace_somDefaultConstVAssign(ODValueNameSpace *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODValueNameSpace_somDefaultConstVAssign *somTD_ODValueNameSpace_somDefaultConstVAssign;
typedef void   SOMLINK somTP_ODValueNameSpace_somFree(ODValueNameSpace *somSelf);
typedef somTP_ODValueNameSpace_somFree *somTD_ODValueNameSpace_somFree;
typedef SOMClass*   SOMLINK somTP_ODValueNameSpace_somGetClass(ODValueNameSpace *somSelf);
typedef somTP_ODValueNameSpace_somGetClass *somTD_ODValueNameSpace_somGetClass;
typedef string   SOMLINK somTP_ODValueNameSpace_somGetClassName(ODValueNameSpace *somSelf);
typedef somTP_ODValueNameSpace_somGetClassName *somTD_ODValueNameSpace_somGetClassName;
typedef long   SOMLINK somTP_ODValueNameSpace_somGetSize(ODValueNameSpace *somSelf);
typedef somTP_ODValueNameSpace_somGetSize *somTD_ODValueNameSpace_somGetSize;
typedef boolean   SOMLINK somTP_ODValueNameSpace_somIsA(ODValueNameSpace *somSelf,
		SOMClass* aClassObj);
typedef somTP_ODValueNameSpace_somIsA *somTD_ODValueNameSpace_somIsA;
typedef boolean   SOMLINK somTP_ODValueNameSpace_somIsInstanceOf(ODValueNameSpace *somSelf,
		SOMClass* aClassObj);
typedef somTP_ODValueNameSpace_somIsInstanceOf *somTD_ODValueNameSpace_somIsInstanceOf;
typedef boolean   SOMLINK somTP_ODValueNameSpace_somRespondsTo(ODValueNameSpace *somSelf,
		somId mId);
typedef somTP_ODValueNameSpace_somRespondsTo *somTD_ODValueNameSpace_somRespondsTo;
typedef boolean   SOMLINK somTP_ODValueNameSpace_somDispatch(ODValueNameSpace *somSelf,
		somToken* retValue,
		somId methodId,
		va_list ap);
typedef somTP_ODValueNameSpace_somDispatch *somTD_ODValueNameSpace_somDispatch;
typedef boolean   SOMLINK somTP_ODValueNameSpace_somClassDispatch(ODValueNameSpace *somSelf,
		SOMClass* clsObj,
		somToken* retValue,
		somId methodId,
		va_list ap);
typedef somTP_ODValueNameSpace_somClassDispatch *somTD_ODValueNameSpace_somClassDispatch;
typedef boolean   SOMLINK somTP_ODValueNameSpace_somCastObj(ODValueNameSpace *somSelf,
		SOMClass* cls);
typedef somTP_ODValueNameSpace_somCastObj *somTD_ODValueNameSpace_somCastObj;
typedef boolean   SOMLINK somTP_ODValueNameSpace_somResetObj(ODValueNameSpace *somSelf);
typedef somTP_ODValueNameSpace_somResetObj *somTD_ODValueNameSpace_somResetObj;
typedef SOMObject*   SOMLINK somTP_ODValueNameSpace_somPrintSelf(ODValueNameSpace *somSelf);
typedef somTP_ODValueNameSpace_somPrintSelf *somTD_ODValueNameSpace_somPrintSelf;
typedef void   SOMLINK somTP_ODValueNameSpace_somDumpSelf(ODValueNameSpace *somSelf,
		long level);
typedef somTP_ODValueNameSpace_somDumpSelf *somTD_ODValueNameSpace_somDumpSelf;
typedef void   SOMLINK somTP_ODValueNameSpace_somDumpSelfInt(ODValueNameSpace *somSelf,
		long level);
typedef somTP_ODValueNameSpace_somDumpSelfInt *somTD_ODValueNameSpace_somDumpSelfInt;
}

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

// ODValueNameSpace::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 (!_ODValueNameSpace) ODValueNameSpaceNewClass(ODValueNameSpace_MajorVersion,ODValueNameSpace_MinorVersion);
   return (void*)
      SOM_Resolve(_ODValueNameSpace,SOMClass,somNewNoInit)
         ((SOMClass *)((void*)_ODValueNameSpace));
}

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

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

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

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


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


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


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


/*
 * Reintroduce inherited methods
 */

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


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


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


/* method: SetType */
void   SetType(Environment *ev,
		ODNSTypeSpec type)
{
   SOM_ResolveD(this,ODValueNameSpace,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,ODValueNameSpace,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,ODValueNameSpace,ODNameSpace,Exists)
	(this, ev,key);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODValueNameSpace,ODNameSpace,Exists)
	(this, ev,key);
#endif
}


/* method: WriteToFile */
void   WriteToFile(Environment *ev,
		ODByteArray* file)
{
   SOM_ResolveD(this,ODValueNameSpace,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,ODValueNameSpace,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,ODValueNameSpace,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,ODValueNameSpace,ODNameSpace,ReadFromStorage)
	(this, ev,view);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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



};   /* ODValueNameSpace */



#endif       /* SOM_ODValueNameSpace_xh */
