Statistics
| Revision:

svn-gvsig-desktop / trunk / libraries / libjni-readecw-linux / include / NCSJPCQCCMarker.h @ 1458

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

    
21
#ifndef NCSJPCQCCMARKER_H
22
#define NCSJPCQCCMARKER_H
23

    
24
#include "NCSJPCMarker.h"
25
#include "NCSJPCQuantizationParameter.h"
26
        /**
27
         * CNCSJPCQCCMarker class - the JPC QCC marker.
28
         * 
29
         * @author       Simon Cope
30
         * @version      $Revision: 1458 $ $Author: igbrotru $ $Date: 2005-02-15 08:52:16 +0100 (Tue, 15 Feb 2005) $ 
31
         */        
32
class NCSJPC_EXPORT_ALL CNCSJPCQCCMarker: public CNCSJPCMarker, public CNCSJPCQuantizationParameter {
33
public:
34
                /** Component index for this QCC */
35
        UINT16        m_nCqcc;
36

    
37
                /** Default constructor, initialises members */
38
        CNCSJPCQCCMarker();
39
                /** Copy constructor */
40
        CNCSJPCQCCMarker(const class CNCSJPCQCDMarker& src);
41
                /** Virtual destructor */
42
        virtual ~CNCSJPCQCCMarker();
43

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

    
59
                /** 
60
                 * Assignment operator
61
                 * @param                src                QCD Marker.
62
                 * @return      CNCSJPCQCCMarker        Updated QCCMarker.
63
                 */
64
        class CNCSJPCQCCMarker& operator=( const class CNCSJPCQCDMarker& src );
65
};
66

    
67

    
68
#endif // !NCSJPCQCCMARKER_H