|
ldas-tools-al 2.6.7
|
Stream Exception. More...
#include <streamexception.hh>


Public Types | |
| enum | Error { BAD_STREAM = 0 , FAIL_STREAM , END_OF_FILE , UNKNOWN_ERROR , BAD_STREAM = 0 , FAIL_STREAM , END_OF_FILE , UNKNOWN_ERROR } |
| Enumerated type classifying the type of stream errors. More... | |
| enum | Error { BAD_STREAM = 0 , FAIL_STREAM , END_OF_FILE , UNKNOWN_ERROR , BAD_STREAM = 0 , FAIL_STREAM , END_OF_FILE , UNKNOWN_ERROR } |
| Enumerated type classifying the type of stream errors. More... | |
Public Member Functions | |
| StreamException (std::istream &in, int library, const std::string &info, const char *file=0, size_t line=0) | |
| Constructor. | |
| StreamException (std::ostream &out, int library, const std::string &info, const char *file=0, size_t line=0) | |
| Constructor. | |
| StreamException (int library, int code, const std::string &message, const std::string &info, const char *file=0, size_t line=0) throw ( ) | |
| Constructor. | |
| StreamException (std::istream &in, int library, const std::string &info, const char *file=0, size_t line=0) | |
| StreamException (std::ostream &out, int library, const std::string &info, const char *file=0, size_t line=0) | |
| StreamException (int library, int code, const std::string &message, const std::string &info, const char *file=0, size_t line=0) throw ( ) | |
| bool | operator== (const LdasException &e) const |
| Equal Comparison. | |
| bool | operator== (const LdasException &e) const |
| bool | operator!= (const LdasException &e) const |
| Not-Equal Comparison. | |
| bool | operator!= (const LdasException &e) const |
| const ErrorInfo & | getError (size_t i) const |
| Get Error Info. | |
| const ErrorInfo & | getError (size_t i) const |
| const ErrorInfo & | operator[] (size_t i) const |
| Array Operator. | |
| const ErrorInfo & | operator[] (size_t i) const |
| size_t | getSize () const |
| Get Size. | |
| size_t | getSize () const |
| void | addError (int library, int code, const std::string &1, const std::string &info="", const char *file=0, size_t line=0) |
| Add Error. | |
| void | addError (const ErrorInfo &e) |
| Add Error. | |
| void | addError (int library, int code, const std::string &1, const std::string &info="", const char *file=0, size_t line=0) |
| void | addError (const ErrorInfo &e) |
Private Attributes | |
| std::vector< ErrorInfo > | mErrors |
Stream Exception.
| StreamException::StreamException | ( | std::istream & | in, |
| int | library, | ||
| const std::string & | info, | ||
| const char * | file = 0, | ||
| size_t | line = 0 ) |
Constructor.
| in | Input Stream |
| library | Name of library or api |
| info | Additional information about th exception |
| file | Name of file where exception was thrown |
| line | Line of file where exception was thrown |
| StreamException::StreamException | ( | std::ostream & | out, |
| int | library, | ||
| const std::string & | info, | ||
| const char * | file = 0, | ||
| size_t | line = 0 ) |
Constructor.
| out | Output stream |
| library | Name of library or api |
| info | Additional information about the exception |
| file | Name of file where exception was thrown |
| line | Line of file where exception was thrown |
|
inline | |||||||||||||||||||||||||||||||
Constructor.
| library | Name of library or api casuing the excption |
| code | Code for the exception |
| message | Text message describing the exception |
| info | Additional information about the exception |
| file | Name of the file where the exception was thrown |
| line | Line number of the file where the exception was thrown |
| StreamException::StreamException | ( | std::istream & | in, |
| int | library, | ||
| const std::string & | info, | ||
| const char * | file = 0, | ||
| size_t | line = 0 ) |
| StreamException::StreamException | ( | std::ostream & | out, |
| int | library, | ||
| const std::string & | info, | ||
| const char * | file = 0, | ||
| size_t | line = 0 ) |
| StreamException::StreamException | ( | int | library, | |||
| int | code, | |||||
| const std::string & | message, | |||||
| const std::string & | info, | |||||
| const char * | file = 0, | |||||
| size_t | line = 0 ) | |||||
| throw | ( | ) | ||||
|
inherited |
|
inherited |
|
inherited |
|
inlineinherited |
|
inherited |
|
inlineinherited |
Not-Equal Comparison.
| e |
|
inherited |
|
inlineinherited |
Equal Comparison.
| e |
|
inherited |
|
privateinherited |