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

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


#ifndef SOM_ODPlatformTypeList_h
#define SOM_ODPlatformTypeList_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 ODPlatformTypeListClassData (*resolve_ODPlatformTypeListClassData())
#define ODPlatformTypeListCClassData (*resolve_ODPlatformTypeListCClassData())

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

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

#define ODPlatformTypeList_MajorVersion 0
#define ODPlatformTypeList_MinorVersion 0

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define ODPlatformTypeListNewClass c
#define ODPlatformTypeListClassData d
#define ODPlatformTypeListCClassData x
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define ODPlatformTypeList_classObj ODPlatformTypeListClassData.classObject
#define _ODPlatformTypeList ODPlatformTypeList_classObj

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct ODPlatformTypeListClassDataStructure {
	SOMClass *classObject;
	somMToken InitPlatformTypeList;
	somMToken AddLast;
	somMToken Remove;
	somMToken Contains;
	somMToken Count;
	somMToken CreatePlatformTypeListIterator;
	somMToken GetImplementation;
}  _ODPlatformTypeListClassData;
SOMEXTERN struct ODPlatformTypeListClassDataStructure * SOMLINK resolve_ODPlatformTypeListClassData(void);

/*
 * Declare the C specific class data structure
 */
SOMEXTERN struct ODPlatformTypeListCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken instanceDataToken;
}  _ODPlatformTypeListCClassData;
SOMEXTERN struct ODPlatformTypeListCClassDataStructure * SOMLINK resolve_ODPlatformTypeListCClassData(void);

/*
 * New and Renew macros for ODPlatformTypeList
 */
#define ODPlatformTypeListNew() \
   (_somNew(_ODPlatformTypeList ? _ODPlatformTypeList : ODPlatformTypeListNewClass(ODPlatformTypeList_MajorVersion, ODPlatformTypeList_MinorVersion)))
#define ODPlatformTypeListRenew(buf) \
   (_somRenew(_ODPlatformTypeList ? _ODPlatformTypeList : ODPlatformTypeListNewClass(ODPlatformTypeList_MajorVersion, ODPlatformTypeList_MinorVersion), buf))

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

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

/*
 * New Method: InitPlatformTypeList
 */
typedef void   (SOMLINK * somTD_ODPlatformTypeList_InitPlatformTypeList)(ODPlatformTypeList *somSelf, Environment *ev,
		ODPlatformTypeList* typeList);
#define somMD_ODPlatformTypeList_InitPlatformTypeList "::ODPlatformTypeList::InitPlatformTypeList"
#define ODPlatformTypeList_InitPlatformTypeList(somSelf,ev,typeList) \
    (SOM_Resolve(somSelf, ODPlatformTypeList, InitPlatformTypeList) \
	(somSelf,ev,typeList))
#ifndef SOMGD_InitPlatformTypeList
    #if (defined(_InitPlatformTypeList) || defined(__InitPlatformTypeList))
        #undef _InitPlatformTypeList
        #undef __InitPlatformTypeList
        #define SOMGD_InitPlatformTypeList 1
    #else
        #define _InitPlatformTypeList ODPlatformTypeList_InitPlatformTypeList
    #endif /* _InitPlatformTypeList */
#endif /* SOMGD_InitPlatformTypeList */

/*
 * New Method: AddLast
 */
typedef void   (SOMLINK * somTD_ODPlatformTypeList_AddLast)(ODPlatformTypeList *somSelf, Environment *ev,
		ODPlatformType type);
#define somMD_ODPlatformTypeList_AddLast "::ODPlatformTypeList::AddLast"
#define ODPlatformTypeList_AddLast(somSelf,ev,type) \
    (SOM_Resolve(somSelf, ODPlatformTypeList, AddLast) \
	(somSelf,ev,type))
#ifndef SOMGD_AddLast
    #if (defined(_AddLast) || defined(__AddLast))
        #undef _AddLast
        #undef __AddLast
        #define SOMGD_AddLast 1
    #else
        #define _AddLast ODPlatformTypeList_AddLast
    #endif /* _AddLast */
#endif /* SOMGD_AddLast */

/*
 * New Method: Remove
 */
typedef void   (SOMLINK * somTD_ODPlatformTypeList_Remove)(ODPlatformTypeList *somSelf, Environment *ev,
		ODPlatformType type);
#define somMD_ODPlatformTypeList_Remove "::ODPlatformTypeList::Remove"
#define ODPlatformTypeList_Remove(somSelf,ev,type) \
    (SOM_Resolve(somSelf, ODPlatformTypeList, Remove) \
	(somSelf,ev,type))
#ifndef SOMGD_Remove
    #if (defined(_Remove) || defined(__Remove))
        #undef _Remove
        #undef __Remove
        #define SOMGD_Remove 1
    #else
        #define _Remove ODPlatformTypeList_Remove
    #endif /* _Remove */
#endif /* SOMGD_Remove */

/*
 * New Method: Contains
 */
typedef ODBoolean   (SOMLINK * somTD_ODPlatformTypeList_Contains)(ODPlatformTypeList *somSelf, Environment *ev,
		ODPlatformType type);
#define somMD_ODPlatformTypeList_Contains "::ODPlatformTypeList::Contains"
#define ODPlatformTypeList_Contains(somSelf,ev,type) \
    (SOM_Resolve(somSelf, ODPlatformTypeList, Contains) \
	(somSelf,ev,type))
#ifndef SOMGD_Contains
    #if (defined(_Contains) || defined(__Contains))
        #undef _Contains
        #undef __Contains
        #define SOMGD_Contains 1
    #else
        #define _Contains ODPlatformTypeList_Contains
    #endif /* _Contains */
