|
Teamcenter C++ API Reference
2312
|
A ResultStatus instance is a temporary object to which both error codes and instances status_t can be assigned.
If, once such has been assigned, the result turns out to be a failure, the class will throw an IFail using the last error on the error stack.
More...
#include <ResultCheck.hxx>
Public Member Functions | |
| ResultCheck & | operator= (const int ifail) |
| ResultCheck () | |
| ResultCheck (const int ifail) | |
| virtual | ~ResultCheck () |
A ResultStatus instance is a temporary object to which both error codes and instances status_t can be assigned.
If, once such has been assigned, the result turns out to be a failure, the class will throw an IFail using the last error on the error stack.
Definition at line 46 of file ResultCheck.hxx.
| ResultCheck::ResultCheck | ( | ) |
Default constructor.
| ResultCheck::ResultCheck | ( | const int | ifail | ) |
Constructs a ResultCheck object from an error code.
If the error code is not ITK_ok, an IFail exception will be thrown.
|
virtual |
Destructor
| ResultCheck& ResultCheck::operator= | ( | const int | ifail | ) |
Operator = Throws an IFail exception if the error code in the parameter ifail is not ITK_ok.