HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
IMG_Error.h
Go to the documentation of this file.
1 /*
2  * PROPRIETARY INFORMATION. This software is proprietary to
3  * Side Effects Software Inc., and is not to be reproduced,
4  * transmitted, or disclosed in any way without written permission.
5  *
6  * NAME: IMG_Error.h (C++)
7  *
8  * COMMENTS:
9  * This class is used to store IMG errors or warnings.
10  *
11 */
12 
13 #ifndef __IMG_Error__
14 #define __IMG_Error__
15 
17 {
18  IMG_ERR_NO_SUCH_FILE = 0, // file doesn't exist
19  IMG_ERR_INVALID_FILE = 1, // unknown file type
20  IMG_ERR_FAILED_CREATE = 2, // couldn't create file
21  IMG_ERR_NO_TRANSLATOR = 3, // unsupported translation required
22  IMG_ERR_FAILED_READ = 4, // scanline read failed
23  IMG_ERR_FAILED_WRITE = 5, // scanline write failed
24  IMG_ERR_FAILED_CLOSE = 6, // close operation failed
25  IMG_ERR_READ_WRITEFILE = 7, // tried to read a write mode file
26  IMG_ERR_WRITE_READFILE = 8, // tried to write a read mode file
27  IMG_ERR_YUV_WRONG_RES = 9, // tried to save .yuv at wrong res
28  IMG_WARN_PIC_VERSION = 10, // pic is higher version than reader
29  IMG_ERROR_GENERIC = 11, // generic warning/error message
30 };
31 
32 #endif
IMG_ErrorCodes
Definition: IMG_Error.h:16