#include <ngsetop.h>
Inheritance diagram for OpApplyNameToNone:
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). |
Definition at line 240 of file ngsetop.h.
|
|
|
Performs the OPTOKEN_APPLY_NAME_TO_NONE operation which applies the given name to no objects (ie. just to the NodeSetSentinel object).
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 }
|