[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 clearRel()
 Clear all relations in the specified work area
------------------------------------------------------------------------------
 Prototype

     ERRCODE clearRel(
                          AREAP wa
                        )

 Arguments

     wa is a pointer to self.

 Description

     clearRel() clears all relations currently in use by a specified
     work area.

 Default Behavior

     clearRel() removes all relations from wa->lpdbRelations.  clearRel()
     traverses the relation list and releases the memory used by each
     relation structure (DBRELINFO) in wa->lpdbRelations.  For each relation
     killed, childEnd() is called to notify the child of its parent's
     abandonment.

 Implementation Notes

     .  If this method is replaced, be certain to properly deallocate
        items and memory used by DBRELINFO.

 Files  Header file is Rdd.api.


See Also: AREA DBRELINFO childEnd() setRel()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson