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

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


#ifndef SOM_ODLinkIterator_h
#define SOM_ODLinkIterator_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 ODLinkIteratorClassData (*resolve_ODLinkIteratorClassData())
#define ODLinkIteratorCClassData (*resolve_ODLinkIteratorCClassData())

/*
 * Define the class name as an object type
 */
#ifndef ODLinkIterator
#define ODLinkIterator 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 ODLinkIterator
    #define ODLinkIterator SOMObject
#endif /* ODLinkIterator */
#ifndef ODLink
    #define ODLink SOMObject
#endif /* ODLink */

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

#define ODLinkIterator_MajorVersion 0
#define ODLinkIterator_MinorVersion 0

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define ODLinkIteratorNewClass c
#define ODLinkIteratorClassData d
#define ODLinkIteratorCClassData x
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define ODLinkIterator_classObj ODLinkIteratorClassData.classObject
#define _ODLinkIterator ODLinkIterator_classObj

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct ODLinkIteratorClassDataStructure {
	SOMClass *classObject;
	somMToken IsNotComplete;
	somMToken First;
	somMToken Next;
	somMToken InitODLinkIterator;
}  _ODLinkIteratorClassData;
SOMEXTERN struct ODLinkIteratorClassDataStructure * SOMLINK resolve_ODLinkIteratorClassData(void);

/*
 * Declare the C specific class data structure
 */
SOMEXTERN struct ODLinkIteratorCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken instanceDataToken;
}  _ODLinkIteratorCClassData;
SOMEXTERN struct ODLinkIteratorCClassDataStructure * SOMLINK resolve_ODLinkIteratorCClassData(void);

/*
 * New and Renew macros for ODLinkIterator
 */
#define ODLinkIteratorNew() \
   (_somNew(_ODLinkIterator ? _ODLinkIterator : ODLinkIteratorNewClass(ODLinkIterator_MajorVersion, ODLinkIterator_MinorVersion)))
#define ODLinkIteratorRenew(buf) \
   (_somRenew(_ODLinkIterator ? _ODLinkIterator : ODLinkIteratorNewClass(ODLinkIterator_MajorVersion, ODLinkIterator_MinorVersion), buf))

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

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

/*
 * New Method: IsNotComplete
 */
typedef ODBoolean   (SOMLINK * somTD_ODLinkIterator_IsNotComplete)(ODLinkIterator *somSelf, Environment *ev);
#define somMD_ODLinkIterator_IsNotComplete "::ODLinkIterator::IsNotComplete"
#define ODLinkIterator_IsNotComplete(somSelf,ev) \
    (SOM_Resolve(somSelf, ODLinkIterator, IsNotComplete) \
	(somSelf,ev))
#ifndef SOMGD_IsNotComplete
    #if (defined(_IsNotComplete) || defined(__IsNotComplete))
        #undef _IsNotComplete
        #undef __IsNotComplete
        #define SOMGD_IsNotComplete 1
    #else
        #define _IsNotComplete ODLinkIterator_IsNotComplete
    #endif /* _IsNotComplete */
#endif /* SOMGD_IsNotComplete */

/*
 * New Method: First
 */
typedef ODLink*   (SOMLINK * somTD_ODLinkIterator_First)(ODLinkIterator *somSelf, Environment *ev);
#define somMD_ODLinkIterator_First "::ODLinkIterator::First"
#define ODLinkIterator_First(somSelf,ev) \
    (SOM_Resolve(somSelf, ODLinkIterator, First) \
	(somSelf,ev))
#ifndef SOMGD_First
    #if (defined(_First) || defined(__First))
        #undef _First
        #undef __First
        #define SOMGD_First 1
    #else
        #define _First ODLinkIterator_First
    #endif /* _First */
#endif /* SOMGD_First */

/*
 * New Method: Next
 */
typedef ODLink*   (SOMLINK * somTD_ODLinkIterator_Next)(ODLinkIterator *somSelf, Environment *ev);
#define somMD_ODLinkIterator_Next "::ODLinkIterator::Next"
#define ODLinkIterator_Next(somSelf,ev) \
    (SOM_Resolve(somSelf, ODLinkIterator, Next) \
	(somSelf,ev))
#ifndef SOMGD_Next
    #if (defined(_Next) || defined(__Next))
        #undef _Next
        #undef __Next
        #define SOMGD_Next 1
    #else
        #define _Next ODLinkIterator_Next
    #endif /* _Next */
#endif /* SOMGD_Next */

/*
 * New Method: InitODLinkIterator
 */
typedef void   (SOMLINK * somTD_ODLinkIterator_InitODLinkIterator)(ODLinkIterator *somSelf, Environment *ev);
#define somMD_ODLinkIterator_InitODLinkIterator "::ODLinkIterator::InitODLinkIterator"
#define ODLinkIterator_InitODLinkIterator(somSelf,ev) \
    (SOM_Resolve(somSelf, ODLinkIterator, InitODLinkIterator) \
	(somSelf,ev))
#ifndef SOMGD_InitODLinkIterator
    #if (defined(_InitODLinkIterator) || defined(__InitODLinkIterator))
        #undef _InitODLinkIterator
        #undef __InitODLinkIterator
        #define SOMGD_InitODLinkIterator 1
    #else
        #define _InitODLinkIterator ODLinkIterator_InitODLinkIterator
    #endif /* _InitODLinkIterator */
#endif /* SOMGD_InitODLinkIterator */
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define ODLinkIterator_InitObject ODObject_InitObject
#define ODLinkIterator_IsInitialized ODObject_IsInitialized
#define ODLinkIterator_HasExtension ODObject_HasExtension
#define ODLinkIterator_GetExtension ODObject_GetExtension
#define ODLinkIterator_ReleaseExtension ODObject_ReleaseExtension
#define ODLinkIterator_Purge ODObject_Purge
#define ODLinkIterator_IsEqualTo ODObject_IsEqualTo
#define ODLinkIterator_SubClassResponsibility ODObject_SubClassResponsibility
#define ODLinkIterator_somDefaultInit SOMObject_somDefaultInit
#define ODLinkIterator_somDestruct SOMObject_somDestruct
#define ODLinkIterator_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define ODLinkIterator_somDefaultAssign SOMObject_somDefaultAssign
#define ODLinkIterator_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define ODLinkIterator_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define ODLinkIterator_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define ODLinkIterator_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define ODLinkIterator_somDefaultVAssign SOMObject_somDefaultVAssign
#define ODLinkIterator_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define ODLinkIterator_somFree SOMObject_somFree
#define ODLinkIterator_somGetClass SOMObject_somGetClass
#define ODLinkIterator_somGetClassName SOMObject_somGetClassName
#define ODLinkIterator_somGetSize SOMObject_somGetSize
#define ODLinkIterator_somIsA SOMObject_somIsA
#define ODLinkIterator_somIsInstanceOf SOMObject_somIsInstanceOf
#define ODLinkIterator_somRespondsTo SOMObject_somRespondsTo
#define ODLinkIterator_somDispatch SOMObject_somDispatch
#define ODLinkIterator_somClassDispatch SOMObject_somClassDispatch
#define ODLinkIterator_somCastObj SOMObject_somCastObj
#define ODLinkIterator_somResetObj SOMObject_somResetObj
#define ODLinkIterator_somDispatchV SOMObject_somDispatchV
#define ODLinkIterator_somDispatchL SOMObject_somDispatchL
#define ODLinkIterator_somDispatchA SOMObject_somDispatchA
#define ODLinkIterator_somDispatchD SOMObject_somDispatchD
#define ODLinkIterator_somPrintSelf SOMObject_somPrintSelf
#define ODLinkIterator_somDumpSelf SOMObject_somDumpSelf
#define ODLinkIterator_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_ODLinkIterator_h */
