SelectIntersectScan Class Reference

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

#include <ngscan.h>

Inheritance diagram for SelectIntersectScan:

SelectUnionScan BaseSelectScan NodeScan List of all members.

Public Member Functions

 SelectIntersectScan (Change eChange)

Protected Member Functions

virtual BOOL OnSelectable (NodeRenderable *)
 Called by SelectIntersectScan when the 'intersect' action is executed. Tests the given node for membership of all highlighted sets and changes it's selection status accordingly.

Detailed Description

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

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

Definition at line 210 of file ngscan.h.


Constructor & Destructor Documentation

SelectIntersectScan::SelectIntersectScan Change  eChange  ) 
 


Member Function Documentation

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

Called by SelectIntersectScan when the 'intersect' action is executed. Tests the given node for membership of all highlighted sets and changes it's selection status accordingly.

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

Reimplemented from SelectUnionScan.

Definition at line 484 of file ngscan.cpp.

00485 {
00486     // If it's a member of every highlighted SGNameItem then change its selection.
00487     if (Test(pRender, Test::IS_NON_MEMBER).ForEach() == 0)
00488         BaseSelectScan::OnSelectable(pRender);
00489 
00490     return TRUE;
00491 }


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