ApplyScan::ApplyItems Class Reference

#include <ngscan.h>

Inheritance diagram for ApplyScan::ApplyItems:

NameIterOp NameItemIter List of all members.

Public Member Functions

 ApplyItems (Node *pNode, UndoableOperation *pOp)

Protected Member Functions

virtual BOOL Do (SGNameItem *)
 Applies the Wix ObjectName attributes that apply to objects.

Detailed Description

Definition at line 288 of file ngscan.h.


Constructor & Destructor Documentation

ApplyScan::ApplyItems::ApplyItems Node pNode,
UndoableOperation pOp
 

Author:
Justin_Flude (Xara Group Ltd) <camelotdev@xara.com>
Date:
27/5/99
Parameters:
pNode --- the node to apply highlighted items' names [INPUTS] pOp --- the Operation context in which to manipulate the attrs.
See also:
OpApplyNames::Do

Definition at line 793 of file ngscan.cpp.

00794   : NameIterOp(pNode, pOp)
00795 {
00796     // Empty.
00797 }


Member Function Documentation

BOOL ApplyScan::ApplyItems::Do SGNameItem pItem  )  [protected, virtual]
 

Applies the Wix ObjectName attributes that apply to objects.

Author:
Justin_Flude (Xara Group Ltd) <camelotdev@xara.com>
Date:
27/5/99
Parameters:
pItem --- the highlighted set item whose name is to be applied [INPUTS]
See also:
OpApplyNames

Implements NameItemIter.

Definition at line 811 of file ngscan.cpp.

00812 {
00813     // If the object is already a member of the item's set then ignore it.
00814     if (pItem->IsMember(m_pNode)) return TRUE;
00815 
00816     // Extract the name from the item and apply it.
00817     String_256 strName;
00818     pItem->GetNameText(&strName);
00819     return ApplyNameToNode(strName, m_pNode, m_pOp, pItem->m_BarNumber);
00820 }


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