svn-gvsig-desktop / trunk / libraries / libjni-readecw-linux / include / NCSJPCPPTMarker.h @ 1458
History | View | Annotate | Download (2.05 KB)
1 | 1448 | igbrotru | /********************************************************
|
---|---|---|---|
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/NCSJPCPPTMarker.h $
|
||
15 | ** CREATED: 19/12/2002 3:27:34 PM
|
||
16 | ** AUTHOR: Simon Cope
|
||
17 | ** PURPOSE: CNCSJPCPPTMarker class header
|
||
18 | ** EDITS: [xx] ddMmmyy NAME COMMENTS
|
||
19 | *******************************************************/
|
||
20 | |||
21 | #ifndef NCSJPCPPTMARKER_H
|
||
22 | #define NCSJPCPPTMARKER_H
|
||
23 | |||
24 | #include "NCSJPCMarker.h" |
||
25 | #include "NCSJPCPacket.h" |
||
26 | |||
27 | /**
|
||
28 | * CNCSJPCPPTMarker class - the JPC PPT marker.
|
||
29 | *
|
||
30 | * @author Simon Cope
|
||
31 | * @version $Revision$ $Author$ $Date$
|
||
32 | */
|
||
33 | class NCSJPC_EXPORT_ALL CNCSJPCPPTMarker: public CNCSJPCMarker { |
||
34 | public:
|
||
35 | /** Index of this marker WRT other PPT markers */
|
||
36 | UINT8 m_nZppt; |
||
37 | /** Packet header(s) for tile-part */
|
||
38 | // CNCSJPCPacketList m_Headers;
|
||
39 | |||
40 | /** Default constructor, initialises members */
|
||
41 | CNCSJPCPPTMarker(); |
||
42 | /** Virtual destructor */
|
||
43 | virtual ~CNCSJPCPPTMarker(); |
||
44 | |||
45 | /**
|
||
46 | * Parse the marker from the JPC codestream.
|
||
47 | * @param JPC CNCSJPC to use to parse file.
|
||
48 | * @param Stream IOStream to use to parse file.
|
||
49 | * @return CNCSError NCS_SUCCESS, or Error code on failure.
|
||
50 | */
|
||
51 | virtual CNCSError Parse(class CNCSJPC &JPC, CNCSJPCIOStream &Stream); |
||
52 | #ifndef NCSJPC_LEAN_AND_MEAN
|
||
53 | /**
|
||
54 | * UnParse the marker to the JPC codestream.
|
||
55 | * @param Stream IOStream to use to parse file.
|
||
56 | * @param JPC CNCSJPC to use to parse file.
|
||
57 | * @return CNCSError NCS_SUCCESS, or Error code on failure.
|
||
58 | */
|
||
59 | virtual CNCSError UnParse(class CNCSJPC &JPC, CNCSJPCIOStream &Stream); |
||
60 | #endif //!NCSJPC_LEAN_AND_MEAN |
||
61 | }; |
||
62 | |||
63 | #endif // !NCSJPCPPTMARKER_H |