|
Fileseq C++ API
A library for parsing file sequence strings commonly used in VFX and animation applications.
|
#include <error.h>
Public Member Functions | |
| operator bool () const | |
| If Status evaluates to false, it indicates an error state. | |
| operator std::string () const | |
| Retrieve the string error message. | |
| Status (const Status &rhs) | |
| Status & | operator= (const Status &rhs) |
| void | clearError () |
| void | setError (const std::string &err) |
| void | setError (const char *err) |
Friends | |
| std::ostream & | operator<< (std::ostream &stream, const Status &stat) |
Status is used to communicate whether various calls have succeeded or failed. It can be treated like a bool to test the success, and converted to a std::string to receive the error message.