ILS_RP_MEMBER_FUNCTION
 
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:
*ILS_OBJECT_BEGIN/ILS_OBJECT_END
*ILS_REPRESENTATION_BEGIN/ILS_REPRESENTATION_END
or their derivatives.
Header File 
#include <ilserver/rpmoditp.h>
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
*Any type derived from IlsMvUserType.
Such functions cannot have a result of type void.
See Also 
IlsMvEndPoint, ILS_OBJECT_BEGIN/ILS_OBJECT_END, ILS_REPRESENTATION_BEGIN/ILS_REPRESENTATION_END, IlsRpObject

Version 5.8
Copyright © 2014, Rogue Wave Software, Inc. All Rights Reserved.