Statistics
| Revision:

svn-gvsig-desktop / tags / v1_10_0_Build_1260 / libraries / libjni-readecw-linux / include / NCSJPCMCTNode.h @ 43469

History | View | Annotate | Download (2.29 KB)

1
/********************************************************
2
** Copyright 2003 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/NCSJPCMCTNode.h $
15
** CREATED:  20/03/2003 3:27:34 PM
16
** AUTHOR:   Simon Cope
17
** PURPOSE:  CNCSJPCMCTNode class header
18
** EDITS:    [xx] ddMmmyy NAME COMMENTS
19
 *******************************************************/
20

    
21
#ifndef NCSJPCMCTNODE_H
22
#define NCSJPCMCTNODE_H
23

    
24
#ifndef NCSJPCNODE_H
25
#include "NCSJPCNode.h"
26
#endif // NCSJPCNODE_H
27

    
28
        /**
29
         * CNCSJPCMCTNode class - Multiple Component Transform.
30
         * 
31
         * @author       Simon Cope
32
         * @version      $Revision: 1458 $ $Author: igbrotru $ $Date: 2005-02-15 08:52:16 +0100 (Tue, 15 Feb 2005) $ 
33
         */        
34
class NCSJPC_EXPORT_ALL CNCSJPCMCTNode: public CNCSJPCNode {
35
public:
36
                /** Default constructor, initialises members */
37
        CNCSJPCMCTNode();
38
                /** Virtual destructor */
39
        virtual ~CNCSJPCMCTNode();
40

    
41
                /** 
42
                 * Read a BufferType line from the input.
43
                 * @param                nCtx                Read context
44
                 * @param                pDst                Destination buffer.
45
                 * @param                iComponent        Output Component
46
                 * @return      bool                true on succes, else false.
47
                 */
48
        virtual bool ReadLine(ContextID nCtx, CNCSJPCBuffer *pDst, UINT16 iComponent);
49
                /** 
50
                 * Write a BufferType line .
51
                 * @param                nCtx                Write context
52
                 * @param                pSrc                Source buffer.
53
                 * @param                iComponent        Output Component
54
                 * @return      bool                true on succes, else false.
55
                 */
56
        virtual bool WriteLine(ContextID nCtx, CNCSJPCBuffer *pSrc, UINT16 iComponent);
57
protected:
58
        static CNCSJPCNodeTracker        sm_Tracker;
59

    
60
                /** 
61
                 * Read lines from the input.
62
                 * @param                nCtx                ContextID
63
                 * @param                pCtx                Pointer to Read context
64
                 * @param                pBuf0                Pointer to buffer0.
65
                 * @param                pBuf1                Pointer to buffer1.
66
                 * @param                pBuf2                Pointer to buffer2.
67
                 * @return      bool                true on succes, else false.
68
                 */
69
        bool ReadInputLines(ContextID nCtx, Context *pCtx, CNCSJPCBuffer *pBuf0, CNCSJPCBuffer *pBuf1, CNCSJPCBuffer *pBuf2);
70
};
71

    
72
#endif // !NCSJPCMCTNODE_H