MrSID Decode SDK for Raster Reference Manual 9.5.4.4709

- Main Page
- Namespaces
- Classes
- Files
- Examples

- File List
- File Members

ReservedSegment.h
Go to the documentation of this file.
1 /* //////////////////////////////////////////////////////////////////////////
2 // //
3 // This code is Copyright (c) 2010 LizardTech, Inc, 1008 Western Avenue, //
4 // Suite 200, Seattle, WA 98104. Unauthorized use or distribution //
5 // prohibited. Access to and use of this code is permitted only under //
6 // license from LizardTech, Inc. Portions of the code are protected by //
7 // US and foreign patents and other filings. All Rights Reserved. //
8 // //
10 /* PUBLIC */
11
12 #ifndef ReservedSegment_H
13 #define ReservedSegment_H
14
15 // lt_lib_base
16 #include "lt_base.h"
17
18 // local
19 #include "Segment.h"
20
21 LT_BEGIN_LIZARDTECH_NAMESPACE
22 class LTIOStreamInf;
23
24 namespace Nitf {
25
26
34 class ReservedSegment : public Segment
35 {
36 public:
37 // not for public use -- to get a DataSegment, use NITFReaderManager::getResSegment
38 ReservedSegment(NITFReaderManager&, LTIOStreamInf&,
39 int segmentNumber,
40 lt_int64 headerOffset, lt_int64 headerLength,
41 lt_int64 dataOffset, lt_int64 dataLength);
42
43 // not for public use
44 ~ReservedSegment();
45
46 // not for public use
47 LT_STATUS initialize();
48
49 // not for public use
50 LT_STATUS addMetadataLocal(LTIMetadataDatabase& db) const;
51
52 private:
53 LT_STATUS readHeader();
54 LT_STATUS readData();
55
56 char* m_RESID; // 25
57 char* m_RESVER; // 2
58 int m_RESSHL;
59 lt_uint8* m_RESSHF;
60
61 // nope
62 ReservedSegment(ReservedSegment&);
63 ReservedSegment& operator=(const ReservedSegment&);
64 };
65
66
67 }
68 LT_END_LIZARDTECH_NAMESPACE
69
70 #endif // ReservedSegment_H

LizardTech