Executes the specified command in this Stack object.
Parameters
Parameters
Description
cmdName
[in] Name of the command to find.
pCmdCtx
[in] Pointer to the command *context*.
lookupFlags
[in] Specified where command lookup is to look.
groupName
[in] Group *name*.
Remarks
Lookups a command object registred in this Stack object by a cpecified cmdName, lookupFlags and groupName and executes it. If command was not found then method fires OdEdCommandStackReactor::unknownCommand() event that may provide back a command object for the given name. So if a command object was provided by one of the reactors then implementation of this method executs it. If one was provided by neither of the reactors and kThrowUnknown flag was specified in lookupFlags then OdEdUnknownCommand would be thrown. If kThrowUnknown flag was not specified the method just exits.
If groupName is specified, only that group will be searched.
lookupFlags must be a combination of one or more of the following:
Name
Value
Description
kGlobal
0x01
Search global (untranslated) names.
kLocal
0x02
Search local (translated) names.
kSpecifedGroup
0x04
Search in specified group only.
kUndefed
0x08
Indicates whether or not to return commands that are currently marked as undefined.
kThrowUnknown
0x10
Throw OdEdUnknownCommand exception if command was not found.