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

#ifndef SOM_ODStorageUnitView_xh
#define SOM_ODStorageUnitView_xh

class ODStorageUnitView;

#define ODStorageUnitView_MajorVersion 1
#define ODStorageUnitView_MinorVersion 0

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

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

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

/*
 * Start of user-defined types:
 */
class SOMClass;
class SOMObject;
class ODFrame;
class ODFacet;
class ODPlatformCanvas;
class ODObject;
class ODExtension;
class ODStorageUnitView;
class ODStorageUnit;
class ODStorageUnitCursor;
class ODDraft;
class ODStorageUnitRefIterator;
class ODPart;

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

/* A procedure to create the ODStorageUnitView Class */
SOMEXTERN
#if (defined(SOM_Module_SUView_Source) || defined(ODStorageUnitView_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODStorageUnitView))
WIN32_DLLEXPORT
#else
WIN32_DLLIMPORT
#endif
SOMClass * SOMLINK ODStorageUnitViewNewClass(
		integer4,
		integer4 );

/* The API to the ODStorageUnitView class object, and the methods it introduces. */
SOMEXTERN struct ODStorageUnitViewClassDataStructure {
	SOMClass *classObject;
	somMToken reserved1;
	somMToken reserved2;
	somMToken reserved3;
	somMToken GetStorageUnit;
	somMToken GetCursor;
	somMToken Externalize;
	somMToken Internalize;
	somMToken GetID;
	somMToken GetName;
	somMToken SetName;
	somMToken AddProperty;
	somMToken AddValue;
	somMToken Remove;
	somMToken CloneInto;
	somMToken GetProperty;
	somMToken GetType;
	somMToken SetType;
	somMToken SetOffset;
	somMToken GetOffset;
	somMToken GetValue;
	somMToken SetValue;
	somMToken InsertValue;
	somMToken DeleteValue;
	somMToken GetSize;
	somMToken IsValidStorageUnitRef;
	somMToken GetStrongStorageUnitRef;
	somMToken GetWeakStorageUnitRef;
	somMToken IsStrongStorageUnitRef;
	somMToken IsWeakStorageUnitRef;
	somMToken RemoveStorageUnitRef;
	somMToken GetIDFromStorageUnitRef;
	somMToken CreateStorageUnitRefIterator;
	somMToken GetGenerationNumber;
	somMToken IncrementGenerationNumber;
	somMToken IsPromiseValue;
	somMToken SetPromiseValue;
	somMToken GetPromiseValue;
}
#if !(defined(SOM_Module_SUView_Source) || defined(ODStorageUnitView_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODStorageUnitView))
WIN32_DLLIMPORT
#elif defined(_MSC_VER)||defined(_WIN32_DECL_PROTO)
WIN32_DLLEXPORT
#endif
SOMDLINK ODStorageUnitViewClassData;
#define _ODStorageUnitView ODStorageUnitViewClassData.classObject

/* The API to parentMtabs for ODStorageUnitView, and the instance data it introduces. */
SOMEXTERN struct ODStorageUnitViewCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken              instanceDataToken;
}
#if !(defined(SOM_Module_SUView_Source) || defined(ODStorageUnitView_Class_Source) || defined (SOM_DONT_IMPORT_CLASS_ODStorageUnitView))
WIN32_DLLIMPORT
#elif defined(_MSC_VER)||defined(_WIN32_DECL_PROTO)
WIN32_DLLEXPORT
#endif
SOMDLINK ODStorageUnitViewCClassData;

/*
 * -- Typedefs for ODStorageUnitView Method Procedures
 */
