ILS_ENTRY_XXX
Category
Dynamic view-related macros (server side)
Description
The macros
ILS_ENTRY_XXX declare Server entry data members as being accessible at runtime so that they can be used in view specifications. These runtime attributes use the
IlsEntry member functions
getValue,
set and
isModified.
These macros can only be enclosed only between the following pairs of macros:
or their derivatives.
Synopsis
Macros
ILS_ENTRY_BOOLEAN(objType,entryLabel)
This macro declares the entry data member specified by entryLabel as a runtime attribute of the class objType. This attribute is of type Boolean. It can be modified.
ILS_ENTRY_CHAR(objType,entryLabel)
This macro declares the entry data member specified by entryLabel as a runtime attribute of the class objType. This attribute is of type char. It can be modified.
ILS_ENTRY_SHORT(objType,entryLabel)
This macro declares the entry data member specified by entryLabel as a runtime attribute of the class objType. This attribute is of type short. It can be modified.
ILS_ENTRY_INT(objType,entryLabel)
ILS_ENTRY_LONG(objType,entryLabel)
These macros declare the entry data member specified by entryLabel as a runtime attribute of the class objType. Since Rogue Wave Server does not differentiate between the int and long types, these macros are equivalent and the attribute is of type long. It cannot be modified.
ILS_ENTRY_FLOAT(objType,entryLabel)
This macro declares the entry data member specified by entryLabel as a runtime attribute of the class objType. This attribute is of type float. It can be modified.
ILS_ENTRY_DOUBLE(objType,entryLabel)
This macro declares the entry data member specified by entryLabel as a runtime attribute of the class objType. This attribute is of type double. It can be modified.
ILS_ENTRY_STRING(objType,entryLabel)
This macro declares the entry data member specified by entryLabel as a runtime attribute of the class objType. This attribute is of type IlsString or char*. It can be modified.
ILS_ENTRY_USERTYPE(objType,entryType,entryLabel)
This macro declares the entry data member specified by entryLabel as a runtime attribute of the class
objType. This attribute is of the user-defined type
entryType. For details, see the macros
ILS_USERTYPE_DECL/ILS_USERTYPE_DEF. It can be modified.
ILS_ENTRY_MVVALUE(objType,entryLabel)
This macro declares the entry data member specified by
entryLabel as a runtime attribute of the class
objType. This attribute is of type
IlsMvValue. It can be modified.
ILS_ENTRY_ENUM(objType,enumType,entryLabel)
This macro declares the entry data member specified by entryLabel as a runtime attribute of the class objType. This attribute is of the user-defined enum type. It can be modified.
See Also
Version 5.8
Copyright © 2014, Rogue Wave Software, Inc. All Rights Reserved.