
/*
 * This file was generated by the SOM Compiler.
 * FileName: suep.h.
 * Generated using:
 *     SOM Precompiler somipc: 2.29.1.19
 *     SOM Emitter emith.dll: 2.31.1.64
 */

/*
 *   This class is adapted from the book
 *     Class Construction in C and C++, Object Oriented Fundamentals
 *     by Roger Sessions, Copyright (c) 1992 Prentice Hall.
 *   Reprinted with permission.
 */


#ifndef SOM_setUpEnvProcessor_h
#define SOM_setUpEnvProcessor_h


/*
 * The SOM_STRICT_IDL macro means that we can ignore stars
 * in our declarations of objects.
 */
#define SOM_STRICT_IDL 1


#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 setUpEnvProcessor
#define setUpEnvProcessor SOMObject
#endif

/*
 * Include Parent Bindings
 */
#ifndef SOM_envProcessor_h
#ifdef SOMLOCALINCLUDES
#include "ep.h"
#else
#include <ep.h>
#endif
#endif

/*
 * Start of bindings for IDL types
 */

#ifndef SOMClass
    #define SOMClass SOMObject
#endif /* SOMClass */
#ifndef page
    #define page SOMObject
#endif /* page */
#ifndef TPWord
    #define TPWord SOMObject
#endif /* TPWord */
#ifndef fileMgr
    #define fileMgr SOMObject
#endif /* fileMgr */

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

#define setUpEnvProcessor_MajorVersion 0
#define setUpEnvProcessor_MinorVersion 0

/*
 * Declare the class creation procedure
 */
SOMEXTERN 
#if defined(SOM_Module_suep_Source)
        SOMDLLEXPORT
#else
    SOMDLLIMPORT
#endif
 SOMClass  SOMLINK setUpEnvProcessorNewClass(integer4 somtmajorVersion,
		integer4 somtminorVersion);

/*
 * Declare the ABI 2 ClassData structure
 */
SOMEXTERN struct setUpEnvProcessorClassDataStructure {
	SOMClass classObject;
	somMToken suReadIntWord;
	somMToken suProcessOptions;
} 
#if defined(SOM_Module_suep_Source)
        SOMDLLEXPORT
#else
    SOMDLLIMPORT
#endif
 SOMDLINK setUpEnvProcessorClassData;

/*
 * Declare the ABI 2 CClassData structure
 */
SOMEXTERN struct setUpEnvProcessorCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken instanceDataToken;
} 
#if defined(SOM_Module_suep_Source)
        SOMDLLEXPORT
#else
    SOMDLLIMPORT
#endif
 SOMDLINK setUpEnvProcessorCClassData;

/*
 * Class Object and Method Token Macros
 */
#define _SOMCLASS_setUpEnvProcessor (setUpEnvProcessorClassData.classObject)
#ifndef SOMGD_setUpEnvProcessor
    #if (defined(_setUpEnvProcessor) || defined(__setUpEnvProcessor))
        #undef _setUpEnvProcessor
        #undef __setUpEnvProcessor
        #define SOMGD_setUpEnvProcessor 1
    #else
        #define _setUpEnvProcessor _SOMCLASS_setUpEnvProcessor
    #endif /* _setUpEnvProcessor */
#endif /* SOMGD_setUpEnvProcessor */
#define setUpEnvProcessor_classObj _SOMCLASS_setUpEnvProcessor
#define _SOMMTOKEN_setUpEnvProcessor(method) ((somMToken)setUpEnvProcessorClassData.method)

/*
 * New and Renew macros for setUpEnvProcessor
 */
#define setUpEnvProcessorNew() \
   ( _setUpEnvProcessor ? \
	_somNew(_setUpEnvProcessor) \
	: ( setUpEnvProcessorNewClass(\
		setUpEnvProcessor_MajorVersion, \
		setUpEnvProcessor_MinorVersion),\
	   _somNew(_setUpEnvProcessor)))
#define setUpEnvProcessorRenew(buf) \
   ( _setUpEnvProcessor ? \
	_somRenew(_setUpEnvProcessor, buf) \
	: ( setUpEnvProcessorNewClass(\
		setUpEnvProcessor_MajorVersion, \
		setUpEnvProcessor_MinorVersion),\
	   _somRenew(_setUpEnvProcessor, buf)))

/*
 * New Method: suReadIntWord
 */
typedef long   SOMLINK somTP_setUpEnvProcessor_suReadIntWord(setUpEnvProcessor somSelf);
typedef somTP_setUpEnvProcessor_suReadIntWord *somTD_setUpEnvProcessor_suReadIntWord;
/*
 *  Used to read an integer word.
 */
#define somMD_setUpEnvProcessor_suReadIntWord "::setUpEnvProcessor::suReadIntWord"
#define setUpEnvProcessor_suReadIntWord(somSelf) \
    (SOM_Resolve(somSelf, setUpEnvProcessor, suReadIntWord) \
	(somSelf))
#ifndef SOMGD_suReadIntWord
    #if (defined(_suReadIntWord) || defined(__suReadIntWord))
        #undef _suReadIntWord
        #undef __suReadIntWord
        #define SOMGD_suReadIntWord 1
    #else
        #define _suReadIntWord setUpEnvProcessor_suReadIntWord
    #endif /* _suReadIntWord */
#endif /* SOMGD_suReadIntWord */

/*
 * New Method: suProcessOptions
 */
typedef void   SOMLINK somTP_setUpEnvProcessor_suProcessOptions(setUpEnvProcessor somSelf);
typedef somTP_setUpEnvProcessor_suProcessOptions *somTD_setUpEnvProcessor_suProcessOptions;
/*
 *  Used to process set up options.
 */
#define somMD_setUpEnvProcessor_suProcessOptions "::setUpEnvProcessor::suProcessOptions"
#define setUpEnvProcessor_suProcessOptions(somSelf) \
    (SOM_Resolve(somSelf, setUpEnvProcessor, suProcessOptions) \
	(somSelf))
#ifndef SOMGD_suProcessOptions
    #if (defined(_suProcessOptions) || defined(__suProcessOptions))
        #undef _suProcessOptions
        #undef __suProcessOptions
        #define SOMGD_suProcessOptions 1
    #else
        #define _suProcessOptions setUpEnvProcessor_suProcessOptions
    #endif /* _suProcessOptions */
#endif /* SOMGD_suProcessOptions */

/*
 * Full Names for Inherited Methods
 */

#ifndef SOM_DONT_USE_INHERITED_MACROS
#define setUpEnvProcessor_epInit1 envProcessor_epInit1
#define setUpEnvProcessor_epProcessEnvironment envProcessor_epProcessEnvironment
#define setUpEnvProcessor_epStartUpNewEnvironment envProcessor_epStartUpNewEnvironment
#define setUpEnvProcessor_epInitializeEnvironment envProcessor_epInitializeEnvironment
#define setUpEnvProcessor_epShutdownEnvironment envProcessor_epShutdownEnvironment
#define setUpEnvProcessor_epPrepareForNewEnvironment envProcessor_epPrepareForNewEnvironment
#define setUpEnvProcessor__get_paragraphIndentation envProcessor__get_paragraphIndentation
#define setUpEnvProcessor__get_lineIndentation envProcessor__get_lineIndentation
#define setUpEnvProcessor__get_currentPage envProcessor__get_currentPage
#define setUpEnvProcessor__set_currentPage envProcessor__set_currentPage
#define setUpEnvProcessor__get_currentFileMgr envProcessor__get_currentFileMgr
#define setUpEnvProcessor__set_currentFileMgr envProcessor__set_currentFileMgr
#define setUpEnvProcessor__get_previousEnv envProcessor__get_previousEnv
#define setUpEnvProcessor_somInit SOMObject_somInit
#define setUpEnvProcessor_somUninit SOMObject_somUninit
#define setUpEnvProcessor_somDumpSelfInt SOMObject_somDumpSelfInt
#define setUpEnvProcessor_somDefaultInit SOMObject_somDefaultInit
#define setUpEnvProcessor_somDestruct SOMObject_somDestruct
#define setUpEnvProcessor_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define setUpEnvProcessor_somDefaultAssign SOMObject_somDefaultAssign
#define setUpEnvProcessor_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define setUpEnvProcessor_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define setUpEnvProcessor_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define setUpEnvProcessor_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define setUpEnvProcessor_somDefaultVAssign SOMObject_somDefaultVAssign
#define setUpEnvProcessor_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define setUpEnvProcessor_somFree SOMObject_somFree
#define setUpEnvProcessor_somGetClass SOMObject_somGetClass
#define setUpEnvProcessor_somGetClassName SOMObject_somGetClassName
#define setUpEnvProcessor_somGetSize SOMObject_somGetSize
#define setUpEnvProcessor_somIsA SOMObject_somIsA
#define setUpEnvProcessor_somIsInstanceOf SOMObject_somIsInstanceOf
#define setUpEnvProcessor_somRespondsTo SOMObject_somRespondsTo
#define setUpEnvProcessor_somDispatch SOMObject_somDispatch
#define setUpEnvProcessor_somClassDispatch SOMObject_somClassDispatch
#define setUpEnvProcessor_somCastObj SOMObject_somCastObj
#define setUpEnvProcessor_somResetObj SOMObject_somResetObj
#define setUpEnvProcessor_somPrintSelf SOMObject_somPrintSelf
#define setUpEnvProcessor_somDumpSelf SOMObject_somDumpSelf
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_setUpEnvProcessor_h */
