svn-gvsig-desktop / tags / extI18n-0.1.0-1045_8 / libraries / libjni-ecw / include / NCSJPCCOCMarker.h @ 40799
History | View | Annotate | Download (2.34 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/NCSJPCCOCMarker.h $
|
||
15 | ** CREATED: 11/12/2002 3:27:34 PM
|
||
16 | ** AUTHOR: Simon Cope
|
||
17 | ** PURPOSE: CNCSJPCCOCMarker class header
|
||
18 | ** EDITS: [xx] ddMmmyy NAME COMMENTS
|
||
19 | *******************************************************/
|
||
20 | |||
21 | #ifndef NCSJPCCOCMARKER_H
|
||
22 | #define NCSJPCCOCMARKER_H
|
||
23 | |||
24 | #include "NCSJPCMarker.h" |
||
25 | #include "NCSJPCCodingStyleParameter.h" |
||
26 | |||
27 | /**
|
||
28 | * CNCSJPCCOCMarker class - the JPC COD marker.
|
||
29 | *
|
||
30 | * @author Simon Cope
|
||
31 | * @version $Revision$ $Author$ $Date$
|
||
32 | */
|
||
33 | class NCSJPC_EXPORT_ALL CNCSJPCCOCMarker: public CNCSJPCMarker { |
||
34 | public:
|
||
35 | |||
36 | /** Index of component which the marker relates to */
|
||
37 | UINT16 m_nCcoc; |
||
38 | /** Coding style for this component */
|
||
39 | bool m_bScoc;
|
||
40 | /** SP Coding style parameters */
|
||
41 | CNCSJPCCodingStyleParameter m_SPcoc; |
||
42 | |||
43 | /** Default constructor, initialises members */
|
||
44 | CNCSJPCCOCMarker(); |
||
45 | /** Copy constructor */
|
||
46 | CNCSJPCCOCMarker(const class CNCSJPCCODMarker &src);
|
||
47 | /** Virtual destructor */
|
||
48 | virtual ~CNCSJPCCOCMarker(); |
||
49 | |||
50 | /**
|
||
51 | * Parse the marker from the JPC codestream.
|
||
52 | * @param JPC CNCSJPC to use to parse file.
|
||
53 | * @param Stream IOStream to use to parse file.
|
||
54 | * @return CNCSError NCS_SUCCESS, or Error code on failure.
|
||
55 | */
|
||
56 | virtual CNCSError Parse(class CNCSJPC &JPC, CNCSJPCIOStream &Stream); |
||
57 | /**
|
||
58 | * UnParse the marker to the JPC codestream.
|
||
59 | * @param Stream IOStream to use to parse file.
|
||
60 | * @param JPC CNCSJPC to use to parse file.
|
||
61 | * @return CNCSError NCS_SUCCESS, or Error code on failure.
|
||
62 | */
|
||
63 | virtual CNCSError UnParse(class CNCSJPC &JPC, CNCSJPCIOStream &Stream); |
||
64 | |||
65 | /**
|
||
66 | * Assignment operator
|
||
67 | * @param src COD Marker.
|
||
68 | * @return CNCSJPCCOCMarker Updated COCMarker.
|
||
69 | */
|
||
70 | class CNCSJPCCOCMarker &operator=( const class CNCSJPCCODMarker &src );
|
||
71 | }; |
||
72 | |||
73 | |||
74 | #endif // !NCSJPCCODMARKER_H |