ILS_INVERTED_1
 
ILS_INVERTED_1
Category 
Dynamic view-related macro (server side)
Description 
This macro declares a server relation of type IlsInvertedRelation as being accessible at runtime so that it can be used in view specifications.
The runtime relation is defined by the accessors and modification test of the Rogue Wave® Server inverted-relation template. This means that Rogue Wave Server uses the functions of the class template IlsInvertedRelation to get the target of the relation and to test if this target has been modified.
With Rogue Wave Server 4.0, this kind of runtime relation could not be modified —that is, its target could not be changed. Up from version 4.1 and later, however, this limitation no longer exists. A runtime inverse relation declared using the macro ILS_INVERTED_1 is editable if the direct relation is itself editable —that is, if it is associated with a modifier.
This macro can only be enclosed between the following pairs of macros:
*ILS_OBJECT_BEGIN/ILS_OBJECT_END
*ILS_ENTITY_BEGIN/ILS_ENTITY_END
*ILS_MVVIEW_BEGIN/ILS_MVVIEW_END
or their derivatives.
Header File 
<ilserver/rtmodel.h>
Synopsis 
ILS_INVERTED_1(originType,
targetType,
inverseRelation,
invertedRelation)
Arguments 
This macro takes the following arguments:
*originType is the type bearing the inverse relation.
*targetType is the target type for the inverse relation.
*inverseRelation is the name of the inverse relation.
*invertedRelation is the name of the relation that is inverted.
See Also 
ILS_INVERTED_N, IlsInvertedRelation, ILS_R_RELATION_1

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