"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "cplusplus/include/vips/VError8.h" between
vips-8.10.6.tar.gz and vips-8.11.0.tar.gz

About: VIPS is a free image processing system (see also the GUI nip2).

VError8.h  (vips-8.10.6):VError8.h  (vips-8.11.0)
skipping to change at line 41 skipping to change at line 41
#define VIPS_VERROR_H #define VIPS_VERROR_H
#include <cstring> #include <cstring>
#include <ostream> #include <ostream>
#include <exception> #include <exception>
#include <vips/vips.h> #include <vips/vips.h>
VIPS_NAMESPACE_START VIPS_NAMESPACE_START
/**
* The libvips error class. It holds a single string containing an
* internationalized error message in utf-8 encoding.
*/
class VIPS_CPLUSPLUS_API VError : public std::exception { class VIPS_CPLUSPLUS_API VError : public std::exception {
std::string _what; std::string _what;
public: public:
/**
* Construct a VError, setting the error message.
*/
VError( const std::string &what ) : _what( what ) {} VError( const std::string &what ) : _what( what ) {}
/**
* Construct a VError, fetching the error message from the libvips
* error buffer.
*/
VError() : _what( vips_error_buffer() ) {} VError() : _what( vips_error_buffer() ) {}
virtual ~VError() throw() {} virtual ~VError() throw() {}
// Extract string /**
* Get a reference to the underlying C string.
*/
virtual const char *what() const throw() { return _what.c_str(); } virtual const char *what() const throw() { return _what.c_str(); }
/**
* Print the error message to a stream.
*/
void ostream_print( std::ostream & ) const; void ostream_print( std::ostream & ) const;
}; };
VIPS_NAMESPACE_END VIPS_NAMESPACE_END
#endif /*VIPS_VERROR_H*/ #endif /*VIPS_VERROR_H*/
 End of changes. 6 change blocks. 
1 lines changed or deleted 20 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)