Mercurial > hg > vamp-build-and-test
comparison DEPENDENCIES/generic/include/boost/archive/archive_exception.hpp @ 101:c530137014c0
Update Boost headers (1.58.0)
| author | Chris Cannam |
|---|---|
| date | Mon, 07 Sep 2015 11:12:49 +0100 |
| parents | 2665513ce2d3 |
| children |
comparison
equal
deleted
inserted
replaced
| 100:793467b5e61c | 101:c530137014c0 |
|---|---|
| 1 #ifndef BOOST_ARCHIVE_ARCHIVE_EXCEPTION_HPP | 1 #ifndef BOOST_ARCHIVE_ARCHIVE_EXCEPTION_HPP |
| 2 #define BOOST_ARCHIVE_ARCHIVE_EXCEPTION_HPP | 2 #define BOOST_ARCHIVE_ARCHIVE_EXCEPTION_HPP |
| 3 | 3 |
| 4 // MS compatible compilers support #pragma once | 4 // MS compatible compilers support #pragma once |
| 5 #if defined(_MSC_VER) && (_MSC_VER >= 1020) | 5 #if defined(_MSC_VER) |
| 6 # pragma once | 6 # pragma once |
| 7 #endif | 7 #endif |
| 8 | 8 |
| 9 /////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8 | 9 /////////1/////////2/////////3/////////4/////////5/////////6/////////7/////////8 |
| 10 // archive/archive_exception.hpp: | 10 // archive/archive_exception.hpp: |
| 47 char m_buffer[128]; | 47 char m_buffer[128]; |
| 48 public: | 48 public: |
| 49 typedef enum { | 49 typedef enum { |
| 50 no_exception, // initialized without code | 50 no_exception, // initialized without code |
| 51 other_exception, // any excepton not listed below | 51 other_exception, // any excepton not listed below |
| 52 unregistered_class, // attempt to serialize a pointer of an | 52 unregistered_class, // attempt to serialize a pointer of |
| 53 // an unregistered class | 53 // an unregistered class |
| 54 invalid_signature, // first line of archive does not contain | 54 invalid_signature, // first line of archive does not contain |
| 55 // expected string | 55 // expected string |
| 56 unsupported_version,// archive created with library version | 56 unsupported_version,// archive created with library version |
| 57 // subsequent to this one | 57 // subsequent to this one |
| 58 pointer_conflict, // an attempt has been made to directly | 58 pointer_conflict, // an attempt has been made to directly |
| 59 // serialize an object which has | 59 // serialize an object which has |
| 60 // already been serialzed through a pointer. | 60 // already been serialized through a pointer. |
| 61 // Were this permited, the archive load would result | 61 // Were this permitted, the archive load would result |
| 62 // in the creation of an extra copy of the obect. | 62 // in the creation of an extra copy of the obect. |
| 63 incompatible_native_format, // attempt to read native binary format | 63 incompatible_native_format, // attempt to read native binary format |
| 64 // on incompatible platform | 64 // on incompatible platform |
| 65 array_size_too_short,// array being loaded doesn't fit in array allocated | 65 array_size_too_short,// array being loaded doesn't fit in array allocated |
| 66 input_stream_error, // error on input stream | 66 input_stream_error, // error on input stream |
| 68 // most likely a corrupted archive or an attempt | 68 // most likely a corrupted archive or an attempt |
| 69 // to insert virus via buffer overrun method. | 69 // to insert virus via buffer overrun method. |
| 70 unregistered_cast, // base - derived relationship not registered with | 70 unregistered_cast, // base - derived relationship not registered with |
| 71 // void_cast_register | 71 // void_cast_register |
| 72 unsupported_class_version, // type saved with a version # greater than the | 72 unsupported_class_version, // type saved with a version # greater than the |
| 73 // one used by the program. This indicates that the proggram | 73 // one used by the program. This indicates that the program |
| 74 // needs to be rebuilt. | 74 // needs to be rebuilt. |
| 75 multiple_code_instantiation, // code for implementing serialization for some | 75 multiple_code_instantiation, // code for implementing serialization for some |
| 76 // type has been instantiated in more than one module. | 76 // type has been instantiated in more than one module. |
| 77 output_stream_error // error on input stream | 77 output_stream_error // error on input stream |
| 78 } exception_code; | 78 } exception_code; |
