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

/*
 * 
 *   COMPONENT_NAME: some
 * 
 *   ORIGINS: 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.
 *  @(#) somc/sctypes.h 2.6 9/1/94 19:26:58 [9/21/94 17:47:11]
 * 
 */


#ifndef SOM_SOMTStringEntryC_h
#define SOM_SOMTStringEntryC_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 SOMTStringEntryCClassData (*resolve_SOMTStringEntryCClassData())
#define SOMTStringEntryCCClassData (*resolve_SOMTStringEntryCCClassData())

/*
 * Define the class name as an object type
 */
#ifndef SOMTStringEntryC
#define SOMTStringEntryC SOMObject
#endif
#include <scentry.h>

/*
 * Start of user-defined types:
 */
#ifndef SOMClass
    #define SOMClass SOMObject
#endif /* SOMClass */
#ifndef SOMTEntryC
    #define SOMTEntryC SOMObject
#endif /* SOMTEntryC */
#ifndef SOMTEmitC
    #define SOMTEmitC SOMObject
#endif /* SOMTEmitC */
#ifndef SOMTMetaClassEntryC
    #define SOMTMetaClassEntryC SOMObject
#endif /* SOMTMetaClassEntryC */
#ifndef SOMTAttributeEntryC
    #define SOMTAttributeEntryC SOMObject
#endif /* SOMTAttributeEntryC */
#ifndef SOMTTypedefEntryC
    #define SOMTTypedefEntryC SOMObject
#endif /* SOMTTypedefEntryC */
#ifndef SOMTBaseClassEntryC
    #define SOMTBaseClassEntryC SOMObject
#endif /* SOMTBaseClassEntryC */
#ifndef SOMTPassthruEntryC
    #define SOMTPassthruEntryC SOMObject
#endif /* SOMTPassthruEntryC */
#ifndef SOMTDataEntryC
    #define SOMTDataEntryC SOMObject
#endif /* SOMTDataEntryC */
#ifndef SOMTMethodEntryC
    #define SOMTMethodEntryC SOMObject
#endif /* SOMTMethodEntryC */
#ifndef SOMTClassEntryC
    #define SOMTClassEntryC SOMObject
#endif /* SOMTClassEntryC */
#ifndef SOMTModuleEntryC
    #define SOMTModuleEntryC SOMObject
#endif /* SOMTModuleEntryC */
#ifndef SOMTParameterEntryC
    #define SOMTParameterEntryC SOMObject
#endif /* SOMTParameterEntryC */
#ifndef SOMTStructEntryC
    #define SOMTStructEntryC SOMObject
#endif /* SOMTStructEntryC */
#ifndef SOMTUnionEntryC
    #define SOMTUnionEntryC SOMObject
#endif /* SOMTUnionEntryC */
#ifndef SOMTEnumEntryC
    #define SOMTEnumEntryC SOMObject
#endif /* SOMTEnumEntryC */
#ifndef SOMTConstEntryC
    #define SOMTConstEntryC SOMObject
#endif /* SOMTConstEntryC */
#ifndef SOMTSequenceEntryC
    #define SOMTSequenceEntryC SOMObject
#endif /* SOMTSequenceEntryC */
#ifndef SOMTStringEntryC
    #define SOMTStringEntryC SOMObject
#endif /* SOMTStringEntryC */
#ifndef SOMTEnumNameEntryC
    #define SOMTEnumNameEntryC SOMObject
#endif /* SOMTEnumNameEntryC */
#ifndef SOMTCommonEntryC
    #define SOMTCommonEntryC SOMObject
#endif /* SOMTCommonEntryC */
#ifndef SOMTUserDefinedTypeEntryC
    #define SOMTUserDefinedTypeEntryC SOMObject
#endif /* SOMTUserDefinedTypeEntryC */

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

#define SOMTStringEntryC_MajorVersion 2
#define SOMTStringEntryC_MinorVersion 1

/*
 * External name shortening if required
 */
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define SOMTStringEntryCNewClass c
#define SOMTStringEntryCClassData d
#define SOMTStringEntryCCClassData x
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define SOMTStringEntryC_classObj SOMTStringEntryCClassData.classObject
#define _SOMTStringEntryC SOMTStringEntryC_classObj

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

/*
 * Declare the class data structure
 */
SOMEXTERN struct SOMTStringEntryCClassDataStructure {
	SOMClass *classObject;
	somMToken _get_somtStringLength;
}  _SOMTStringEntryCClassData;
SOMEXTERN struct SOMTStringEntryCClassDataStructure * SOMLINK resolve_SOMTStringEntryCClassData(void);

/*
 * Declare the C specific class data structure
 */
SOMEXTERN struct SOMTStringEntryCCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken instanceDataToken;
}  _SOMTStringEntryCCClassData;
SOMEXTERN struct SOMTStringEntryCCClassDataStructure * SOMLINK resolve_SOMTStringEntryCCClassData(void);

/*
 * New and Renew macros for SOMTStringEntryC
 */
#define SOMTStringEntryCNew() \
   (_somNew(_SOMTStringEntryC ? _SOMTStringEntryC : SOMTStringEntryCNewClass(SOMTStringEntryC_MajorVersion, SOMTStringEntryC_MinorVersion)))
