SelectUnionScan Class Reference

Selects objects which are in any of the highlighted set items. More...

#include <ngscan.h>

Inheritance diagram for SelectUnionScan:

BaseSelectScan NodeScan SelectIntersectScan List of all members.

Public Member Functions

 SelectUnionScan (Change eChange)

Protected Member Functions

virtual BOOL OnSelectable (NodeRenderable *)
 Called by SelectUnionScan when the 'select' action is executed. Tests the given node for membership of the highlighted SGNameItems and changes its selection status if it is a member of any.

Classes

class  Test

Detailed Description

Selects objects which are in any of the highlighted set items.

Author:
Justin_Flude (Xara Group Ltd) <camelotdev@xara.com>
Date:
27/5/99
See also:
BaseSelectScan

Definition at line 177 of file ngscan.h.


Constructor & Destructor Documentation

SelectUnionScan::SelectUnionScan Change  eChange  ) 
 


Member Function Documentation

BOOL SelectUnionScan::OnSelectable NodeRenderable pRender  )  [protected, virtual]
 

Called by SelectUnionScan when the 'select' action is executed. Tests the given node for membership of the highlighted SGNameItems and changes its selection status if it is a member of any.

Author:
Justin_Flude (Xara Group Ltd) <camelotdev@xara.com>
Date:
27/5/99
Parameters:
pRender --- the current renderable node in the scan [INPUTS]
See also:
BaseSelectScan

Reimplemented from BaseSelectScan.

Reimplemented in SelectIntersectScan.

Definition at line 404 of file ngscan.cpp.

00405 {
00406     // If it's a member of any highlighted SGNameItem then change its selection.
00407     if (Test(pRender, Test::IS_MEMBER).ForEach() != 0)
00408         BaseSelectScan::OnSelectable(pRender);
00409 
00410     return TRUE;
00411 }


The documentation for this class was generated from the following files:
Generated on Sat Nov 10 04:00:49 2007 for Camelot by  doxygen 1.4.4