OpApplyNameToNone Class Reference

#include <ngsetop.h>

Inheritance diagram for OpApplyNameToNone:

UndoableOperation Operation MessageHandler ListItem CCObject SimpleCCObject List of all members.

Private Member Functions

 CC_DECLARE_DYNCREATE (OpApplyNameToNone)
virtual void DoWithParam (OpDescriptor *, OpParam *pOpParam)
 Performs the OPTOKEN_APPLY_NAME_TO_NONE operation which applies the given name to no objects (ie. just to the NodeSetSentinel object).

Detailed Description

Definition at line 240 of file ngsetop.h.


Member Function Documentation

OpApplyNameToNone::CC_DECLARE_DYNCREATE OpApplyNameToNone   )  [private]
 

void OpApplyNameToNone::DoWithParam OpDescriptor ,
OpParam pParam
[private, virtual]
 

Performs the OPTOKEN_APPLY_NAME_TO_NONE operation which applies the given name to no objects (ie. just to the NodeSetSentinel object).

Author:
Justin_Flude (Xara Group Ltd) <camelotdev@xara.com>
Date:
09/7/99
Parameters:
pParam->Param1 --- StringBase* to the name to apply to the [INPUTS] selected objects
See also:
NameObjectsDlg::DoCommit

Reimplemented from Operation.

Definition at line 400 of file ngsetop.cpp.

00401 {
00402     ERROR3IF(pParam->Param1 == 0, "OpApplyNameToNone::DoWithParam: null argument");
00403     const StringBase& strName = *((const StringBase*)(void *) pParam->Param1);
00404 
00405     AllowOpScan aosSentinel(this, &theSetSentinel);
00406 
00407     if (!aosSentinel.Scan() ||
00408         !ApplySingleScan(this, &theSetSentinel, strName).Scan() ||
00409         !ApplyPropScan(this, strName).Scan() ||
00410         !aosSentinel.Update())
00411     {
00412         FailAndExecute();
00413     }
00414 
00415     End();
00416 }


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