svn-gvsig-desktop / tags / v1_1_1_Build_1016 / libraries / libjni-ecw / include / NCSJPCProgressionOrderType.h @ 33925
History | View | Annotate | Download (2.3 KB)
1 | 3538 | nacho | /********************************************************
|
---|---|---|---|
2 | ** Copyright 2002 Earth Resource Mapping Ltd.
|
||
3 | ** This document contains proprietary source code of
|
||
4 | ** Earth Resource Mapping Ltd, and can only be used under
|
||
5 | ** one of the three licenses as described in the
|
||
6 | ** license.txt file supplied with this distribution.
|
||
7 | ** See separate license.txt file for license details
|
||
8 | ** and conditions.
|
||
9 | **
|
||
10 | ** This software is covered by US patent #6,442,298,
|
||
11 | ** #6,102,897 and #6,633,688. Rights to use these patents
|
||
12 | ** is included in the license agreements.
|
||
13 | **
|
||
14 | ** FILE: $Archive: /NCS/Source/include/NCSJPCProgressionOrderType.h $
|
||
15 | ** CREATED: 18/12/2002 3:27:34 PM
|
||
16 | ** AUTHOR: Simon Cope
|
||
17 | ** PURPOSE: CNCSJPCProgressionOrderType class header
|
||
18 | ** EDITS: [xx] ddMmmyy NAME COMMENTS
|
||
19 | *******************************************************/
|
||
20 | |||
21 | #ifndef NCSJPCPROGRESSIONORDERTYPE_H
|
||
22 | #define NCSJPCPROGRESSIONORDERTYPE_H
|
||
23 | |||
24 | #include "NCSJPCMarker.h" |
||
25 | |||
26 | /**
|
||
27 | * CNCSJPCProgressionOrderType class - the JPC Progression Order Type.
|
||
28 | *
|
||
29 | * @author Simon Cope
|
||
30 | * @version $Revision$ $Author$ $Date$
|
||
31 | */
|
||
32 | class NCSJPC_EXPORT_ALL CNCSJPCProgressionOrderType { |
||
33 | public:
|
||
34 | /** Progression Order Type */
|
||
35 | typedef enum { |
||
36 | /** Layer-Resolution-Component-Position */
|
||
37 | LRCP = 0,
|
||
38 | /** Resolution-Layer-Component-Position */
|
||
39 | RLCP = 1,
|
||
40 | /** Resolution-Position-Component-Layer */
|
||
41 | RPCL = 2,
|
||
42 | /** Position-Component-Resolution-Layer */
|
||
43 | PCRL = 3,
|
||
44 | /** Component-Position-Resolution-Layer */
|
||
45 | CPRL = 4
|
||
46 | } Type; |
||
47 | |||
48 | /** The type */
|
||
49 | Type m_eType; |
||
50 | |||
51 | /** Default constructor, initialises members */
|
||
52 | CNCSJPCProgressionOrderType(); |
||
53 | /** Virtual destructor */
|
||
54 | virtual ~CNCSJPCProgressionOrderType(); |
||
55 | |||
56 | /**
|
||
57 | * Parse the fields from the JPC codestream.
|
||
58 | * @param JPC CNCSJPC to use to parse file.
|
||
59 | * @param Stream IOStream to use to parse file.
|
||
60 | * @return CNCSError NCS_SUCCESS, or Error code on failure.
|
||
61 | */
|
||
62 | virtual CNCSError Parse(class CNCSJPC &JPC, CNCSJPCIOStream &Stream); |
||
63 | /**
|
||
64 | * UnParse the fields to the JPC codestream.
|
||
65 | * @param Stream IOStream to use to parse file.
|
||
66 | * @param JPC CNCSJPC to use to parse file.
|
||
67 | * @return CNCSError NCS_SUCCESS, or Error code on failure.
|
||
68 | */
|
||
69 | virtual CNCSError UnParse(class CNCSJPC &JPC, CNCSJPCIOStream &Stream); |
||
70 | }; |
||
71 | |||
72 | |||
73 | #endif // !NCSJPCPROGRESSIONORDERTYPE_H |