AllowOpScan::IsLitUsedName Class Reference

#include <ngscan.h>

Inheritance diagram for AllowOpScan::IsLitUsedName:

NameIterOp NameItemIter List of all members.

Public Member Functions

 IsLitUsedName (Node *pNode)
 Tests if the given Node is a member of a set within the Attribute gallery.

Protected Member Functions

virtual BOOL Do (SGNameItem *)
 Tests if the Node passed to the constructor is a member of the given set item.

Detailed Description

Definition at line 240 of file ngscan.h.


Constructor & Destructor Documentation

AllowOpScan::IsLitUsedName::IsLitUsedName Node pNode  ) 
 

Tests if the given Node is a member of a set within the Attribute gallery.

Author:
Justin_Flude (Xara Group Ltd) <camelotdev@xara.com>
Date:
27/7/99
Parameters:
pNode --- the node to test for membership of a set within [INPUTS] the 'Used Names' group of the Name Gallery.
See also:
AllowOpScan; NameItemIter

Definition at line 574 of file ngscan.cpp.

00575   : NameIterOp(pNode)
00576 {
00577     // Empty.   
00578 }


Member Function Documentation

BOOL AllowOpScan::IsLitUsedName::Do SGNameItem pItem  )  [protected, virtual]
 

Tests if the Node passed to the constructor is a member of the given set item.

Author:
Justin_Flude (Xara Group Ltd) <camelotdev@xara.com>
Date:
27/7/99
Parameters:
pItem --- the set item to test for membership [INPUTS]
See also:
AllowOpScan::IsLitUsedName; SGNameItem::IsMember

Implements NameItemIter.

Definition at line 593 of file ngscan.cpp.

00594 {
00595     // Quit as soon as we find a set item the object is a member of.  ForEach will return
00596     // the address of the first set item the object is within.
00597     return !pItem->IsMember(m_pNode);
00598 }


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