Teamcenter C++ API Reference  2312
Classes | Functions
IFail.hxx File Reference
#include <vector>
#include <string>
#include <ostream>
#include <base_utils/libbase_utils_exports.h>

Go to the source code of this file.

Classes

class  IFail
 A throwable class used to store errors on the error stack. More...
 

Functions

BASE_UTILS_API std::ostream & operator<< (std::ostream &out, const IFail &ifail)
 

Detailed Description

This file contains the declarations of the IFail class in module libbase_utils. IFail is a throwable class which stacks an error (or uses the last one on the stack).

Definition in file IFail.hxx.

Function Documentation

BASE_UTILS_API std::ostream& operator<< ( std::ostream &  out,
const IFail ifail 
)

Prints the IFail object on the given stream.
The print is in the following format:

[infod|warning|error|user] &lt;error_code&gt;
&lt;display_error_message&gt;
Parameters
[in]outThe output stream where the information is to be printed.
[in]ifailThe IFail instance to print.