#endif /* SOMGD_Contains */

/*
 * New Method: Count
 */
typedef ODULong   (SOMLINK * somTD_ODPlatformTypeList_Count)(ODPlatformTypeList *somSelf, Environment *ev);
#define somMD_ODPlatformTypeList_Count "::ODPlatformTypeList::Count"
#define ODPlatformTypeList_Count(somSelf,ev) \
    (SOM_Resolve(somSelf, ODPlatformTypeList, Count) \
	(somSelf,ev))
#ifndef SOMGD_Count
    #if (defined(_Count) || defined(__Count))
        #undef _Count
        #undef __Count
        #define SOMGD_Count 1
    #else
        #define _Count ODPlatformTypeList_Count
    #endif /* _Count */
#endif /* SOMGD_Count */

/*
 * New Method: CreatePlatformTypeListIterator
 */
typedef ODPlatformTypeListIterator*   (SOMLINK * somTD_ODPlatformTypeList_CreatePlatformTypeListIterator)(ODPlatformTypeList *somSelf, Environment *ev);
#define somMD_ODPlatformTypeList_CreatePlatformTypeListIterator "::ODPlatformTypeList::CreatePlatformTypeListIterator"
#define ODPlatformTypeList_CreatePlatformTypeListIterator(somSelf,ev) \
    (SOM_Resolve(somSelf, ODPlatformTypeList, CreatePlatformTypeListIterator) \
	(somSelf,ev))
#ifndef SOMGD_CreatePlatformTypeListIterator
    #if (defined(_CreatePlatformTypeListIterator) || defined(__CreatePlatformTypeListIterator))
        #undef _CreatePlatformTypeListIterator
        #undef __CreatePlatformTypeListIterator
        #define SOMGD_CreatePlatformTypeListIterator 1
    #else
        #define _CreatePlatformTypeListIterator ODPlatformTypeList_CreatePlatformTypeListIterator
    #endif /* _CreatePlatformTypeListIterator */
#endif /* SOMGD_CreatePlatformTypeListIterator */

/*
 * New Method: GetImplementation
 */
typedef OrderedCollection*   (SOMLINK * somTD_ODPlatformTypeList_GetImplementation)(ODPlatformTypeList *somSelf, Environment *ev);
#define somMD_ODPlatformTypeList_GetImplementation "::ODPlatformTypeList::GetImplementation"
#define ODPlatformTypeList_GetImplementation(somSelf,ev) \
    (SOM_Resolve(somSelf, ODPlatformTypeList, GetImplementation) \
	(somSelf,ev))
#ifndef SOMGD_GetImplementation
    #if (defined(_GetImplementation) || defined(__GetImplementation))
        #undef _GetImplementation
        #undef __GetImplementation
        #define SOMGD_GetImplementation 1
    #else
        #define _GetImplementation ODPlatformTypeList_GetImplementation
    #endif /* _GetImplementation */
#endif /* SOMGD_GetImplementation */
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define ODPlatformTypeList_InitObject ODObject_InitObject
#define ODPlatformTypeList_IsInitialized ODObject_IsInitialized
#define ODPlatformTypeList_HasExtension ODObject_HasExtension
#define ODPlatformTypeList_GetExtension ODObject_GetExtension
#define ODPlatformTypeList_ReleaseExtension ODObject_ReleaseExtension
#define ODPlatformTypeList_Purge ODObject_Purge
#define ODPlatformTypeList_IsEqualTo ODObject_IsEqualTo
#define ODPlatformTypeList_SubClassResponsibility ODObject_SubClassResponsibility
#define ODPlatformTypeList_somDefaultInit SOMObject_somDefaultInit
#define ODPlatformTypeList_somDestruct SOMObject_somDestruct
#define ODPlatformTypeList_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define ODPlatformTypeList_somDefaultAssign SOMObject_somDefaultAssign
#define ODPlatformTypeList_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define ODPlatformTypeList_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define ODPlatformTypeList_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define ODPlatformTypeList_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define ODPlatformTypeList_somDefaultVAssign SOMObject_somDefaultVAssign
#define ODPlatformTypeList_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define ODPlatformTypeList_somFree SOMObject_somFree
#define ODPlatformTypeList_somGetClass SOMObject_somGetClass
#define ODPlatformTypeList_somGetClassName SOMObject_somGetClassName
#define ODPlatformTypeList_somGetSize SOMObject_somGetSize
#define ODPlatformTypeList_somIsA SOMObject_somIsA
#define ODPlatformTypeList_somIsInstanceOf SOMObject_somIsInstanceOf
#define ODPlatformTypeList_somRespondsTo SOMObject_somRespondsTo
#define ODPlatformTypeList_somDispatch SOMObject_somDispatch
#define ODPlatformTypeList_somClassDispatch SOMObject_somClassDispatch
#define ODPlatformTypeList_somCastObj SOMObject_somCastObj
#define ODPlatformTypeList_somResetObj SOMObject_somResetObj
#define ODPlatformTypeList_somDispatchV SOMObject_somDispatchV
#define ODPlatformTypeList_somDispatchL SOMObject_somDispatchL
#define ODPlatformTypeList_somDispatchA SOMObject_somDispatchA
#define ODPlatformTypeList_somDispatchD SOMObject_somDispatchD
#define ODPlatformTypeList_somPrintSelf SOMObject_somPrintSelf
#define ODPlatformTypeList_somDumpSelf SOMObject_somDumpSelf
#define ODPlatformTypeList_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_ODPlatformTypeList_h */
