Fileseq C++ API
A library for parsing file sequence strings commonly used in VFX and animation applications.
fileseq::Status Class Reference

#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)
 
Statusoperator= (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)
 

Detailed Description

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.


The documentation for this class was generated from the following file: