AIErrorThrower Class Reference
A helper class to handle AIErr when code is designed to handle exceptions.
More...
#include <AIErrorHandler.h>
List of all members.
Detailed Description
A helper class to handle AIErr when code is designed to handle exceptions.
Throws an error if the returned value is != kNoErr No explicit error handling is required on each statement.
Usage
AIErrorThrower error = sAIArt->GetArtType(art, &artType); // Throws if returned value is != kNoErr error = sAIArt->GetArtName(...); error = sAIPathStyle->GetPathStyle(...);
Constructor & Destructor Documentation
AIErrorThrower::AIErrorThrower |
( |
AIErr |
err = kNoErr |
) |
[inline] |
Member Function Documentation
AIErrorThrower::operator AIErr |
( |
|
) |
const [inline] |
The documentation for this class was generated from the following file: