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

/*
 * 
 *  Class used by this interface
 * 
 */


#ifndef SOM_ODFrameFacetIterator_h
#define SOM_ODFrameFacetIterator_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 ODFrameFacetIteratorClassData (*resolve_ODFrameFacetIteratorClassData())
#define ODFrameFacetIteratorCClassData (*resolve_ODFrameFacetIteratorCClassData())

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

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

#define ODFrameFacetIterator_MajorVersion 0
#define ODFrameFacetIterator_MinorVersion 0

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define ODFrameFacetIteratorNewClass c
#define ODFrameFacetIteratorClassData d
#define ODFrameFacetIteratorCClassData x
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define ODFrameFacetIterator_classObj ODFrameFacetIteratorClassData.classObject
#define _ODFrameFacetIterator ODFrameFacetIterator_classObj

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct ODFrameFacetIteratorClassDataStructure {
	SOMClass *classObject;
	somMToken InitFrameFacetIterator;
	somMToken First;
	somMToken Next;
	somMToken IsNotComplete;
}  _ODFrameFacetIteratorClassData;
SOMEXTERN struct ODFrameFacetIteratorClassDataStructure * SOMLINK resolve_ODFrameFacetIteratorClassData(void);

/*
 * Declare the C specific class data structure
 */
SOMEXTERN struct ODFrameFacetIteratorCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken instanceDataToken;
}  _ODFrameFacetIteratorCClassData;
SOMEXTERN struct ODFrameFacetIteratorCClassDataStructure * SOMLINK resolve_ODFrameFacetIteratorCClassData(void);

/*
 * New and Renew macros for ODFrameFacetIterator
 */
#define ODFrameFacetIteratorNew() \
   (_somNew(_ODFrameFacetIterator ? _ODFrameFacetIterator : ODFrameFacetIteratorNewClass(ODFrameFacetIterator_MajorVersion, ODFrameFacetIterator_MinorVersion)))
#define ODFrameFacetIteratorRenew(buf) \
   (_somRenew(_ODFrameFacetIterator ? _ODFrameFacetIterator : ODFrameFacetIteratorNewClass(ODFrameFacetIterator_MajorVersion, ODFrameFacetIterator_MinorVersion), buf))

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

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

/*
 * New Method: InitFrameFacetIterator
 */
typedef void   (SOMLINK * somTD_ODFrameFacetIterator_InitFrameFacetIterator)(ODFrameFacetIterator *somSelf, Environment *ev,
		ODFrame* frame);
#define somMD_ODFrameFacetIterator_InitFrameFacetIterator "::ODFrameFacetIterator::InitFrameFacetIterator"
#define ODFrameFacetIterator_InitFrameFacetIterator(somSelf,ev,frame) \
    (SOM_Resolve(somSelf, ODFrameFacetIterator, InitFrameFacetIterator) \
	(somSelf,ev,frame))
#ifndef SOMGD_InitFrameFacetIterator
    #if (defined(_InitFrameFacetIterator) || defined(__InitFrameFacetIterator))
        #undef _InitFrameFacetIterator
        #undef __InitFrameFacetIterator
        #define SOMGD_InitFrameFacetIterator 1
    #else
        #define _InitFrameFacetIterator ODFrameFacetIterator_InitFrameFacetIterator
    #endif /* _InitFrameFacetIterator */
#endif /* SOMGD_InitFrameFacetIterator */

/*
 * New Method: First
 */
typedef ODFacet*   (SOMLINK * somTD_ODFrameFacetIterator_First)(ODFrameFacetIterator *somSelf, Environment *ev);
#define somMD_ODFrameFacetIterator_First "::ODFrameFacetIterator::First"
#define ODFrameFacetIterator_First(somSelf,ev) \
    (SOM_Resolve(somSelf, ODFrameFacetIterator, First) \
	(somSelf,ev))
#ifndef SOMGD_First
    #if (defined(_First) || defined(__First))
        #undef _First
        #undef __First
        #define SOMGD_First 1
    #else
        #define _First ODFrameFacetIterator_First
    #endif /* _First */
#endif /* SOMGD_First */

/*
 * New Method: Next
 */
typedef ODFacet*   (SOMLINK * somTD_ODFrameFacetIterator_Next)(ODFrameFacetIterator *somSelf, Environment *ev);
#define somMD_ODFrameFacetIterator_Next "::ODFrameFacetIterator::Next"
#define ODFrameFacetIterator_Next(somSelf,ev) \
    (SOM_Resolve(somSelf, ODFrameFacetIterator, Next) \
	(somSelf,ev))
#ifndef SOMGD_Next
    #if (defined(_Next) || defined(__Next))
        #undef _Next
        #undef __Next
        #define SOMGD_Next 1
    #else
        #define _Next ODFrameFacetIterator_Next
    #endif /* _Next */
#endif /* SOMGD_Next */

/*
 * New Method: IsNotComplete
 */
typedef ODBoolean   (SOMLINK * somTD_ODFrameFacetIterator_IsNotComplete)(ODFrameFacetIterator *somSelf, Environment *ev);
#define somMD_ODFrameFacetIterator_IsNotComplete "::ODFrameFacetIterator::IsNotComplete"
#define ODFrameFacetIterator_IsNotComplete(somSelf,ev) \
    (SOM_Resolve(somSelf, ODFrameFacetIterator, IsNotComplete) \
	(somSelf,ev))
#ifndef SOMGD_IsNotComplete
    #if (defined(_IsNotComplete) || defined(__IsNotComplete))
        #undef _IsNotComplete
        #undef __IsNotComplete
        #define SOMGD_IsNotComplete 1
    #else
        #define _IsNotComplete ODFrameFacetIterator_IsNotComplete
    #endif /* _IsNotComplete */
#endif /* SOMGD_IsNotComplete */
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define ODFrameFacetIterator_InitObject ODObject_InitObject
#define ODFrameFacetIterator_IsInitialized ODObject_IsInitialized
#define ODFrameFacetIterator_HasExtension ODObject_HasExtension
#define ODFrameFacetIterator_GetExtension ODObject_GetExtension
#define ODFrameFacetIterator_ReleaseExtension ODObject_ReleaseExtension
#define ODFrameFacetIterator_Purge ODObject_Purge
#define ODFrameFacetIterator_IsEqualTo ODObject_IsEqualTo
#define ODFrameFacetIterator_SubClassResponsibility ODObject_SubClassResponsibility
#define ODFrameFacetIterator_somDefaultInit SOMObject_somDefaultInit
#define ODFrameFacetIterator_somDestruct SOMObject_somDestruct
#define ODFrameFacetIterator_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define ODFrameFacetIterator_somDefaultAssign SOMObject_somDefaultAssign
#define ODFrameFacetIterator_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define ODFrameFacetIterator_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define ODFrameFacetIterator_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define ODFrameFacetIterator_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define ODFrameFacetIterator_somDefaultVAssign SOMObject_somDefaultVAssign
#define ODFrameFacetIterator_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define ODFrameFacetIterator_somFree SOMObject_somFree
#define ODFrameFacetIterator_somGetClass SOMObject_somGetClass
#define ODFrameFacetIterator_somGetClassName SOMObject_somGetClassName
#define ODFrameFacetIterator_somGetSize SOMObject_somGetSize
#define ODFrameFacetIterator_somIsA SOMObject_somIsA
#define ODFrameFacetIterator_somIsInstanceOf SOMObject_somIsInstanceOf
#define ODFrameFacetIterator_somRespondsTo SOMObject_somRespondsTo
#define ODFrameFacetIterator_somDispatch SOMObject_somDispatch
#define ODFrameFacetIterator_somClassDispatch SOMObject_somClassDispatch
#define ODFrameFacetIterator_somCastObj SOMObject_somCastObj
#define ODFrameFacetIterator_somResetObj SOMObject_somResetObj
#define ODFrameFacetIterator_somDispatchV SOMObject_somDispatchV
#define ODFrameFacetIterator_somDispatchL SOMObject_somDispatchL
#define ODFrameFacetIterator_somDispatchA SOMObject_somDispatchA
#define ODFrameFacetIterator_somDispatchD SOMObject_somDispatchD
#define ODFrameFacetIterator_somPrintSelf SOMObject_somPrintSelf
#define ODFrameFacetIterator_somDumpSelf SOMObject_somDumpSelf
#define ODFrameFacetIterator_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_ODFrameFacetIterator_h */
