svn-gvsig-desktop / trunk / libraries / libjni-readecw-linux / include / NCSJPCSOPMarker.h @ 1458
History | View | Annotate | Download (1.94 KB)
1 |
/********************************************************
|
---|---|
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/NCSJPCSOPMarker.h $
|
15 |
** CREATED: 19/12/2002 3:27:34 PM
|
16 |
** AUTHOR: Simon Cope
|
17 |
** PURPOSE: CNCSJPCSOPMarker class header
|
18 |
** EDITS: [xx] ddMmmyy NAME COMMENTS
|
19 |
*******************************************************/
|
20 |
|
21 |
#ifndef NCSJPCSOPMARKER_H
|
22 |
#define NCSJPCSOPMARKER_H
|
23 |
|
24 |
#ifndef NCSJPCMARKER_H
|
25 |
#include "NCSJPCMarker.h" |
26 |
#endif // NCSJPCMARKER_H |
27 |
|
28 |
|
29 |
/**
|
30 |
* CNCSJPCSOPMarker class - the JPC SOP marker.
|
31 |
*
|
32 |
* @author Simon Cope
|
33 |
* @version $Revision: 1458 $ $Author: igbrotru $ $Date: 2005-02-15 08:52:16 +0100 (Tue, 15 Feb 2005) $
|
34 |
*/
|
35 |
class NCSJPC_EXPORT_ALL CNCSJPCSOPMarker: public CNCSJPCMarker { |
36 |
public:
|
37 |
/** Packet sequence number, can wrap to zero */
|
38 |
UINT16 m_nNsop; |
39 |
|
40 |
/** Default constructor, initialises members */
|
41 |
CNCSJPCSOPMarker(); |
42 |
/** Virtual destructor */
|
43 |
virtual ~CNCSJPCSOPMarker(); |
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 |
/**
|
53 |
* UnParse the marker to the JPC codestream.
|
54 |
* @param Stream IOStream to use to parse file.
|
55 |
* @param JPC CNCSJPC to use to parse file.
|
56 |
* @return CNCSError NCS_SUCCESS, or Error code on failure.
|
57 |
*/
|
58 |
virtual CNCSError UnParse(class CNCSJPC &JPC, CNCSJPCIOStream &Stream); |
59 |
|
60 |
}; |
61 |
|
62 |
|
63 |
#endif // !NCSJPCSOPMARKER_H |