HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
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
16
enum
IMG_ErrorCodes
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
IMG_ErrorCodes
Definition:
IMG_Error.h:16
IMG_ERR_WRITE_READFILE
Definition:
IMG_Error.h:26
IMG_ERR_FAILED_WRITE
Definition:
IMG_Error.h:23
IMG_ERROR_GENERIC
Definition:
IMG_Error.h:29
IMG_ERR_YUV_WRONG_RES
Definition:
IMG_Error.h:27
IMG_ERR_READ_WRITEFILE
Definition:
IMG_Error.h:25
IMG_ERR_FAILED_CLOSE
Definition:
IMG_Error.h:24
IMG_ERR_FAILED_READ
Definition:
IMG_Error.h:22
IMG_ERR_NO_SUCH_FILE
Definition:
IMG_Error.h:18
IMG_ERR_NO_TRANSLATOR
Definition:
IMG_Error.h:21
IMG_ERR_INVALID_FILE
Definition:
IMG_Error.h:19
IMG_ERR_FAILED_CREATE
Definition:
IMG_Error.h:20
IMG_WARN_PIC_VERSION
Definition:
IMG_Error.h:28
IMG
IMG_Error.h
Generated on Fri Nov 8 2024 03:39:23 for HDK by
1.8.6