svn-gvsig-desktop / trunk / libraries / libjni-mrsid / include / base / lti_coreStatus.h @ 3539
History | View | Annotate | Download (6.04 KB)
1 |
/* $Id: lti_coreStatus.h 3539 2006-01-09 12:23:20Z nacho $ */
|
---|---|
2 |
/* //////////////////////////////////////////////////////////////////////////
|
3 |
// //
|
4 |
// This code is Copyright (c) 2004 LizardTech, Inc, 1008 Western Avenue, //
|
5 |
// Suite 200, Seattle, WA 98104. Unauthorized use or distribution //
|
6 |
// prohibited. Access to and use of this code is permitted only under //
|
7 |
// license from LizardTech, Inc. Portions of the code are protected by //
|
8 |
// US and foreign patents and other filings. All Rights Reserved. //
|
9 |
// //
|
10 |
////////////////////////////////////////////////////////////////////////// */
|
11 |
/* PUBLIC */
|
12 |
|
13 |
#ifndef LTI_CORESTATUS_H
|
14 |
#define LTI_CORESTATUS_H
|
15 |
|
16 |
#include "lt_base.h" |
17 |
|
18 |
#define LTI_STS_Core_Base 50000 |
19 |
LT_STATUSSTRING_ADD(LTI_STS_Core_Base, "lt_lib_mrsid_core base")
|
20 |
|
21 |
|
22 |
#define LTI_STS_Core_UnsupDataType 50001 |
23 |
LT_STATUSSTRING_ADD(LTI_STS_Core_UnsupDataType, "unsupported datatype")
|
24 |
|
25 |
#define LTI_STS_Core_OperationNotSupported 50002 |
26 |
LT_STATUSSTRING_ADD(LTI_STS_Core_OperationNotSupported, "requested operation not supported")
|
27 |
|
28 |
#define LTI_STS_Core_InvalidArgument 50003 |
29 |
LT_STATUSSTRING_ADD(LTI_STS_Core_InvalidArgument, "invalid argument to function")
|
30 |
|
31 |
#define LTI_STS_Core_ErrorOpeningFile 50004 // NIT: add filename string |
32 |
LT_STATUSSTRING_ADD(LTI_STS_Core_ErrorOpeningFile, "error opening file")
|
33 |
|
34 |
#define LTI_STS_Core_ErrorWritingFile 50005 // NIT: add filename string |
35 |
LT_STATUSSTRING_ADD(LTI_STS_Core_ErrorWritingFile, "error writing file")
|
36 |
|
37 |
#define LTI_STS_Core_ErrorReadingFile 50006 // NIT: add filename string |
38 |
LT_STATUSSTRING_ADD(LTI_STS_Core_ErrorReadingFile, "error reading file")
|
39 |
|
40 |
#define LTI_STS_Core_InternalError 50007 |
41 |
LT_STATUSSTRING_ADD(LTI_STS_Core_InternalError, "internal error")
|
42 |
|
43 |
|
44 |
#define LTI_STS_Core_WorldFileNameError 50010 // NIT: add filename string |
45 |
LT_STATUSSTRING_ADD(LTI_STS_Core_WorldFileNameError, "error in world file name")
|
46 |
|
47 |
#define LTI_STS_Core_OutputNotSpecified 50011 |
48 |
LT_STATUSSTRING_ADD(LTI_STS_Core_OutputNotSpecified, "output target not specified")
|
49 |
|
50 |
#define LTI_STS_Core_SceneTooLarge 50012 |
51 |
LT_STATUSSTRING_ADD(LTI_STS_Core_SceneTooLarge, "scene larger than 2GB")
|
52 |
|
53 |
#define LTI_STS_Core_InvalidScene 50013 |
54 |
LT_STATUSSTRING_ADD(LTI_STS_Core_InvalidScene, "invalid or empty scene specified")
|
55 |
|
56 |
#define LTI_STS_Core_SceneOutOfRange 50014 |
57 |
LT_STATUSSTRING_ADD(LTI_STS_Core_SceneOutOfRange, "specified scene out of range of image")
|
58 |
|
59 |
#define LTI_STS_Core_MagRangeError 50015 |
60 |
LT_STATUSSTRING_ADD(LTI_STS_Core_MagRangeError, "scene magnification out of range")
|
61 |
|
62 |
#define LTI_STS_Core_ImpedanceMismatchDataType 50016 |
63 |
LT_STATUSSTRING_ADD(LTI_STS_Core_ImpedanceMismatchDataType, "impedance mismatch - datatype")
|
64 |
|
65 |
#define LTI_STS_Core_ImpedanceMismatchColorSpace 50017 |
66 |
LT_STATUSSTRING_ADD(LTI_STS_Core_ImpedanceMismatchColorSpace, "impadence mismatch - colorspace")
|
67 |
|
68 |
#define LTI_STS_Core_ImpedanceMismatchNumBands 50018 |
69 |
LT_STATUSSTRING_ADD(LTI_STS_Core_ImpedanceMismatchNumBands, "impedance mismatch - number of bands")
|
70 |
|
71 |
#define LTI_STS_Core_UnsupColorSpace 50019 |
72 |
LT_STATUSSTRING_ADD(LTI_STS_Core_UnsupColorSpace, "unsupported colorspace")
|
73 |
|
74 |
#define LTI_STS_Core_UnsupNumBands 50020 |
75 |
LT_STATUSSTRING_ADD(LTI_STS_Core_UnsupNumBands, "unsupported number of bands")
|
76 |
|
77 |
#define LTI_STS_Core_DatatypeMismatch 50021 |
78 |
LT_STATUSSTRING_ADD(LTI_STS_Core_DatatypeMismatch, "datatype mismatch")
|
79 |
|
80 |
#define LTI_STS_Core_BadTIFFIFDRead 50022 |
81 |
LT_STATUSSTRING_ADD(LTI_STS_Core_BadTIFFIFDRead, "bad TIFF IFD read")
|
82 |
|
83 |
#define LTI_STS_Core_BadTIFFIFDWrite 50023 |
84 |
LT_STATUSSTRING_ADD(LTI_STS_Core_BadTIFFIFDWrite, "bad TIFF IFD write")
|
85 |
|
86 |
#define LTI_STS_Core_BadGeoTIFFDir 50024 |
87 |
LT_STATUSSTRING_ADD(LTI_STS_Core_BadGeoTIFFDir, "bad GeoTIFF Directory")
|
88 |
|
89 |
#define LTI_STS_Core_RawImageSizeError 50025 |
90 |
LT_STATUSSTRING_ADD(LTI_STS_Core_RawImageSizeError, "actual size of raw image file not equal to expected size")
|
91 |
|
92 |
#define LTI_STS_Core_MetadataReadError 50026 |
93 |
LT_STATUSSTRING_ADD(LTI_STS_Core_MetadataReadError, "error reading metadata")
|
94 |
|
95 |
#define LT_STS_Core_BBBImageDimsIncorrect 50100 |
96 |
LT_STATUSSTRING_ADD(LT_STS_Core_BBBImageDimsIncorrect, "incorrect BBB image dimensions")
|
97 |
|
98 |
#define LT_STS_Core_BBBDomainBitsIncorrect 50101 |
99 |
LT_STATUSSTRING_ADD(LT_STS_Core_BBBDomainBitsIncorrect, "incorrect BBB domain bits")
|
100 |
|
101 |
#define LT_STS_Core_BBBWordLength 50102 |
102 |
LT_STATUSSTRING_ADD(LT_STS_Core_BBBWordLength, "incorrect BBB word length")
|
103 |
|
104 |
#define LT_STS_Core_BBBNot1Or3Banded 50103 |
105 |
LT_STATUSSTRING_ADD(LT_STS_Core_BBBNot1Or3Banded, "BBB image not 1 or 3 bands")
|
106 |
|
107 |
#define LT_STS_Core_BBBUnknownLayout 50104 |
108 |
LT_STATUSSTRING_ADD(LT_STS_Core_BBBUnknownLayout, "unknown BBB image layout")
|
109 |
|
110 |
#define LT_STS_Core_BBBUnknownByteOrder 50105 |
111 |
LT_STATUSSTRING_ADD(LT_STS_Core_BBBUnknownByteOrder, "incorrect BBB byte order")
|
112 |
|
113 |
#define LT_STS_Core_BBBMissingNBANDS 50106 |
114 |
LT_STATUSSTRING_ADD(LT_STS_Core_BBBMissingNBANDS, "BBB missing NBANDS")
|
115 |
|
116 |
#define LT_STS_Core_BBBMissingNCOLS 50107 |
117 |
LT_STATUSSTRING_ADD(LT_STS_Core_BBBMissingNCOLS, "BBB missing NCOLS")
|
118 |
|
119 |
#define LT_STS_Core_BBBMissingNROWS 50108 |
120 |
LT_STATUSSTRING_ADD(LT_STS_Core_BBBMissingNROWS, "BBB missing NROWS")
|
121 |
|
122 |
#define LT_STS_Core_BBBBadFormat 50109 |
123 |
LT_STATUSSTRING_ADD(LT_STS_Core_BBBBadFormat, "invalid BBB header format")
|
124 |
|
125 |
#define LT_STS_Core_BBBInvalidLayout 50110 |
126 |
LT_STATUSSTRING_ADD(LT_STS_Core_BBBInvalidLayout, "BBB incorrect layout")
|
127 |
|
128 |
#define LT_STS_Core_BBBBadColorSpace 50111 |
129 |
LT_STATUSSTRING_ADD(LT_STS_Core_BBBBadColorSpace, "BBB bad colorspace")
|
130 |
|
131 |
|
132 |
#define LTI_STS_Core_Max 50199 |
133 |
LT_STATUSSTRING_ADD(LTI_STS_Core_Base, "lt_lib_mrsid_core max")
|
134 |
|
135 |
|
136 |
#endif // LTI_CORESTATUS_H |