ILS_RP_INDEXED_DEFAULT_XXX
 
ILS_RP_INDEXED_DEFAULT_XXX
Category 
Dynamic view-related macros (component side)
Description 
The macros ILS_RP_INDEXED_DEFAULT_XXX let you associate a default editing function with indexed runtime representation attributes. These editing functions are called if a runtime representation attribute is updated and has not declared any editing function for its value type (see the macros ILS_RP_INDEXED_ATTR_XXX for details). These macros have the same semantics and are used in the same way as the ILS_RP_INDEXED_ATTR_XXX macros, except that:
*They do not take any attrLabel argument.
*The associated editing function takes a string that is the label of the attribute as its first argument.
For instance, the editing function has the following signature, or a derivative, for attributes of type long:
void rpType::modifier(IlsString attrLabel,int index,long value);
Warning: Rogue Wave Server does not differentiate between the “integer” and “long” types, “int” being considered an equivalent of “long”, both on the server side and on the component side.
Header File 
#include <ilserver/rpmoditp.h>
Synopsis 
ILS_RP_INDEXED_DEFAULT_BOOLEAN(rpType,modifier)
ILS_RP_INDEXED_DEFAULT_CHAR(rpType,modifier)
ILS_RP_INDEXED_DEFAULT_INT(rpType,modifier)
ILS_RP_INDEXED_DEFAULT_FLOAT(rpType,modifier)
ILS_RP_INDEXED_DEFAULT_DOUBLE(rpType,modifier)
ILS_RP_INDEXED_DEFAULT_STRING(rpType,modifier)
ILS_RP_INDEXED_DEFAULT_USERTYPE(rpType,userType,modifier)
ILS_RP_INDEXED_DEFAULT_HREF(rpType,modifier)
ILS_RP_INDEXED_DEFAULT_REF(rpType,modifier)
ILS_RP_INDEXED_DEFAULT_FILE(rpType,modifier)
ILS_RP_INDEXED_DEFAULT_MVVALUE(rpType,modifier)
See Also 
IlsMvFile, IlsRepresentation, ILS_RP_ATTR_XXX, ILS_RP_DEFAULT_XXX, ILS_RP_INDEXED_ATTR_XXX, IlsRpObject, IlsString

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