All Frameworks Class Hierarchy This Framework Indexes
Macro VPMCheckingObjectSecuredMethod (iPtr,iMeth,oHres)Controls Access to the secured method of an object.
Role: This macro controls access to an object's method.
Precondition:
Usage:
void myFactory::DeleteAGivenObject(CATIVpmFactoryObject *iObj)
{
HRESULT hr = S_OK;
VPMCheckingObjectSecuredMethod(iObj,Delete,&hr);
if (VPM_ACCESS_GRANTED(hr)) {
// OK! Let's continue ...
}
} |
Copyright © 2003, Dassault Systèmes. All rights reserved.