
/*
 * This file was generated by the SOM Compiler.
 * FileName: F:\build\newproj\include.ppc\tdictitr.h.
 * Generated using:
 *     SOM Precompiler somipc: 2.29.1.3
 *     SOM Emitter emith: 2.41
 */

/*
 *    COMPONENT_NAME: somuc
 * 
 *    ORIGINS: 82, 81, 27
 * 
 * 
 *    10H9767, 10H9769  (C) COPYRIGHT International Business Machines Corp. 1992,1994
 *    All Rights Reserved
 *    Licensed Materials - Property of IBM
 *    US Government Users Restricted Rights - Use, duplication or
 *    disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
 * 
 *    Copyright © 1988, 1989 Apple Computer, Inc. All rights reserved.
 * 
 * CLASS_NAME: somf_TDictionaryIterator
 * 
 * DESCRIPTION: An iterator for somf_TDictionary that will iterate over all of the
 *              objects in a dictionary.
 * 
 */


#ifndef SOM_somf_TDictionaryIterator_h
#define SOM_somf_TDictionaryIterator_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 the class name as an object type
 */
#ifndef somf_TDictionaryIterator
#define somf_TDictionaryIterator SOMObject
#endif
#include <titeratr.h>

/*
 * Start of bindings for IDL types
 */

#ifndef SOMClass
    #define SOMClass SOMObject
#endif /* SOMClass */
#ifndef somf_MCollectible
    #define somf_MCollectible SOMObject
#endif /* somf_MCollectible */
#ifndef somf_THashTableIterator
    #define somf_THashTableIterator SOMObject
#endif /* somf_THashTableIterator */
#ifndef somf_TDictionary
    #define somf_TDictionary SOMObject
#endif /* somf_TDictionary */

/*
 * End of bindings for IDL types.
 */

/*
 * Passthru lines: File: "C.h", "after"
 */

#include <tdict.h>

#define somf_TDictionaryIterator_MajorVersion 2
#define somf_TDictionaryIterator_MinorVersion 1

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define somf_TDictionaryIteratorNewClass c
#pragma linkage(c, system)
#define somf_TDictionaryIteratorClassData d
#define somf_TDictionaryIteratorCClassData x
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define somf_TDictionaryIterator_classObj somf_TDictionaryIteratorClassData.classObject
#define _somf_TDictionaryIterator somf_TDictionaryIterator_classObj

/*
 * Declare the class creation procedure
 */
SOMEXTERN SOMClass * SOMLINK somf_TDictionaryIteratorNewClass(integer4 somtmajorVersion,
		integer4 somtminorVersion);
#pragma linkage(somf_TDictionaryIteratorNewClass, system)

/*
 * Declare the class data structure
 */
SOMEXTERN struct somf_TDictionaryIteratorClassDataStructure {
	SOMClass *classObject;
	somMToken somfTDictionaryIteratorInit;
} SOMDLINK somf_TDictionaryIteratorClassData;

/*
 * Declare the C specific class data structure
 */
SOMEXTERN struct somf_TDictionaryIteratorCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken instanceDataToken;
} SOMDLINK somf_TDictionaryIteratorCClassData;

/*
 * New and Renew macros for somf_TDictionaryIterator
 */
#define somf_TDictionaryIteratorNew() \
   (_somNew(_somf_TDictionaryIterator ? _somf_TDictionaryIterator : somf_TDictionaryIteratorNewClass(somf_TDictionaryIterator_MajorVersion, somf_TDictionaryIterator_MinorVersion)))
#define somf_TDictionaryIteratorRenew(buf) \
   (_somRenew(_somf_TDictionaryIterator ? _somf_TDictionaryIterator : somf_TDictionaryIteratorNewClass(somf_TDictionaryIterator_MajorVersion, somf_TDictionaryIterator_MinorVersion), buf))

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

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

/*
 * Override method: somfNext
 */