extern "C" {
typedef ODStorageUnit*   SOMLINK somTP_ODStorageUnitView_GetStorageUnit(ODStorageUnitView *somSelf, Environment *ev);
typedef somTP_ODStorageUnitView_GetStorageUnit *somTD_ODStorageUnitView_GetStorageUnit;
typedef ODStorageUnitCursor*   SOMLINK somTP_ODStorageUnitView_GetCursor(ODStorageUnitView *somSelf, Environment *ev);
typedef somTP_ODStorageUnitView_GetCursor *somTD_ODStorageUnitView_GetCursor;
typedef ODStorageUnitView*   SOMLINK somTP_ODStorageUnitView_Externalize(ODStorageUnitView *somSelf, Environment *ev);
typedef somTP_ODStorageUnitView_Externalize *somTD_ODStorageUnitView_Externalize;
typedef ODStorageUnitView*   SOMLINK somTP_ODStorageUnitView_Internalize(ODStorageUnitView *somSelf, Environment *ev);
typedef somTP_ODStorageUnitView_Internalize *somTD_ODStorageUnitView_Internalize;
typedef ODID   SOMLINK somTP_ODStorageUnitView_GetID(ODStorageUnitView *somSelf, Environment *ev);
typedef somTP_ODStorageUnitView_GetID *somTD_ODStorageUnitView_GetID;
typedef ODStorageUnitName   SOMLINK somTP_ODStorageUnitView_GetName(ODStorageUnitView *somSelf, Environment *ev);
typedef somTP_ODStorageUnitView_GetName *somTD_ODStorageUnitView_GetName;
typedef void   SOMLINK somTP_ODStorageUnitView_SetName(ODStorageUnitView *somSelf, Environment *ev,
		ODStorageUnitName name);
typedef somTP_ODStorageUnitView_SetName *somTD_ODStorageUnitView_SetName;
typedef ODStorageUnitView*   SOMLINK somTP_ODStorageUnitView_AddProperty(ODStorageUnitView *somSelf, Environment *ev,
		ODPropertyName propertyName);
typedef somTP_ODStorageUnitView_AddProperty *somTD_ODStorageUnitView_AddProperty;
typedef ODStorageUnitView*   SOMLINK somTP_ODStorageUnitView_AddValue(ODStorageUnitView *somSelf, Environment *ev,
		ODValueType type);
typedef somTP_ODStorageUnitView_AddValue *somTD_ODStorageUnitView_AddValue;
typedef ODStorageUnitView*   SOMLINK somTP_ODStorageUnitView_Remove(ODStorageUnitView *somSelf, Environment *ev);
typedef somTP_ODStorageUnitView_Remove *somTD_ODStorageUnitView_Remove;
typedef void   SOMLINK somTP_ODStorageUnitView_CloneInto(ODStorageUnitView *somSelf, Environment *ev,
		ODDraftKey key,
		ODStorageUnit* destStorageUnit,
		ODID scopeID);
typedef somTP_ODStorageUnitView_CloneInto *somTD_ODStorageUnitView_CloneInto;
typedef ODPropertyName   SOMLINK somTP_ODStorageUnitView_GetProperty(ODStorageUnitView *somSelf, Environment *ev);
typedef somTP_ODStorageUnitView_GetProperty *somTD_ODStorageUnitView_GetProperty;
typedef ODValueType   SOMLINK somTP_ODStorageUnitView_GetType(ODStorageUnitView *somSelf, Environment *ev);
typedef somTP_ODStorageUnitView_GetType *somTD_ODStorageUnitView_GetType;
typedef void   SOMLINK somTP_ODStorageUnitView_SetType(ODStorageUnitView *somSelf, Environment *ev,
		ODValueType valueType);
typedef somTP_ODStorageUnitView_SetType *somTD_ODStorageUnitView_SetType;
typedef void   SOMLINK somTP_ODStorageUnitView_SetOffset(ODStorageUnitView *somSelf, Environment *ev,
		ODULong offset);
typedef somTP_ODStorageUnitView_SetOffset *somTD_ODStorageUnitView_SetOffset;
typedef ODULong   SOMLINK somTP_ODStorageUnitView_GetOffset(ODStorageUnitView *somSelf, Environment *ev);
typedef somTP_ODStorageUnitView_GetOffset *somTD_ODStorageUnitView_GetOffset;
typedef ODULong   SOMLINK somTP_ODStorageUnitView_GetValue(ODStorageUnitView *somSelf, Environment *ev,
		ODULong length,
		ODByteArray* value);
typedef somTP_ODStorageUnitView_GetValue *somTD_ODStorageUnitView_GetValue;
typedef void   SOMLINK somTP_ODStorageUnitView_SetValue(ODStorageUnitView *somSelf, Environment *ev,
		ODByteArray* value);
typedef somTP_ODStorageUnitView_SetValue *somTD_ODStorageUnitView_SetValue;
typedef void   SOMLINK somTP_ODStorageUnitView_InsertValue(ODStorageUnitView *somSelf, Environment *ev,
		ODByteArray* value);
typedef somTP_ODStorageUnitView_InsertValue *somTD_ODStorageUnitView_InsertValue;
typedef void   SOMLINK somTP_ODStorageUnitView_DeleteValue(ODStorageUnitView *somSelf, Environment *ev,
		ODULong length);
typedef somTP_ODStorageUnitView_DeleteValue *somTD_ODStorageUnitView_DeleteValue;
typedef ODULong   SOMLINK somTP_ODStorageUnitView_GetSize(ODStorageUnitView *somSelf, Environment *ev);
typedef somTP_ODStorageUnitView_GetSize *somTD_ODStorageUnitView_GetSize;
typedef ODBoolean   SOMLINK somTP_ODStorageUnitView_IsValidStorageUnitRef(ODStorageUnitView *somSelf, Environment *ev,
		ODStorageUnitRef ref);
typedef somTP_ODStorageUnitView_IsValidStorageUnitRef *somTD_ODStorageUnitView_IsValidStorageUnitRef;
typedef void   SOMLINK somTP_ODStorageUnitView_GetStrongStorageUnitRef(ODStorageUnitView *somSelf, Environment *ev,
		ODStorageUnitID embeddedSUID,
		ODStorageUnitRef strongRef);
typedef somTP_ODStorageUnitView_GetStrongStorageUnitRef *somTD_ODStorageUnitView_GetStrongStorageUnitRef;
typedef void   SOMLINK somTP_ODStorageUnitView_GetWeakStorageUnitRef(ODStorageUnitView *somSelf, Environment *ev,
		ODStorageUnitID embeddedSUID,
		ODStorageUnitRef weakRef);
typedef somTP_ODStorageUnitView_GetWeakStorageUnitRef *somTD_ODStorageUnitView_GetWeakStorageUnitRef;
typedef ODBoolean   SOMLINK somTP_ODStorageUnitView_IsStrongStorageUnitRef(ODStorageUnitView *somSelf, Environment *ev,
		ODStorageUnitRef ref);
typedef somTP_ODStorageUnitView_IsStrongStorageUnitRef *somTD_ODStorageUnitView_IsStrongStorageUnitRef;
typedef ODBoolean   SOMLINK somTP_ODStorageUnitView_IsWeakStorageUnitRef(ODStorageUnitView *somSelf, Environment *ev,
		ODStorageUnitRef ref);
typedef somTP_ODStorageUnitView_IsWeakStorageUnitRef *somTD_ODStorageUnitView_IsWeakStorageUnitRef;
typedef ODStorageUnitView*   SOMLINK somTP_ODStorageUnitView_RemoveStorageUnitRef(ODStorageUnitView *somSelf, Environment *ev,
		ODStorageUnitRef aRef);
typedef somTP_ODStorageUnitView_RemoveStorageUnitRef *somTD_ODStorageUnitView_RemoveStorageUnitRef;
typedef ODStorageUnitID   SOMLINK somTP_ODStorageUnitView_GetIDFromStorageUnitRef(ODStorageUnitView *somSelf, Environment *ev,
		ODStorageUnitRef aRef);
typedef somTP_ODStorageUnitView_GetIDFromStorageUnitRef *somTD_ODStorageUnitView_GetIDFromStorageUnitRef;
typedef ODStorageUnitRefIterator*   SOMLINK somTP_ODStorageUnitView_CreateStorageUnitRefIterator(ODStorageUnitView *somSelf, Environment *ev);
typedef somTP_ODStorageUnitView_CreateStorageUnitRefIterator *somTD_ODStorageUnitView_CreateStorageUnitRefIterator;
typedef ODULong   SOMLINK somTP_ODStorageUnitView_GetGenerationNumber(ODStorageUnitView *somSelf, Environment *ev);
typedef somTP_ODStorageUnitView_GetGenerationNumber *somTD_ODStorageUnitView_GetGenerationNumber;
typedef ODULong   SOMLINK somTP_ODStorageUnitView_IncrementGenerationNumber(ODStorageUnitView *somSelf, Environment *ev);
typedef somTP_ODStorageUnitView_IncrementGenerationNumber *somTD_ODStorageUnitView_IncrementGenerationNumber;
typedef ODBoolean   SOMLINK somTP_ODStorageUnitView_IsPromiseValue(ODStorageUnitView *somSelf, Environment *ev);
typedef somTP_ODStorageUnitView_IsPromiseValue *somTD_ODStorageUnitView_IsPromiseValue;
typedef void   SOMLINK somTP_ODStorageUnitView_SetPromiseValue(ODStorageUnitView *somSelf, Environment *ev,
		ODValueType valueType,
		ODULong offset,
		ODByteArray* value,
		ODPart* sourcePart);
typedef somTP_ODStorageUnitView_SetPromiseValue *somTD_ODStorageUnitView_SetPromiseValue;
typedef ODULong   SOMLINK somTP_ODStorageUnitView_GetPromiseValue(ODStorageUnitView *somSelf, Environment *ev,
		ODValueType valueType,
		ODULong offset,
		ODULong length,
		ODByteArray* value,
		ODPart** sourcePart);
typedef somTP_ODStorageUnitView_GetPromiseValue *somTD_ODStorageUnitView_GetPromiseValue;

/*
 * -- Typedefs for Reintroduced Wrapper Methods
 */
typedef void   SOMLINK somTP_ODStorageUnitView_InitObject(ODStorageUnitView *somSelf, Environment *ev);
typedef somTP_ODStorageUnitView_InitObject *somTD_ODStorageUnitView_InitObject;
typedef ODBoolean   SOMLINK somTP_ODStorageUnitView_HasExtension(ODStorageUnitView *somSelf, Environment *ev,
		ODType extensionName);
typedef somTP_ODStorageUnitView_HasExtension *somTD_ODStorageUnitView_HasExtension;
typedef ODExtension*   SOMLINK somTP_ODStorageUnitView_AcquireExtension(ODStorageUnitView *somSelf, Environment *ev,
		ODType extensionName);
typedef somTP_ODStorageUnitView_AcquireExtension *somTD_ODStorageUnitView_AcquireExtension;
typedef void   SOMLINK somTP_ODStorageUnitView_ReleaseExtension(ODStorageUnitView *somSelf, Environment *ev,
		ODExtension* extension);
typedef somTP_ODStorageUnitView_ReleaseExtension *somTD_ODStorageUnitView_ReleaseExtension;
typedef ODSize   SOMLINK somTP_ODStorageUnitView_Purge(ODStorageUnitView *somSelf, Environment *ev,
		ODSize size);
typedef somTP_ODStorageUnitView_Purge *somTD_ODStorageUnitView_Purge;
typedef ODBoolean   SOMLINK somTP_ODStorageUnitView_IsEqualTo(ODStorageUnitView *somSelf, Environment *ev,
		ODObject* object);
typedef somTP_ODStorageUnitView_IsEqualTo *somTD_ODStorageUnitView_IsEqualTo;
typedef void   SOMLINK somTP_ODStorageUnitView_SubClassResponsibility(ODStorageUnitView *somSelf, Environment *ev);
typedef somTP_ODStorageUnitView_SubClassResponsibility *somTD_ODStorageUnitView_SubClassResponsibility;
typedef void   SOMLINK somTP_ODStorageUnitView_somInit(ODStorageUnitView *somSelf);
typedef somTP_ODStorageUnitView_somInit *somTD_ODStorageUnitView_somInit;
typedef void   SOMLINK somTP_ODStorageUnitView_somUninit(ODStorageUnitView *somSelf);
typedef somTP_ODStorageUnitView_somUninit *somTD_ODStorageUnitView_somUninit;
typedef void   SOMLINK somTP_ODStorageUnitView_somDefaultInit(ODStorageUnitView *somSelf,
		somInitCtrl* ctrl);
typedef somTP_ODStorageUnitView_somDefaultInit *somTD_ODStorageUnitView_somDefaultInit;
typedef void   SOMLINK somTP_ODStorageUnitView_somDestruct(ODStorageUnitView *somSelf,
		octet doFree,
		somDestructCtrl* ctrl);
typedef somTP_ODStorageUnitView_somDestruct *somTD_ODStorageUnitView_somDestruct;
typedef void   SOMLINK somTP_ODStorageUnitView_somDefaultCopyInit(ODStorageUnitView *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODStorageUnitView_somDefaultCopyInit *somTD_ODStorageUnitView_somDefaultCopyInit;
typedef ODStorageUnitView*   SOMLINK somTP_ODStorageUnitView_somDefaultAssign(ODStorageUnitView *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODStorageUnitView_somDefaultAssign *somTD_ODStorageUnitView_somDefaultAssign;
typedef void   SOMLINK somTP_ODStorageUnitView_somDefaultConstCopyInit(ODStorageUnitView *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODStorageUnitView_somDefaultConstCopyInit *somTD_ODStorageUnitView_somDefaultConstCopyInit;
typedef void   SOMLINK somTP_ODStorageUnitView_somDefaultVCopyInit(ODStorageUnitView *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODStorageUnitView_somDefaultVCopyInit *somTD_ODStorageUnitView_somDefaultVCopyInit;
typedef void   SOMLINK somTP_ODStorageUnitView_somDefaultConstVCopyInit(ODStorageUnitView *somSelf,
		somInitCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODStorageUnitView_somDefaultConstVCopyInit *somTD_ODStorageUnitView_somDefaultConstVCopyInit;
typedef ODStorageUnitView*   SOMLINK somTP_ODStorageUnitView_somDefaultConstAssign(ODStorageUnitView *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODStorageUnitView_somDefaultConstAssign *somTD_ODStorageUnitView_somDefaultConstAssign;
typedef ODStorageUnitView*   SOMLINK somTP_ODStorageUnitView_somDefaultVAssign(ODStorageUnitView *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODStorageUnitView_somDefaultVAssign *somTD_ODStorageUnitView_somDefaultVAssign;
typedef ODStorageUnitView*   SOMLINK somTP_ODStorageUnitView_somDefaultConstVAssign(ODStorageUnitView *somSelf,
		somAssignCtrl* ctrl,
		SOMObject* fromObj);
typedef somTP_ODStorageUnitView_somDefaultConstVAssign *somTD_ODStorageUnitView_somDefaultConstVAssign;
typedef void   SOMLINK somTP_ODStorageUnitView_somFree(ODStorageUnitView *somSelf);
typedef somTP_ODStorageUnitView_somFree *somTD_ODStorageUnitView_somFree;
typedef SOMClass*   SOMLINK somTP_ODStorageUnitView_somGetClass(ODStorageUnitView *somSelf);
typedef somTP_ODStorageUnitView_somGetClass *somTD_ODStorageUnitView_somGetClass;
typedef string   SOMLINK somTP_ODStorageUnitView_somGetClassName(ODStorageUnitView *somSelf);
typedef somTP_ODStorageUnitView_somGetClassName *somTD_ODStorageUnitView_somGetClassName;
typedef long   SOMLINK somTP_ODStorageUnitView_somGetSize(ODStorageUnitView *somSelf);
typedef somTP_ODStorageUnitView_somGetSize *somTD_ODStorageUnitView_somGetSize;
typedef boolean   SOMLINK somTP_ODStorageUnitView_somIsA(ODStorageUnitView *somSelf,
		SOMClass* aClassObj);
typedef somTP_ODStorageUnitView_somIsA *somTD_ODStorageUnitView_somIsA;
typedef boolean   SOMLINK somTP_ODStorageUnitView_somIsInstanceOf(ODStorageUnitView *somSelf,
		SOMClass* aClassObj);
typedef somTP_ODStorageUnitView_somIsInstanceOf *somTD_ODStorageUnitView_somIsInstanceOf;
typedef boolean   SOMLINK somTP_ODStorageUnitView_somRespondsTo(ODStorageUnitView *somSelf,
		somId mId);
typedef somTP_ODStorageUnitView_somRespondsTo *somTD_ODStorageUnitView_somRespondsTo;
typedef boolean   SOMLINK somTP_ODStorageUnitView_somDispatch(ODStorageUnitView *somSelf,
		somToken* retValue,
		somId methodId,
		va_list ap);
typedef somTP_ODStorageUnitView_somDispatch *somTD_ODStorageUnitView_somDispatch;
typedef boolean   SOMLINK somTP_ODStorageUnitView_somClassDispatch(ODStorageUnitView *somSelf,
		SOMClass* clsObj,
		somToken* retValue,
		somId methodId,
		va_list ap);
typedef somTP_ODStorageUnitView_somClassDispatch *somTD_ODStorageUnitView_somClassDispatch;
typedef boolean   SOMLINK somTP_ODStorageUnitView_somCastObj(ODStorageUnitView *somSelf,
		SOMClass* cls);
typedef somTP_ODStorageUnitView_somCastObj *somTD_ODStorageUnitView_somCastObj;
typedef boolean   SOMLINK somTP_ODStorageUnitView_somResetObj(ODStorageUnitView *somSelf);
typedef somTP_ODStorageUnitView_somResetObj *somTD_ODStorageUnitView_somResetObj;
typedef SOMObject*   SOMLINK somTP_ODStorageUnitView_somPrintSelf(ODStorageUnitView *somSelf);
typedef somTP_ODStorageUnitView_somPrintSelf *somTD_ODStorageUnitView_somPrintSelf;
typedef void   SOMLINK somTP_ODStorageUnitView_somDumpSelf(ODStorageUnitView *somSelf,
		long level);
typedef somTP_ODStorageUnitView_somDumpSelf *somTD_ODStorageUnitView_somDumpSelf;
typedef void   SOMLINK somTP_ODStorageUnitView_somDumpSelfInt(ODStorageUnitView *somSelf,
		long level);
typedef somTP_ODStorageUnitView_somDumpSelfInt *somTD_ODStorageUnitView_somDumpSelfInt;
}

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

// ODStorageUnitView::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 (!_ODStorageUnitView) ODStorageUnitViewNewClass(ODStorageUnitView_MajorVersion,ODStorageUnitView_MinorVersion);
   return (void*)
      SOM_Resolve(_ODStorageUnitView,SOMClass,somNewNoInit)
         ((SOMClass *)((void*)_ODStorageUnitView));
}

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

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

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

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


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


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


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


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


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


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


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


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


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


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


/* method: CloneInto */
void   CloneInto(Environment *ev,
		ODDraftKey key,
		ODStorageUnit* destStorageUnit,
		ODID scopeID)
{
   SOM_ResolveD(this,ODStorageUnitView,ODStorageUnitView,CloneInto)
	(this, ev,key,destStorageUnit,scopeID);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


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


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


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


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


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


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


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


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


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


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


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


/* method: GetStrongStorageUnitRef */
void   GetStrongStorageUnitRef(Environment *ev,
		ODStorageUnitID embeddedSUID,
		ODStorageUnitRef strongRef)
{
   SOM_ResolveD(this,ODStorageUnitView,ODStorageUnitView,GetStrongStorageUnitRef)
	(this, ev,embeddedSUID,strongRef);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/* method: GetWeakStorageUnitRef */
void   GetWeakStorageUnitRef(Environment *ev,
		ODStorageUnitID embeddedSUID,
		ODStorageUnitRef weakRef)
{
   SOM_ResolveD(this,ODStorageUnitView,ODStorageUnitView,GetWeakStorageUnitRef)
	(this, ev,embeddedSUID,weakRef);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


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


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


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


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


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


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


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


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


/* method: SetPromiseValue */
void   SetPromiseValue(Environment *ev,
		ODValueType valueType,
		ODULong offset,
		ODByteArray* value,
		ODPart* sourcePart)
{
   SOM_ResolveD(this,ODStorageUnitView,ODStorageUnitView,SetPromiseValue)
	(this, ev,valueType,offset,value,sourcePart);
#ifdef SOMCHKEXCEPT
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
#endif
}


/* method: GetPromiseValue */
ODULong   GetPromiseValue(Environment *ev,
		ODValueType valueType,
		ODULong offset,
		ODULong length,
		ODByteArray* value,
		ODPart** sourcePart)
{
#ifdef SOMCHKEXCEPT
   ODULong __somResult = 
      SOM_ResolveD(this,ODStorageUnitView,ODStorageUnitView,GetPromiseValue)
	(this, ev,valueType,offset,length,value,sourcePart);
   if ( ev->_major != NO_EXCEPTION )
      SOMCHKEXCEPT;
   return __somResult;
#else
   return SOM_ResolveD(this,ODStorageUnitView,ODStorageUnitView,GetPromiseValue)
	(this, ev,valueType,offset,length,value,sourcePart);
#endif
}


/*
 * Reintroduce inherited methods
 */

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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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


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



};   /* ODStorageUnitView */



#endif       /* SOM_ODStorageUnitView_xh */
