home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
tolkit45.zip
/
os2tk45
/
som
/
include
/
somrcls.h
< prev
next >
Wrap
C/C++ Source or Header
|
1999-02-22
|
9KB
|
230 lines
/*
* This file was generated by the SOM Compiler.
* FileName: somrcls.h.
* Generated using:
* SOM Precompiler somipc: 2.29.1.17
* SOM Emitter emith: 2.47
*/
/*
* COMPONENT_NAME: somr
*
* 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.
*
*/
#ifndef SOM_SOMRReplicableObject_h
#define SOM_SOMRReplicableObject_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 SOMRReplicableObject
#define SOMRReplicableObject SOMObject
#endif
#include <replicbl.h>
/*
* Start of bindings for IDL types
*/
#ifndef SOMClass
#define SOMClass SOMObject
#endif /* SOMClass */
#ifndef SOFTRepmgrAB
#define SOFTRepmgrAB SOMObject
#endif /* SOFTRepmgrAB */
#ifndef Set
#define Set SOMObject
#endif /* Set */
/*
* End of bindings for IDL types.
*/
#define SOMRReplicableObject_MajorVersion 2
#define SOMRReplicableObject_MinorVersion 1
/*
* External name shortening if required
*/
#ifdef SOM_USE_SHORT_EXTERNAL_NAMES
#define SOMRReplicableObjectNewClass c
#pragma linkage(c, system)
#define SOMRReplicableObjectClassData d
#define SOMRReplicableObjectCClassData x
#endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
/*
* Include the metaclass file
*/
#ifndef SOM_SOMRReplicable_h
#include <somrmcls.h>
#endif
/*--------------Migration------------*/
#define SOMRReplicableObject_classObj SOMRReplicableObjectClassData.classObject
#define _SOMRReplicableObject SOMRReplicableObject_classObj
/*
* Declare the class creation procedure
*/
SOMEXTERN SOMClass * SOMLINK SOMRReplicableObjectNewClass(integer4 somtmajorVersion,
integer4 somtminorVersion);
#pragma linkage(SOMRReplicableObjectNewClass, system)
/*
* Declare the class data structure
*/
SOMEXTERN struct SOMRReplicableObjectClassDataStructure {
SOMClass *classObject;
somMToken somrLoggingType;
somMToken somrReplicableExemptMethod;
} SOMDLINK SOMRReplicableObjectClassData;
/*
* Declare the C specific class data structure
*/
SOMEXTERN struct SOMRReplicableObjectCClassDataStructure {
somMethodTabs parentMtab;
somDToken instanceDataToken;
} SOMDLINK SOMRReplicableObjectCClassData;
/*
* New and Renew macros for SOMRReplicableObject
*/
#define SOMRReplicableObjectNew() \
( _SOMRReplicableObject ? \
_somNew(_SOMRReplicableObject) \
: ( SOMRReplicableObjectNewClass(\
SOMRReplicableObject_MajorVersion, \
SOMRReplicableObject_MinorVersion),\
_somNew(_SOMRReplicableObject)))
#define SOMRReplicableObjectRenew(buf) \
( _SOMRReplicableObject ? \
_somRenew(_SOMRReplicableObject, buf) \
: ( SOMRReplicableObjectNewClass(\
SOMRReplicableObject_MajorVersion, \
SOMRReplicableObject_MinorVersion),\
_somRenew(_SOMRReplicableObject, buf)))
/*
* Override method: somrRepInit
*/
#define SOMRReplicableObject_somrRepInit(somSelf,ev,lType,mode) \
SOMRReplicbl_somrRepInit(somSelf,ev,lType,mode)
/*
* Override method: somrApplyUpdates
*/
#define SOMRReplicableObject_somrApplyUpdates(somSelf,ev,buf,len,ObjIntId) \
SOMRReplicbl_somrApplyUpdates(somSelf,ev,buf,len,ObjIntId)
/*
* New Method: somrLoggingType
*/
typedef char SOMLINK somTP_SOMRReplicableObject_somrLoggingType(SOMRReplicableObject *somSelf, Environment *ev);
#pragma linkage(somTP_SOMRReplicableObject_somrLoggingType, system)
typedef somTP_SOMRReplicableObject_somrLoggingType *somTD_SOMRReplicableObject_somrLoggingType;
#define somMD_SOMRReplicableObject_somrLoggingType "::SOMRReplicableObject::somrLoggingType"
#define SOMRReplicableObject_somrLoggingType(somSelf,ev) \
(SOM_Resolve(somSelf, SOMRReplicableObject, somrLoggingType) \
(somSelf,ev))
#ifndef SOMGD_somrLoggingType
#if (defined(_somrLoggingType) || defined(__somrLoggingType))
#undef _somrLoggingType
#undef __somrLoggingType
#define SOMGD_somrLoggingType 1
#else
#define _somrLoggingType SOMRReplicableObject_somrLoggingType
#endif /* _somrLoggingType */
#endif /* SOMGD_somrLoggingType */
/*
* New Method: somrReplicableExemptMethod
*/
typedef boolean SOMLINK somTP_SOMRReplicableObject_somrReplicableExemptMethod(SOMRReplicableObject *somSelf, Environment *ev,
somId methodId);
#pragma linkage(somTP_SOMRReplicableObject_somrReplicableExemptMethod, system)
typedef somTP_SOMRReplicableObject_somrReplicableExemptMethod *somTD_SOMRReplicableObject_somrReplicableExemptMethod;
#define somMD_SOMRReplicableObject_somrReplicableExemptMethod "::SOMRReplicableObject::somrReplicableExemptMethod"
#define SOMRReplicableObject_somrReplicableExemptMethod(somSelf,ev,methodId) \
(SOM_Resolve(somSelf, SOMRReplicableObject, somrReplicableExemptMethod) \
(somSelf,ev,methodId))
#ifndef SOMGD_somrReplicableExemptMethod
#if (defined(_somrReplicableExemptMethod) || defined(__somrReplicableExemptMethod))
#undef _somrReplicableExemptMethod
#undef __somrReplicableExemptMethod
#define SOMGD_somrReplicableExemptMethod 1
#else
#define _somrReplicableExemptMethod SOMRReplicableObject_somrReplicableExemptMethod
#endif /* _somrReplicableExemptMethod */
#endif /* SOMGD_somrReplicableExemptMethod */
#ifndef SOM_DONT_USE_INHERITED_MACROS
#define SOMRReplicableObject_somrLock SOMRReplicbl_somrLock
#define SOMRReplicableObject_somrLockNlogOp SOMRReplicbl_somrLockNlogOp
#define SOMRReplicableObject_somrReleaseNPropagateUpdate SOMRReplicbl_somrReleaseNPropagateUpdate
#define SOMRReplicableObject_somrReleaseLockNAbortUpdate SOMRReplicbl_somrReleaseLockNAbortUpdate
#define SOMRReplicableObject_somrReleaseNPropagateOperation SOMRReplicbl_somrReleaseNPropagateOperation
#define SOMRReplicableObject_somrReleaseLockNAbortOp SOMRReplicbl_somrReleaseLockNAbortOp
#define SOMRReplicableObject_somrRepUninit SOMRReplicbl_somrRepUninit
#define SOMRReplicableObject_somrDoDirective SOMRReplicbl_somrDoDirective
#define SOMRReplicableObject_somrPin SOMRReplicbl_somrPin
#define SOMRReplicableObject_somrUnPin SOMRReplicbl_somrUnPin
#define SOMRReplicableObject_somrGetSecurityPolicy SOMRReplicbl_somrGetSecurityPolicy
#define SOMRReplicableObject_somInit SOMObject_somInit
#define SOMRReplicableObject_somUninit SOMObject_somUninit
#define SOMRReplicableObject_somrSetObjName SOMRNameable_somrSetObjName
#define SOMRReplicableObject_somrGetObjName SOMRNameable_somrGetObjName
#define SOMRReplicableObject_somDefaultInit SOMObject_somDefaultInit
#define SOMRReplicableObject_somDestruct SOMObject_somDestruct
#define SOMRReplicableObject_somDefaultCopyInit SOMObject_somDefaultCopyInit
#define SOMRReplicableObject_somDefaultAssign SOMObject_somDefaultAssign
#define SOMRReplicableObject_somDefaultConstCopyInit SOMObject_somDefaultConstCopyInit
#define SOMRReplicableObject_somDefaultVCopyInit SOMObject_somDefaultVCopyInit
#define SOMRReplicableObject_somDefaultConstVCopyInit SOMObject_somDefaultConstVCopyInit
#define SOMRReplicableObject_somDefaultConstAssign SOMObject_somDefaultConstAssign
#define SOMRReplicableObject_somDefaultVAssign SOMObject_somDefaultVAssign
#define SOMRReplicableObject_somDefaultConstVAssign SOMObject_somDefaultConstVAssign
#define SOMRReplicableObject_somFree SOMObject_somFree
#define SOMRReplicableObject_somGetClass SOMObject_somGetClass
#define SOMRReplicableObject_somGetClassName SOMObject_somGetClassName
#define SOMRReplicableObject_somGetSize SOMObject_somGetSize
#define SOMRReplicableObject_somIsA SOMObject_somIsA
#define SOMRReplicableObject_somIsInstanceOf SOMObject_somIsInstanceOf
#define SOMRReplicableObject_somRespondsTo SOMObject_somRespondsTo
#define SOMRReplicableObject_somDispatch SOMObject_somDispatch
#define SOMRReplicableObject_somClassDispatch SOMObject_somClassDispatch
#define SOMRReplicableObject_somCastObj SOMObject_somCastObj
#define SOMRReplicableObject_somResetObj SOMObject_somResetObj
#define SOMRReplicableObject_somDispatchV SOMObject_somDispatchV
#define SOMRReplicableObject_somDispatchL SOMObject_somDispatchL
#define SOMRReplicableObject_somDispatchA SOMObject_somDispatchA
#define SOMRReplicableObject_somDispatchD SOMObject_somDispatchD
#define SOMRReplicableObject_somPrintSelf SOMObject_somPrintSelf
#define SOMRReplicableObject_somDumpSelf SOMObject_somDumpSelf
#define SOMRReplicableObject_somDumpSelfInt SOMObject_somDumpSelfInt
#define SOMRReplicableObject_somrGetState SOMRLinearizable_somrGetState
#define SOMRReplicableObject_somrSetState SOMRLinearizable_somrSetState
#endif /* SOM_DONT_USE_INHERITED_MACROS */
#endif /* SOM_SOMRReplicableObject_h */