ILS_RP_MEMBER_FUNCTION
Category
Dynamic view-related macros
Description
These macros declare member functions of representation object classes as being usable in callbacks that are invoked from a dynamic view server. See classes
IlsRpObject and
IlsMvEndPoint.
This macro can only be enclosed between the following pairs of macros:
or their derivatives.
Synopsis
ILS_RP_MEMBER_FUNCTION0(resType,objType,funNm)
ILS_RP_MEMBER_FUNCTION1(resType,objType,funNm,param1Type)
ILS_RP_MEMBER_FUNCTION2(resType,objType,funNm,param1Type,
param2Type)
ILS_RP_MEMBER_FUNCTION3(resType,objType,funNm,
param1Type,param2Type,param3Type)
ILS_RP_MEMBER_FUNCTION4(resType,objType,funNm,param1Type,
param2Type,param3Type,param4Type)
ILS_RP_MEMBER_FUNCTION5(resType,objType,funNm,param1Type,
param2Type,param3Type,param4Type,param5Type)
ILS_RP_MEMBER_FUNCTION6(resType,objType,funNm,param1Type,
param2Type,param3Type,param4Type,
param5Type,param6Type)
Arguments
These macros take the following arguments in this order:
The type of the value returned by the function
The type of the representation object to which the member function belongs
The function name
The types of the function parameters
All the functions declared with these macros for a same class must have a unique name. The result and parameters of a member function can be of the following types:
char char* IlsString IlsBoolean short int long float double Such functions cannot have a result of type void.
See Also
Version 5.8
Copyright © 2014, Rogue Wave Software, Inc. All Rights Reserved.