svn-gvsig-desktop / tags / v1_1_1_Build_1016 / libraries / libjni-ecw / include / NCSJPCCOMMarker.h @ 33925
History | View | Annotate | Download (2.07 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/NCSJPCCOMMarker.h $
|
||
15 | ** CREATED: 19/12/2002 3:27:34 PM
|
||
16 | ** AUTHOR: Simon Cope
|
||
17 | ** PURPOSE: CNCSJPCCOMMarker class header
|
||
18 | ** EDITS: [xx] ddMmmyy NAME COMMENTS
|
||
19 | *******************************************************/
|
||
20 | |||
21 | #ifndef NCSJPCCOMMARKER_H
|
||
22 | #define NCSJPCCOMMARKER_H
|
||
23 | |||
24 | #ifndef NCSJPCMARKER_H
|
||
25 | #include "NCSJPCMarker.h" |
||
26 | #endif // NCSJPCMARKER_H |
||
27 | |||
28 | |||
29 | /**
|
||
30 | * CNCSJPCCOMMarker class - the JPC COM marker.
|
||
31 | *
|
||
32 | * @author Simon Cope
|
||
33 | * @version $Revision$ $Author$ $Date$
|
||
34 | */
|
||
35 | class NCSJPC_EXPORT_ALL CNCSJPCCOMMarker: public CNCSJPCMarker { |
||
36 | public:
|
||
37 | typedef enum { |
||
38 | BINARY = 0,
|
||
39 | IS_8859_LATIN = 1
|
||
40 | } Registration; |
||
41 | |||
42 | Registration m_eRegistration; |
||
43 | void *m_pComment;
|
||
44 | |||
45 | /** Default constructor, initialises members */
|
||
46 | CNCSJPCCOMMarker(); |
||
47 | /** copy constructor */
|
||
48 | CNCSJPCCOMMarker(const CNCSJPCCOMMarker &s);
|
||
49 | /** Virtual destructor */
|
||
50 | virtual ~CNCSJPCCOMMarker(); |
||
51 | |||
52 | /**
|
||
53 | * Parse the marker from the JPC codestream.
|
||
54 | * @param JPC CNCSJPC to use to parse file.
|
||
55 | * @param Stream IOStream to use to parse file.
|
||
56 | * @return CNCSError NCS_SUCCESS, or Error code on failure.
|
||
57 | */
|
||
58 | virtual CNCSError Parse(class CNCSJPC &JPC, CNCSJPCIOStream &Stream); |
||
59 | /**
|
||
60 | * UnParse the marker to the JPC codestream.
|
||
61 | * @param Stream IOStream to use to parse file.
|
||
62 | * @param JPC CNCSJPC to use to parse file.
|
||
63 | * @return CNCSError NCS_SUCCESS, or Error code on failure.
|
||
64 | */
|
||
65 | virtual CNCSError UnParse(class CNCSJPC &JPC, CNCSJPCIOStream &Stream); |
||
66 | |||
67 | }; |
||
68 | |||
69 | |||
70 | #endif // !NCSJPCCOMMARKER_H |