
/*
 * This file was generated by the SOM Compiler.
 * FileName: \odwin\h\SUCURSOR.h.
 * Generated using:
 *     SOM Precompiler somipc: 2.29.1.3
 *     SOM Emitter emith.dll: 2.41
 */

/*
 * 
 *  Classes defined in this interface
 * 
 */


#ifndef SOM_ODStorageUnitCursor_h
#define SOM_ODStorageUnitCursor_h


#include <som.h>

/*
 * -- This emitter treats Method Tokens as Thunks by default.
 * -- Use the sc modifier "nothunks" to change this default
 */
#undef somresolve_
#define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))



/*
 * Define class data structures as resolution macros
 */
#define ODStorageUnitCursorClassData (*resolve_ODStorageUnitCursorClassData())
#define ODStorageUnitCursorCClassData (*resolve_ODStorageUnitCursorCClassData())

/*
 * Define the class name as an object type
 */
#ifndef ODStorageUnitCursor
#define ODStorageUnitCursor SOMObject
#endif
#include <ODObject.h>

/*
 * Start of user-defined types:
 */
#ifndef SOMClass
    #define SOMClass SOMObject
#endif /* SOMClass */
#ifndef ODObject
    #define ODObject SOMObject
#endif /* ODObject */
#ifndef ODExtension
    #define ODExtension SOMObject
#endif /* ODExtension */
#ifndef ODStorageUnitCursor
    #define ODStorageUnitCursor SOMObject
#endif /* ODStorageUnitCursor */
#ifndef ODStorageUnit
    #define ODStorageUnit SOMObject
#endif /* ODStorageUnit */

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

#define ODStorageUnitCursor_MajorVersion 0
#define ODStorageUnitCursor_MinorVersion 0

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define ODStorageUnitCursorNewClass c
#define ODStorageUnitCursorClassData d
#define ODStorageUnitCursorCClassData x
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define ODStorageUnitCursor_classObj ODStorageUnitCursorClassData.classObject
#define _ODStorageUnitCursor ODStorageUnitCursor_classObj

/*
 * Declare the class creation procedure
 */
SOMEXTERN SOMClass * SOMLINK ODStorageUnitCursorNewClass(integer4 somntmajorVersion,
		integer4 somntminorVersion);

/*
 * Declare the class data structure
 */
SOMEXTERN struct ODStorageUnitCursorClassDataStructure {
	SOMClass *classObject;
	somMToken InitStorageUnitCursor;
	somMToken GetCursor;
}  _ODStorageUnitCursorClassData;
SOMEXTERN struct ODStorageUnitCursorClassDataStructure * SOMLINK resolve_ODStorageUnitCursorClassData(void);

/*
 * Declare the C specific class data structure
 */
SOMEXTERN struct ODStorageUnitCursorCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken instanceDataToken;
}  _ODStorageUnitCursorCClassData;
SOMEXTERN struct ODStorageUnitCursorCClassDataStructure * SOMLINK resolve_ODStorageUnitCursorCClassData(void);

/*
 * New and Renew macros for ODStorageUnitCursor
 */
#define ODStorageUnitCursorNew() \
   (_somNew(_ODStorageUnitCursor ? _ODStorageUnitCursor : ODStorageUnitCursorNewClass(ODStorageUnitCursor_MajorVersion, ODStorageUnitCursor_MinorVersion)))
#define ODStorageUnitCursorRenew(buf) \
   (_somRenew(_ODStorageUnitCursor ? _ODStorageUnitCursor : ODStorageUnitCursorNewClass(ODStorageUnitCursor_MajorVersion, ODStorageUnitCursor_MinorVersion), buf))

/*
 * Override method: somInit
 */
#define ODStorageUnitCursor_somInit(somSelf) \
	SOMObject_somInit(somSelf)

/*
 * Override method: somUninit
 */
#define ODStorageUnitCursor_somUninit(somSelf) \
	SOMObject_somUninit(somSelf)

/*
 * New Method: InitStorageUnitCursor
 */
typedef void   (SOMLINK * somTD_ODStorageUnitCursor_InitStorageUnitCursor)(ODStorageUnitCursor *somSelf, Environment *ev,
		ODPropertyName propertyName,
		ODValueType valueType,
		ODValueIndex valueIndex);
