ApplyPropScan Class Reference

#include <ngscan.h>

Inheritance diagram for ApplyPropScan:

ApplySingleScan ApplyScan UndoableNodeScan NodeScan List of all members.

Public Member Functions

 ApplyPropScan (UndoableOperation *pOp, const StringBase &strName, NodeSetProperty *pCopyPropNode=0)
 Constructs an ApplyPropScan object.

Protected Member Functions

virtual BOOL Do (Node *)
 Applies a default property to the given node (ie. the set sentinel).

Protected Attributes

NodeSetPropertym_pCopyPropNode

Detailed Description

Definition at line 315 of file ngscan.h.


Constructor & Destructor Documentation

ApplyPropScan::ApplyPropScan UndoableOperation pOp,
const StringBase strName,
NodeSetProperty pCopyPropNode = 0
 

Constructs an ApplyPropScan object.

Author:
Justin_Flude (Xara Group Ltd) <camelotdev@xara.com>
Date:
27/5/99
Parameters:
pOp --- the UndoableOperation that is the context for this [INPUTS] scanning strName --- the name to apply to the selected objects pCopyPropNode --- the NodeSetProperty whose properties are to be copied into the 'applied' property, or null for no copy and default properties.
See also:
ApplySingleScan; ApplyScan; UndoableNodeScan; OpApplyNames::DoWithParam

Definition at line 946 of file ngscan.cpp.

00948   : ApplySingleScan(pOp, &theSetSentinel, strName),
00949     m_pCopyPropNode(pCopyPropNode)
00950 {
00951     // Empty.
00952 }


Member Function Documentation

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

Applies a default property to the given node (ie. the set sentinel).

Author:
Justin_Flude (Xara Group Ltd) <camelotdev@xara.com>
Date:
27/5/99
Parameters:
pNode --- the node to apply the name to [INPUTS]
See also:
ApplySingleScan; ApplyScan; UndoableNodeScan; OpApplyNames::DoWithParam

Reimplemented from ApplySingleScan.

Definition at line 966 of file ngscan.cpp.

00967 {
00968     return ApplyPropToNode(m_strName, pNode, m_pCopyPropNode, m_pOp) != 0;
00969 }


Member Data Documentation

NodeSetProperty* ApplyPropScan::m_pCopyPropNode [protected]
 

Definition at line 323 of file ngscan.h.


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