SelectUnionScan::Test Class Reference

#include <ngscan.h>

Inheritance diagram for SelectUnionScan::Test:

NameItemIter List of all members.

Public Types

enum  Question { IS_NON_MEMBER = FALSE, IS_MEMBER = TRUE }

Public Member Functions

 Test (NodeRenderable *pRender, Question eQ)
 Constructs an SelectUnionScan::Test object.

Protected Member Functions

virtual BOOL Do (SGNameItem *)

Protected Attributes

NodeRenderablem_pRender
BOOL m_nXor

Detailed Description

Definition at line 183 of file ngscan.h.


Member Enumeration Documentation

enum SelectUnionScan::Test::Question
 

Enumerator:
IS_NON_MEMBER 
IS_MEMBER 

Definition at line 186 of file ngscan.h.


Constructor & Destructor Documentation

SelectUnionScan::Test::Test NodeRenderable pRender,
Question  eQ
 

Constructs an SelectUnionScan::Test object.

Author:
Justin_Flude (Xara Group Ltd) <camelotdev@xara.com>
Date:
27/5/99
Parameters:
pRender --- the renderable node to test for membership of any [INPUTS] highlighted SGNameItems. eQ --- SelectUnionScan::Test::IS_MEMBER or IS_NON_MEMBER.
See also:
DocScan; BaseSelectScan

Definition at line 427 of file ngscan.cpp.

00428   : NameItemIter(NameItemIter::HIGHLIGHTED_ITEMS),
00429     m_pRender(pRender),
00430     m_nXor((BOOL) eQ)
00431 {
00432     // Empty.
00433 }


Member Function Documentation

BOOL SelectUnionScan::Test::Do SGNameItem pItem  )  [protected, virtual]
 

Author:
Justin_Flude (Xara Group Ltd) <camelotdev@xara.com>
Date:
27/5/99
Parameters:
pItem --- the current item in the iteration [INPUTS]
See also:
BaseSelectScan; SelectUnionScan::Test

Implements NameItemIter.

Definition at line 446 of file ngscan.cpp.

00447 {
00448     return pItem->IsMember(m_pRender) ^ m_nXor;
00449 }


Member Data Documentation

BOOL SelectUnionScan::Test::m_nXor [protected]
 

Definition at line 193 of file ngscan.h.

NodeRenderable* SelectUnionScan::Test::m_pRender [protected]
 

Definition at line 192 of file ngscan.h.


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