AllowOpSingleScan Class Reference

#include <ngscan.h>

Inheritance diagram for AllowOpSingleScan:

AllowOpScan UndoableNodeScan NodeScan List of all members.

Public Member Functions

 AllowOpSingleScan (UndoableOperation *pOp, Source *ps, const StringBase &strName)

Protected Member Functions

virtual BOOL Do (Node *)
 Tests if the given node is a member of a specified and if so, calls AllowOp on it.

Protected Attributes

const StringBasem_strName
SGUsedNamesm_pUsedNames

Detailed Description

Definition at line 255 of file ngscan.h.


Constructor & Destructor Documentation

AllowOpSingleScan::AllowOpSingleScan UndoableOperation pOp,
Source *  ps,
const StringBase strName
 


Member Function Documentation

BOOL AllowOpSingleScan::Do Node pNode  )  [protected, virtual]
 

Tests if the given node is a member of a specified and if so, calls AllowOp on it.

Author:
Justin_Flude (Xara Group Ltd) <camelotdev@xara.com>
Date:
27/5/99
Parameters:
pNode --- the node to call AllowOp for if it is a member of [INPUTS] a specified set.
See also:
AllowOpScan::Do; SGUsedNames::IsMember; Node::AllowOp

Reimplemented from AllowOpScan.

Definition at line 640 of file ngscan.cpp.

00641 {
00642     // Stop iterating if the node is a member which doesn't allow the op.
00643     return !m_pUsedNames->IsMember(pNode, m_strName) || pNode->AllowOp(&m_OCP);
00644 }


Member Data Documentation

SGUsedNames* AllowOpSingleScan::m_pUsedNames [protected]
 

Definition at line 264 of file ngscan.h.

const StringBase& AllowOpSingleScan::m_strName [protected]
 

Definition at line 263 of file ngscan.h.


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