Statistics
| Revision:

root / tags / v1_9_Build_1233 / libraries / libjni-readecw-linux / include / NCSJPCEOCMarker.h @ 38161

History | View | Annotate | Download (1.88 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/NCSJPCEOCMarker.h $
15
** CREATED:  11/12/2002 3:27:34 PM
16
** AUTHOR:   Simon Cope
17
** PURPOSE:  CNCSJPCEOCMarker class header
18
** EDITS:    [xx] ddMmmyy NAME COMMENTS
19
 *******************************************************/
20

    
21
#ifndef NCSJPCEOCMARKER_H
22
#define NCSJPCEOCMARKER_H
23

    
24
#ifndef NCSJPCMARKER_H
25
#include "NCSJPCMarker.h"
26
#endif // NCSJPCMARKER_H
27

    
28

    
29
        /**
30
         * CNCSJPCEOCMarker class - the JPC EOC 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 CNCSJPCEOCMarker: public CNCSJPCMarker {
36
public:
37
                /** Default constructor, initialises members */
38
        CNCSJPCEOCMarker();
39
                /** Virtual destructor */
40
        virtual ~CNCSJPCEOCMarker();
41

    
42
                /** 
43
                 * Parse the marker from the JPC codestream.
44
                 * @param                JPC                        CNCSJPC to use to parse file.
45
                 * @param                Stream                IOStream to use to parse file.
46
                 * @return      CNCSError        NCS_SUCCESS, or Error code on failure.
47
                 */
48
        virtual CNCSError Parse(class CNCSJPC &JPC, CNCSJPCIOStream &Stream);
49
                /** 
50
                 * UnParse the marker to the JPC codestream.
51
                 * @param                Stream                IOStream to use to parse file.
52
                 * @param                JPC                        CNCSJPC to use to parse file.
53
                 * @return      CNCSError        NCS_SUCCESS, or Error code on failure.
54
                 */
55
        virtual CNCSError UnParse(class CNCSJPC &JPC, CNCSJPCIOStream &Stream);
56

    
57
};
58

    
59

    
60
#endif // !NCSJPCEOCMARKER_H