#include <ngscan.h>
Inheritance diagram for AllowOpSingleScan:
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 StringBase & | m_strName |
SGUsedNames * | m_pUsedNames |
Definition at line 255 of file ngscan.h.
|
|
|
Tests if the given node is a member of a specified and if so, calls AllowOp on it.
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 }
|
|
|
|
|