#define SOMTStringEntryCRenew(buf) \
   (_somRenew(_SOMTStringEntryC ? _SOMTStringEntryC : SOMTStringEntryCNewClass(SOMTStringEntryC_MajorVersion, SOMTStringEntryC_MinorVersion), buf))

/*
 * Override method: somDumpSelfInt
 */
#define SOMTStringEntryC_somDumpSelfInt(somSelf,level) \
	SOMObject_somDumpSelfInt(somSelf,level)

/*
 * Override method: somtSetSymbolsOnEntry
 */
#define SOMTStringEntryC_somtSetSymbolsOnEntry(somSelf,emitter,prefix) \
	SOMTEntryC_somtSetSymbolsOnEntry(somSelf,emitter,prefix)

/*
 * New Method: _get_somtStringLength
 */
typedef long   (SOMLINK * somTD_SOMTStringEntryC__get_somtStringLength)(SOMTStringEntryC *somSelf);
#define somMD_SOMTStringEntryC__get_somtStringLength "::SOMTStringEntryC::somtStringLength"
#define SOMTStringEntryC__get_somtStringLength(somSelf) \
    (SOM_Resolve(somSelf, SOMTStringEntryC, _get_somtStringLength) \
	(somSelf))
#ifndef SOMGD_get_somtStringLength
    #if (defined(_get_somtStringLength) || defined(__get_somtStringLength))
        #undef _get_somtStringLength
        #undef __get_somtStringLength
        #define SOMGD_get_somtStringLength 1
    #else
        #define __get_somtStringLength SOMTStringEntryC__get_somtStringLength
    #endif /* __get_somtStringLength */
#endif /* SOMGD_get_somtStringLength */
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define SOMTStringEntryC__get_somtEntryName SOMTEntryC__get_somtEntryName
#define SOMTStringEntryC__set_somtEntryName SOMTEntryC__set_somtEntryName
#define SOMTStringEntryC__get_somtElementType SOMTEntryC__get_somtElementType
#define SOMTStringEntryC__set_somtElementType SOMTEntryC__set_somtElementType
#define SOMTStringEntryC__get_somtElementTypeName SOMTEntryC__get_somtElementTypeName
#define SOMTStringEntryC__get_somtEntryComment SOMTEntryC__get_somtEntryComment
#define SOMTStringEntryC__get_somtSourceLineNumber SOMTEntryC__get_somtSourceLineNumber
#define SOMTStringEntryC__get_somtTypeCode SOMTEntryC__get_somtTypeCode
#define SOMTStringEntryC__get_somtIsReference SOMTEntryC__get_somtIsReference
#define SOMTStringEntryC__get_somtIDLScopedName SOMTEntryC__get_somtIDLScopedName
#define SOMTStringEntryC__get_somtCScopedName SOMTEntryC__get_somtCScopedName
#define SOMTStringEntryC_somtGetModifierValue SOMTEntryC_somtGetModifierValue
#define SOMTStringEntryC_somtGetFirstModifier SOMTEntryC_somtGetFirstModifier
#define SOMTStringEntryC_somtGetNextModifier SOMTEntryC_somtGetNextModifier
#define SOMTStringEntryC_somtFormatModifier SOMTEntryC_somtFormatModifier
#define SOMTStringEntryC_somtGetModifierList SOMTEntryC_somtGetModifierList
#define SOMTStringEntryC_somtSetEntryStruct SOMTEntryC_somtSetEntryStruct
#define SOMTStringEntryC_somDefaultInit SOMObject_somDefaultInit
#define SOMTStringEntryC_somDestruct SOMObject_somDestruct
#define SOMTStringEntryC_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define SOMTStringEntryC_somDefaultAssign SOMObject_somDefaultAssign
#define SOMTStringEntryC_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define SOMTStringEntryC_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define SOMTStringEntryC_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define SOMTStringEntryC_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define SOMTStringEntryC_somDefaultVAssign SOMObject_somDefaultVAssign
#define SOMTStringEntryC_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define SOMTStringEntryC_somInit SOMObject_somInit
#define SOMTStringEntryC_somFree SOMObject_somFree
#define SOMTStringEntryC_somUninit SOMObject_somUninit
#define SOMTStringEntryC_somGetClass SOMObject_somGetClass
#define SOMTStringEntryC_somGetClassName SOMObject_somGetClassName
#define SOMTStringEntryC_somGetSize SOMObject_somGetSize
#define SOMTStringEntryC_somIsA SOMObject_somIsA
#define SOMTStringEntryC_somIsInstanceOf SOMObject_somIsInstanceOf
#define SOMTStringEntryC_somRespondsTo SOMObject_somRespondsTo
#define SOMTStringEntryC_somDispatch SOMObject_somDispatch
#define SOMTStringEntryC_somClassDispatch SOMObject_somClassDispatch
#define SOMTStringEntryC_somCastObj SOMObject_somCastObj
#define SOMTStringEntryC_somResetObj SOMObject_somResetObj
#define SOMTStringEntryC_somDispatchV SOMObject_somDispatchV
#define SOMTStringEntryC_somDispatchL SOMObject_somDispatchL
#define SOMTStringEntryC_somDispatchA SOMObject_somDispatchA
#define SOMTStringEntryC_somDispatchD SOMObject_somDispatchD
#define SOMTStringEntryC_somPrintSelf SOMObject_somPrintSelf
#define SOMTStringEntryC_somDumpSelf SOMObject_somDumpSelf
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_SOMTStringEntryC_h */