#define somMD_ODStorageUnitCursor_InitStorageUnitCursor "::ODStorageUnitCursor::InitStorageUnitCursor"
#define ODStorageUnitCursor_InitStorageUnitCursor(somSelf,ev,propertyName,valueType,valueIndex) \
    (SOM_Resolve(somSelf, ODStorageUnitCursor, InitStorageUnitCursor) \
	(somSelf,ev,propertyName,valueType,valueIndex))
#ifndef SOMGD_InitStorageUnitCursor
    #if (defined(_InitStorageUnitCursor) || defined(__InitStorageUnitCursor))
        #undef _InitStorageUnitCursor
        #undef __InitStorageUnitCursor
        #define SOMGD_InitStorageUnitCursor 1
    #else
        #define _InitStorageUnitCursor ODStorageUnitCursor_InitStorageUnitCursor
    #endif /* _InitStorageUnitCursor */
#endif /* SOMGD_InitStorageUnitCursor */

/*
 * New Method: GetCursor
 */
typedef void   (SOMLINK * somTD_ODStorageUnitCursor_GetCursor)(ODStorageUnitCursor *somSelf, Environment *ev,
		ODPropertyName* propertyName,
		ODValueType* valueType,
		ODValueIndex* valueIndex);
#define somMD_ODStorageUnitCursor_GetCursor "::ODStorageUnitCursor::GetCursor"
#define ODStorageUnitCursor_GetCursor(somSelf,ev,propertyName,valueType,valueIndex) \
    (SOM_Resolve(somSelf, ODStorageUnitCursor, GetCursor) \
	(somSelf,ev,propertyName,valueType,valueIndex))
#ifndef SOMGD_GetCursor
    #if (defined(_GetCursor) || defined(__GetCursor))
        #undef _GetCursor
        #undef __GetCursor
        #define SOMGD_GetCursor 1
    #else
        #define _GetCursor ODStorageUnitCursor_GetCursor
    #endif /* _GetCursor */
#endif /* SOMGD_GetCursor */
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define ODStorageUnitCursor_InitObject ODObject_InitObject
#define ODStorageUnitCursor_IsInitialized ODObject_IsInitialized
#define ODStorageUnitCursor_HasExtension ODObject_HasExtension
#define ODStorageUnitCursor_GetExtension ODObject_GetExtension
#define ODStorageUnitCursor_ReleaseExtension ODObject_ReleaseExtension
#define ODStorageUnitCursor_Purge ODObject_Purge
#define ODStorageUnitCursor_IsEqualTo ODObject_IsEqualTo
#define ODStorageUnitCursor_SubClassResponsibility ODObject_SubClassResponsibility
#define ODStorageUnitCursor_somDefaultInit SOMObject_somDefaultInit
#define ODStorageUnitCursor_somDestruct SOMObject_somDestruct
#define ODStorageUnitCursor_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define ODStorageUnitCursor_somDefaultAssign SOMObject_somDefaultAssign
#define ODStorageUnitCursor_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define ODStorageUnitCursor_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define ODStorageUnitCursor_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define ODStorageUnitCursor_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define ODStorageUnitCursor_somDefaultVAssign SOMObject_somDefaultVAssign
#define ODStorageUnitCursor_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define ODStorageUnitCursor_somFree SOMObject_somFree
#define ODStorageUnitCursor_somGetClass SOMObject_somGetClass
#define ODStorageUnitCursor_somGetClassName SOMObject_somGetClassName
#define ODStorageUnitCursor_somGetSize SOMObject_somGetSize
#define ODStorageUnitCursor_somIsA SOMObject_somIsA
#define ODStorageUnitCursor_somIsInstanceOf SOMObject_somIsInstanceOf
#define ODStorageUnitCursor_somRespondsTo SOMObject_somRespondsTo
#define ODStorageUnitCursor_somDispatch SOMObject_somDispatch
#define ODStorageUnitCursor_somClassDispatch SOMObject_somClassDispatch
#define ODStorageUnitCursor_somCastObj SOMObject_somCastObj
#define ODStorageUnitCursor_somResetObj SOMObject_somResetObj
#define ODStorageUnitCursor_somDispatchV SOMObject_somDispatchV
#define ODStorageUnitCursor_somDispatchL SOMObject_somDispatchL
#define ODStorageUnitCursor_somDispatchA SOMObject_somDispatchA
#define ODStorageUnitCursor_somDispatchD SOMObject_somDispatchD
#define ODStorageUnitCursor_somPrintSelf SOMObject_somPrintSelf
#define ODStorageUnitCursor_somDumpSelf SOMObject_somDumpSelf
#define ODStorageUnitCursor_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_ODStorageUnitCursor_h */
