home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
tolkit45.zip
/
os2tk45
/
som
/
include
/
scattrib.h
< prev
next >
Wrap
C/C++ Source or Header
|
1999-02-22
|
18KB
|
439 lines
/*
* This file was generated by the SOM Compiler.
* FileName: scattrib.h.
* Generated using:
* SOM Precompiler somipc: 2.29.1.17
* SOM Emitter emith: 2.47
*/
/*
* 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.7 12/26/95 16:26:17 [7/30/96 14:46:04]
*
*/
#ifndef SOM_SOMTAttributeEntryC_h
#define SOM_SOMTAttributeEntryC_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 SOMTAttributeEntryC
#define SOMTAttributeEntryC SOMObject
#endif
#include <scentry.h>
/*
* Start of bindings for IDL types
*/
#ifndef SOMTDataEntryC
#define SOMTDataEntryC SOMObject
#endif /* SOMTDataEntryC */
#ifndef SOMTMethodEntryC
#define SOMTMethodEntryC SOMObject
#endif /* SOMTMethodEntryC */
#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 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 SOMTAttributeEntryC_MajorVersion 2
#define SOMTAttributeEntryC_MinorVersion 1
/*
* External name shortening if required
*/
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define SOMTAttributeEntryCNewClass c
#pragma linkage(c, system)
#define SOMTAttributeEntryCClassData d
#define SOMTAttributeEntryCCClassData x
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*--------------Migration------------*/
#define SOMTAttributeEntryC_classObj SOMTAttributeEntryCClassData.classObject
#define _SOMTAttributeEntryC SOMTAttributeEntryC_classObj
/*
* Declare the class creation procedure
*/
SOMEXTERN SOMClass * SOMLINK SOMTAttributeEntryCNewClass(integer4 somtmajorVersion,
integer4 somtminorVersion);
#pragma linkage(SOMTAttributeEntryCNewClass, system)
/*
* Declare the class data structure
*/
SOMEXTERN struct SOMTAttributeEntryCClassDataStructure {
SOMClass *classObject;
somMToken _get_somtIsReadonly;
somMToken _get_somtAttribType;
somMToken somtGetFirstAttributeDeclarator;
somMToken somtGetNextAttributeDeclarator;
somMToken somtGetFirstGetMethod;
somMToken somtGetNextGetMethod;
somMToken somtGetFirstSetMethod;
somMToken somtGetNextSetMethod;
} SOMDLINK SOMTAttributeEntryCClassData;
/*
* Declare the C specific class data structure
*/
SOMEXTERN struct SOMTAttributeEntryCCClassDataStructure {
somMethodTabs parentMtab;
somDToken instanceDataToken;
} SOMDLINK SOMTAttributeEntryCCClassData;
/*
* New and Renew macros for SOMTAttributeEntryC
*/
#define SOMTAttributeEntryCNew() \
( _SOMTAttributeEntryC ? \
_somNew(_SOMTAttributeEntryC) \
: ( SOMTAttributeEntryCNewClass(\
SOMTAttributeEntryC_MajorVersion, \
SOMTAttributeEntryC_MinorVersion),\
_somNew(_SOMTAttributeEntryC)))
#define SOMTAttributeEntryCRenew(buf) \
( _SOMTAttributeEntryC ? \
_somRenew(_SOMTAttributeEntryC, buf) \
: ( SOMTAttributeEntryCNewClass(\
SOMTAttributeEntryC_MajorVersion, \
SOMTAttributeEntryC_MinorVersion),\
_somRenew(_SOMTAttributeEntryC, buf)))
/*
* Override method: somtSetSymbolsOnEntry
*/
#define SOMTAttributeEntryC_somtSetSymbolsOnEntry(somSelf,emitter,prefix) \
SOMTEntryC_somtSetSymbolsOnEntry(somSelf,emitter,prefix)
/*
* Override method: somDumpSelfInt
*/
#define SOMTAttributeEntryC_somDumpSelfInt(somSelf,level) \
SOMObject_somDumpSelfInt(somSelf,level)
/*
* New Method: _get_somtIsReadonly
*/
typedef boolean SOMLINK somTP_SOMTAttributeEntryC__get_somtIsReadonly(SOMTAttributeEntryC *somSelf);
#pragma linkage(somTP_SOMTAttributeEntryC__get_somtIsReadonly, system)
typedef somTP_SOMTAttributeEntryC__get_somtIsReadonly *somTD_SOMTAttributeEntryC__get_somtIsReadonly;
/*
* Whether the attribute is readonly.
*/
#define somMD_SOMTAttributeEntryC__get_somtIsReadonly "::SOMTAttributeEntryC::_get_somtIsReadonly"
#define SOMTAttributeEntryC__get_somtIsReadonly(somSelf) \
(SOM_Resolve(somSelf, SOMTAttributeEntryC, _get_somtIsReadonly) \
(somSelf))
#ifndef SOMGD_get_somtIsReadonly
#if (defined(_get_somtIsReadonly) || defined(__get_somtIsReadonly))
#undef _get_somtIsReadonly
#undef __get_somtIsReadonly
#define SOMGD_get_somtIsReadonly 1
#else
#define __get_somtIsReadonly SOMTAttributeEntryC__get_somtIsReadonly
#endif /* __get_somtIsReadonly */
#endif /* SOMGD_get_somtIsReadonly */
/*
* New Method: _get_somtAttribType
*/
typedef SOMTEntryC* SOMLINK somTP_SOMTAttributeEntryC__get_somtAttribType(SOMTAttributeEntryC *somSelf);
#pragma linkage(somTP_SOMTAttributeEntryC__get_somtAttribType, system)
typedef somTP_SOMTAttributeEntryC__get_somtAttribType *somTD_SOMTAttributeEntryC__get_somtAttribType;
/*
* The type of the attribute. This does not include pointer stars
* or array declarators. To get the "full" type, get each attribute
* declarator and get the somtType attribute.
*/
#define somMD_SOMTAttributeEntryC__get_somtAttribType "::SOMTAttributeEntryC::_get_somtAttribType"
#define SOMTAttributeEntryC__get_somtAttribType(somSelf) \
(SOM_Resolve(somSelf, SOMTAttributeEntryC, _get_somtAttribType) \
(somSelf))
#ifndef SOMGD_get_somtAttribType
#if (defined(_get_somtAttribType) || defined(__get_somtAttribType))
#undef _get_somtAttribType
#undef __get_somtAttribType
#define SOMGD_get_somtAttribType 1
#else
#define __get_somtAttribType SOMTAttributeEntryC__get_somtAttribType
#endif /* __get_somtAttribType */
#endif /* SOMGD_get_somtAttribType */
/*
* New Method: somtGetFirstAttributeDeclarator
*/
typedef SOMTDataEntryC* SOMLINK somTP_SOMTAttributeEntryC_somtGetFirstAttributeDeclarator(SOMTAttributeEntryC *somSelf);
#pragma linkage(somTP_SOMTAttributeEntryC_somtGetFirstAttributeDeclarator, system)
typedef somTP_SOMTAttributeEntryC_somtGetFirstAttributeDeclarator *somTD_SOMTAttributeEntryC_somtGetFirstAttributeDeclarator;
/*
* The first attribute declarator for this attribute declaration.
*/
#define somMD_SOMTAttributeEntryC_somtGetFirstAttributeDeclarator "::SOMTAttributeEntryC::somtGetFirstAttributeDeclarator"
#define SOMTAttributeEntryC_somtGetFirstAttributeDeclarator(somSelf) \
(SOM_Resolve(somSelf, SOMTAttributeEntryC, somtGetFirstAttributeDeclarator) \
(somSelf))
#ifndef SOMGD_somtGetFirstAttributeDeclarator
#if (defined(_somtGetFirstAttributeDeclarator) || defined(__somtGetFirstAttributeDeclarator))
#undef _somtGetFirstAttributeDeclarator
#undef __somtGetFirstAttributeDeclarator
#define SOMGD_somtGetFirstAttributeDeclarator 1
#else
#define _somtGetFirstAttributeDeclarator SOMTAttributeEntryC_somtGetFirstAttributeDeclarator
#endif /* _somtGetFirstAttributeDeclarator */
#endif /* SOMGD_somtGetFirstAttributeDeclarator */
/*
* New Method: somtGetNextAttributeDeclarator
*/
typedef SOMTDataEntryC* SOMLINK somTP_SOMTAttributeEntryC_somtGetNextAttributeDeclarator(SOMTAttributeEntryC *somSelf);
#pragma linkage(somTP_SOMTAttributeEntryC_somtGetNextAttributeDeclarator, system)
typedef somTP_SOMTAttributeEntryC_somtGetNextAttributeDeclarator *somTD_SOMTAttributeEntryC_somtGetNextAttributeDeclarator;
/*
* The next attribute declarator for this attribute declaration,
* relative to the previous call to this method or
* somtGetFirstAttributeDeclarator.
*/
#define somMD_SOMTAttributeEntryC_somtGetNextAttributeDeclarator "::SOMTAttributeEntryC::somtGetNextAttributeDeclarator"
#define SOMTAttributeEntryC_somtGetNextAttributeDeclarator(somSelf) \
(SOM_Resolve(somSelf, SOMTAttributeEntryC, somtGetNextAttributeDeclarator) \
(somSelf))
#ifndef SOMGD_somtGetNextAttributeDeclarator
#if (defined(_somtGetNextAttributeDeclarator) || defined(__somtGetNextAttributeDeclarator))
#undef _somtGetNextAttributeDeclarator
#undef __somtGetNextAttributeDeclarator
#define SOMGD_somtGetNextAttributeDeclarator 1
#else
#define _somtGetNextAttributeDeclarator SOMTAttributeEntryC_somtGetNextAttributeDeclarator
#endif /* _somtGetNextAttributeDeclarator */
#endif /* SOMGD_somtGetNextAttributeDeclarator */
/*
* New Method: somtGetFirstGetMethod
*/
typedef SOMTMethodEntryC* SOMLINK somTP_SOMTAttributeEntryC_somtGetFirstGetMethod(SOMTAttributeEntryC *somSelf);
#pragma linkage(somTP_SOMTAttributeEntryC_somtGetFirstGetMethod, system)
typedef somTP_SOMTAttributeEntryC_somtGetFirstGetMethod *somTD_SOMTAttributeEntryC_somtGetFirstGetMethod;
/*
* The first get method for this attribute declaration.
*/
#define somMD_SOMTAttributeEntryC_somtGetFirstGetMethod "::SOMTAttributeEntryC::somtGetFirstGetMethod"
#define SOMTAttributeEntryC_somtGetFirstGetMethod(somSelf) \
(SOM_Resolve(somSelf, SOMTAttributeEntryC, somtGetFirstGetMethod) \
(somSelf))
#ifndef SOMGD_somtGetFirstGetMethod
#if (defined(_somtGetFirstGetMethod) || defined(__somtGetFirstGetMethod))
#undef _somtGetFirstGetMethod
#undef __somtGetFirstGetMethod
#define SOMGD_somtGetFirstGetMethod 1
#else
#define _somtGetFirstGetMethod SOMTAttributeEntryC_somtGetFirstGetMethod
#endif /* _somtGetFirstGetMethod */
#endif /* SOMGD_somtGetFirstGetMethod */
/*
* New Method: somtGetNextGetMethod
*/
typedef SOMTMethodEntryC* SOMLINK somTP_SOMTAttributeEntryC_somtGetNextGetMethod(SOMTAttributeEntryC *somSelf);
#pragma linkage(somTP_SOMTAttributeEntryC_somtGetNextGetMethod, system)
typedef somTP_SOMTAttributeEntryC_somtGetNextGetMethod *somTD_SOMTAttributeEntryC_somtGetNextGetMethod;
/*
* The next get method for this attribute declaration,
* relative to the previous call to this method or
* somtGetFirstGetMethod.
*/
#define somMD_SOMTAttributeEntryC_somtGetNextGetMethod "::SOMTAttributeEntryC::somtGetNextGetMethod"
#define SOMTAttributeEntryC_somtGetNextGetMethod(somSelf) \
(SOM_Resolve(somSelf, SOMTAttributeEntryC, somtGetNextGetMethod) \
(somSelf))
#ifndef SOMGD_somtGetNextGetMethod
#if (defined(_somtGetNextGetMethod) || defined(__somtGetNextGetMethod))
#undef _somtGetNextGetMethod
#undef __somtGetNextGetMethod
#define SOMGD_somtGetNextGetMethod 1
#else
#define _somtGetNextGetMethod SOMTAttributeEntryC_somtGetNextGetMethod
#endif /* _somtGetNextGetMethod */
#endif /* SOMGD_somtGetNextGetMethod */
/*
* New Method: somtGetFirstSetMethod
*/
typedef SOMTMethodEntryC* SOMLINK somTP_SOMTAttributeEntryC_somtGetFirstSetMethod(SOMTAttributeEntryC *somSelf);
#pragma linkage(somTP_SOMTAttributeEntryC_somtGetFirstSetMethod, system)
typedef somTP_SOMTAttributeEntryC_somtGetFirstSetMethod *somTD_SOMTAttributeEntryC_somtGetFirstSetMethod;
/*
* The first set method for this attribute declaration.
*/
#define somMD_SOMTAttributeEntryC_somtGetFirstSetMethod "::SOMTAttributeEntryC::somtGetFirstSetMethod"
#define SOMTAttributeEntryC_somtGetFirstSetMethod(somSelf) \
(SOM_Resolve(somSelf, SOMTAttributeEntryC, somtGetFirstSetMethod) \
(somSelf))
#ifndef SOMGD_somtGetFirstSetMethod
#if (defined(_somtGetFirstSetMethod) || defined(__somtGetFirstSetMethod))
#undef _somtGetFirstSetMethod
#undef __somtGetFirstSetMethod
#define SOMGD_somtGetFirstSetMethod 1
#else
#define _somtGetFirstSetMethod SOMTAttributeEntryC_somtGetFirstSetMethod
#endif /* _somtGetFirstSetMethod */
#endif /* SOMGD_somtGetFirstSetMethod */
/*
* New Method: somtGetNextSetMethod
*/
typedef SOMTMethodEntryC* SOMLINK somTP_SOMTAttributeEntryC_somtGetNextSetMethod(SOMTAttributeEntryC *somSelf);
#pragma linkage(somTP_SOMTAttributeEntryC_somtGetNextSetMethod, system)
typedef somTP_SOMTAttributeEntryC_somtGetNextSetMethod *somTD_SOMTAttributeEntryC_somtGetNextSetMethod;
/*
* The next set method for this attribute declaration,
* relative to the previous call to this method or
* somtGetFirstSetMethod.
*/
#define somMD_SOMTAttributeEntryC_somtGetNextSetMethod "::SOMTAttributeEntryC::somtGetNextSetMethod"
#define SOMTAttributeEntryC_somtGetNextSetMethod(somSelf) \
(SOM_Resolve(somSelf, SOMTAttributeEntryC, somtGetNextSetMethod) \
(somSelf))
#ifndef SOMGD_somtGetNextSetMethod
#if (defined(_somtGetNextSetMethod) || defined(__somtGetNextSetMethod))
#undef _somtGetNextSetMethod
#undef __somtGetNextSetMethod
#define SOMGD_somtGetNextSetMethod 1
#else
#define _somtGetNextSetMethod SOMTAttributeEntryC_somtGetNextSetMethod
#endif /* _somtGetNextSetMethod */
#endif /* SOMGD_somtGetNextSetMethod */
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define SOMTAttributeEntryC__get_somtEntryName SOMTEntryC__get_somtEntryName
#define SOMTAttributeEntryC__set_somtEntryName SOMTEntryC__set_somtEntryName
#define SOMTAttributeEntryC__get_somtElementType SOMTEntryC__get_somtElementType
#define SOMTAttributeEntryC__set_somtElementType SOMTEntryC__set_somtElementType
#define SOMTAttributeEntryC__get_somtElementTypeName SOMTEntryC__get_somtElementTypeName
#define SOMTAttributeEntryC__get_somtEntryComment SOMTEntryC__get_somtEntryComment
#define SOMTAttributeEntryC__get_somtSourceLineNumber SOMTEntryC__get_somtSourceLineNumber
#define SOMTAttributeEntryC__get_somtTypeCode SOMTEntryC__get_somtTypeCode
#define SOMTAttributeEntryC__get_somtIsReference SOMTEntryC__get_somtIsReference
#define SOMTAttributeEntryC__get_somtIDLScopedName SOMTEntryC__get_somtIDLScopedName
#define SOMTAttributeEntryC__get_somtCScopedName SOMTEntryC__get_somtCScopedName
#define SOMTAttributeEntryC_somtGetModifierValue SOMTEntryC_somtGetModifierValue
#define SOMTAttributeEntryC_somtGetFirstModifier SOMTEntryC_somtGetFirstModifier
#define SOMTAttributeEntryC_somtGetNextModifier SOMTEntryC_somtGetNextModifier
#define SOMTAttributeEntryC_somtFormatModifier SOMTEntryC_somtFormatModifier
#define SOMTAttributeEntryC_somtGetModifierList SOMTEntryC_somtGetModifierList
#define SOMTAttributeEntryC_somtSetEntryStruct SOMTEntryC_somtSetEntryStruct
#define SOMTAttributeEntryC_somInit SOMObject_somInit
#define SOMTAttributeEntryC_somUninit SOMObject_somUninit
#define SOMTAttributeEntryC_somPrintSelf SOMObject_somPrintSelf
#define SOMTAttributeEntryC_somDumpSelf SOMObject_somDumpSelf
#define SOMTAttributeEntryC_somDefaultInit SOMObject_somDefaultInit
#define SOMTAttributeEntryC_somDestruct SOMObject_somDestruct
#define SOMTAttributeEntryC_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define SOMTAttributeEntryC_somDefaultAssign SOMObject_somDefaultAssign
#define SOMTAttributeEntryC_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define SOMTAttributeEntryC_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define SOMTAttributeEntryC_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define SOMTAttributeEntryC_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define SOMTAttributeEntryC_somDefaultVAssign SOMObject_somDefaultVAssign
#define SOMTAttributeEntryC_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define SOMTAttributeEntryC_somFree SOMObject_somFree
#define SOMTAttributeEntryC_somGetClass SOMObject_somGetClass
#define SOMTAttributeEntryC_somGetClassName SOMObject_somGetClassName
#define SOMTAttributeEntryC_somGetSize SOMObject_somGetSize
#define SOMTAttributeEntryC_somIsA SOMObject_somIsA
#define SOMTAttributeEntryC_somIsInstanceOf SOMObject_somIsInstanceOf
#define SOMTAttributeEntryC_somRespondsTo SOMObject_somRespondsTo
#define SOMTAttributeEntryC_somDispatch SOMObject_somDispatch
#define SOMTAttributeEntryC_somClassDispatch SOMObject_somClassDispatch
#define SOMTAttributeEntryC_somCastObj SOMObject_somCastObj
#define SOMTAttributeEntryC_somResetObj SOMObject_somResetObj
#define SOMTAttributeEntryC_somDispatchV SOMObject_somDispatchV
#define SOMTAttributeEntryC_somDispatchL SOMObject_somDispatchL
#define SOMTAttributeEntryC_somDispatchA SOMObject_somDispatchA
#define SOMTAttributeEntryC_somDispatchD SOMObject_somDispatchD
#endif /* SOM_DONT_USE_INHERITED_MACROS */
#endif /* SOM_SOMTAttributeEntryC_h */