#include <ClearSilverError.h>
Public Member Functions | |
| ClearSilverError () | |
| ClearSilverError (_neo_err *error) | |
| ClearSilverError (const ClearSilverError &) | |
| ~ClearSilverError () throw () | |
| ClearSilverError & | operator= (const ClearSilverError &) |
| operator bool () const | |
| Is the error list empty? | |
| _neo_err * | get () const |
| Return the head of the error list. | |
| void | swap (ClearSilverError &) throw () |
This class provides memory management for ClearSilver error lists. Many of the functions within the ClearSilver C API return a (possibly empty) list of error structures. This class provides the means of testing for the presence of an error list and for later freeing the associated memory (if necessary). It also provides access to the error list for the purpose of constructing a ClearSilverException object that contains the error information.
This class is not intended as a primary interface for ClearSilver errors. Rather it provides the implementation for use by the primary exception class, ClearSilverException.
Definition at line 67 of file ClearSilverError.h.
1.4.5