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

/*
 *   COMPONENT_NAME: some
 * 
 *   ORIGINS: 27
 * 
 * 
 *    25H7912  (C)  COPYRIGHT International Business Machines Corp. 1992,1994,1996
 *   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.10 5/22/96 13:13:27 [12/22/96 21:12:13]
 * 
 */


#ifndef SOM_SOMTStringEntryC_h
#define SOM_SOMTStringEntryC_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>
#ifndef SOM_IMPORTEXPORT_some_scstring
#ifdef SOM_DLL_some
	/* export semantics */
	#if defined(SOM_DEFFILE_some)\
	||(defined(SOM_DEFFILE_BY_DEFAULT)&&!defined(SOM_NODEFFILE_some))\
	|| !defined(SOM_Module_scstring_Source)
	#define SOM_IMPORTEXPORT_some_scstring
	#else
	#define SOM_IMPORTEXPORT_some_scstring SOMDLLEXPORT
	#endif
#else
	#define SOM_IMPORTEXPORT_some_scstring SOMDLLIMPORT
#endif
#endif

/*
 * -- 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 SOMTStringEntryC
#define SOMTStringEntryC SOMObject
#endif

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

/*
 * Start of bindings for IDL 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 bindings for IDL types.
 */

#define SOMTStringEntryC_MajorVersion 2
#define SOMTStringEntryC_MinorVersion 1

/*
 * Declare the class creation procedure
 */
SOMEXTERN SOM_IMPORTEXPORT_some_scstring SOMClass  SOMLINK SOMTStringEntryCNewClass(integer4 somtmajorVersion,
		integer4 somtminorVersion);

/*
 * Declare the ABI 2 ClassData structure
 */
SOMEXTERN struct SOMTStringEntryCClassDataStructure {
	SOMClass classObject;
	somMToken _get_somtStringLength;
} SOM_IMPORTEXPORT_some_scstring SOMDLINK SOMTStringEntryCClassData;

/*
 * Declare the ABI 2 CClassData structure
 */
SOMEXTERN struct SOMTStringEntryCCClassDataStructure {
	somMethodTabs parentMtab;
	somDToken instanceDataToken;
} SOM_IMPORTEXPORT_some_scstring SOMDLINK SOMTStringEntryCCClassData;

/*
 * Class Object and Method Token Macros
 */
#define _SOMCLASS_SOMTStringEntryC (SOMTStringEntryCClassData.classObject)
#ifndef SOMGD_SOMTStringEntryC
    #if (defined(_SOMTStringEntryC) || defined(__SOMTStringEntryC))
        #undef _SOMTStringEntryC
        #undef __SOMTStringEntryC
        #define SOMGD_SOMTStringEntryC 1
    #else
        #define _SOMTStringEntryC _SOMCLASS_SOMTStringEntryC
    #endif /* _SOMTStringEntryC */
#endif /* SOMGD_SOMTStringEntryC */
#define SOMTStringEntryC_classObj _SOMCLASS_SOMTStringEntryC
#define _SOMMTOKEN_SOMTStringEntryC(method) ((somMToken)SOMTStringEntryCClassData.method)

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

/*
 * New Method: _get_somtStringLength
 */
typedef long   SOMLINK somTP_SOMTStringEntryC__get_somtStringLength(SOMTStringEntryC somSelf);
typedef somTP_SOMTStringEntryC__get_somtStringLength *somTD_SOMTStringEntryC__get_somtStringLength;
/*
 *  The length of the string.
 */
#define somMD_SOMTStringEntryC__get_somtStringLength "::SOMTStringEntryC::_get_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 */

/*
 * Full Names for Inherited Methods
 */
/* overridden methods */
#define SOMTStringEntryC_somtSetSymbolsOnEntry SOMTEntryC_somtSetSymbolsOnEntry
#define SOMTStringEntryC_somDumpSelfInt SOMObject_somDumpSelfInt

#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_somInit SOMObject_somInit
#define SOMTStringEntryC_somUninit SOMObject_somUninit
#define SOMTStringEntryC_somPrintSelf SOMObject_somPrintSelf
#define SOMTStringEntryC_somDumpSelf SOMObject_somDumpSelf
#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_somFree SOMObject_somFree
#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
#endif /* SOM_DONT_USE_INHERITED_MACROS */

#endif       /* SOM_SOMTStringEntryC_h */
