ApplyScan Class Reference

Applies all the highlighted 'Used Name' items in the Attribute gallery to all the selected objects (if they don't already have them); a single name to all the selected objects if they don't already have it; 'applies' a NodeSetProperty for a set, with default SGNameProps, to the NodeSetSentinel. More...

#include <ngscan.h>

Inheritance diagram for ApplyScan:

UndoableNodeScan NodeScan ApplySingleScan ApplyPropScan List of all members.

Public Member Functions

 ApplyScan (UndoableOperation *pOp, Source *ps)

Protected Member Functions

virtual BOOL Do (Node *)
 Applies names highlighted in the Attribute gallery to the given node.

Classes

class  ApplyItems

Detailed Description

Applies all the highlighted 'Used Name' items in the Attribute gallery to all the selected objects (if they don't already have them); a single name to all the selected objects if they don't already have it; 'applies' a NodeSetProperty for a set, with default SGNameProps, to the NodeSetSentinel.

Author:
Justin_Flude (Xara Group Ltd) <camelotdev@xara.com>
Date:
21/5/99

Definition at line 282 of file ngscan.h.


Constructor & Destructor Documentation

ApplyScan::ApplyScan UndoableOperation pOp,
Source *  ps
 


Member Function Documentation

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

Applies names highlighted in the Attribute gallery to the given node.

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

Implements NodeScan.

Reimplemented in ApplySingleScan, and ApplyPropScan.

Definition at line 775 of file ngscan.cpp.

00776 {
00777     // Apply all highlighted 'Used Names' to the node.
00778     return ApplyItems(pNode, m_pOp).ForEach() == 0;
00779 }


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