#define somf_TDictionaryIterator_somfNext(somSelf,ev) \
	somf_TIterator_somfNext(somSelf,ev)

/*
 * Override method: somfFirst
 */
#define somf_TDictionaryIterator_somfFirst(somSelf,ev) \
	somf_TIterator_somfFirst(somSelf,ev)

/*
 * Override method: somfRemove
 */
#define somf_TDictionaryIterator_somfRemove(somSelf,ev) \
	somf_TIterator_somfRemove(somSelf,ev)

/*
 * New Method: somfTDictionaryIteratorInit
 */
typedef somf_TDictionaryIterator*   SOMLINK somTP_somf_TDictionaryIterator_somfTDictionaryIteratorInit(somf_TDictionaryIterator *somSelf, Environment *ev, 
		somf_TDictionary* h);
#pragma linkage(somTP_somf_TDictionaryIterator_somfTDictionaryIteratorInit, system)
typedef somTP_somf_TDictionaryIterator_somfTDictionaryIteratorInit *somTD_somf_TDictionaryIterator_somfTDictionaryIteratorInit;
#define somMD_somf_TDictionaryIterator_somfTDictionaryIteratorInit "::somf_TDictionaryIterator::somfTDictionaryIteratorInit"
#define somf_TDictionaryIterator_somfTDictionaryIteratorInit(somSelf,ev,h) \
    (SOM_Resolve(somSelf, somf_TDictionaryIterator, somfTDictionaryIteratorInit) \
	(somSelf,ev,h))
#ifndef SOMGD_somfTDictionaryIteratorInit
    #if (defined(_somfTDictionaryIteratorInit) || defined(__somfTDictionaryIteratorInit))
        #undef _somfTDictionaryIteratorInit
        #undef __somfTDictionaryIteratorInit
        #define SOMGD_somfTDictionaryIteratorInit 1
    #else
        #define _somfTDictionaryIteratorInit somf_TDictionaryIterator_somfTDictionaryIteratorInit
    #endif /* _somfTDictionaryIteratorInit */
#endif /* SOMGD_somfTDictionaryIteratorInit */
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define somf_TDictionaryIterator_somDefaultInit SOMObject_somDefaultInit
#define somf_TDictionaryIterator_somDestruct SOMObject_somDestruct
#define somf_TDictionaryIterator_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define somf_TDictionaryIterator_somDefaultAssign SOMObject_somDefaultAssign
#define somf_TDictionaryIterator_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define somf_TDictionaryIterator_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define somf_TDictionaryIterator_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define somf_TDictionaryIterator_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define somf_TDictionaryIterator_somDefaultVAssign SOMObject_somDefaultVAssign
#define somf_TDictionaryIterator_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define somf_TDictionaryIterator_somFree SOMObject_somFree
#define somf_TDictionaryIterator_somGetClass SOMObject_somGetClass
#define somf_TDictionaryIterator_somGetClassName SOMObject_somGetClassName
#define somf_TDictionaryIterator_somGetSize SOMObject_somGetSize
#define somf_TDictionaryIterator_somIsA SOMObject_somIsA
#define somf_TDictionaryIterator_somIsInstanceOf SOMObject_somIsInstanceOf
#define somf_TDictionaryIterator_somRespondsTo SOMObject_somRespondsTo
#define somf_TDictionaryIterator_somDispatch SOMObject_somDispatch
#define somf_TDictionaryIterator_somClassDispatch SOMObject_somClassDispatch
#define somf_TDictionaryIterator_somCastObj SOMObject_somCastObj
#define somf_TDictionaryIterator_somResetObj SOMObject_somResetObj
#define somf_TDictionaryIterator_somPrintSelf SOMObject_somPrintSelf
#define somf_TDictionaryIterator_somDumpSelf SOMObject_somDumpSelf
#define somf_TDictionaryIterator_somDumpSelfInt SOMObject_somDumpSelfInt
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_somf_TDictionaryIterator_h */
