MrSID Decode SDK for Raster Reference Manual  9.0.0.3864
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 
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
45 
46  // not for public use
48 
49  // not for public use
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
63  ReservedSegment& operator=(const ReservedSegment&);
64 };
65 
66 
67 }
69 
70 #endif // ReservedSegment_H
#define LT_BEGIN_LIZARDTECH_NAMESPACE
compiler does not support namespaces
Definition: lt_define.h:96
Include file for all LizardTech sources.
LT_STATUS initialize()
initializer
base class for segment data in an NITF file
Definition: Segment.h:42
lt_uint32 LT_STATUS
An integral status code.
Definition: lt_status.h:39
Abstract definition of a stream.
class for storing metadata associated with an image
ReservedSegment(NITFReaderManager &, LTIOStreamInf &, int segmentNumber, lt_int64 headerOffset, lt_int64 headerLength, lt_int64 dataOffset, lt_int64 dataLength)
#define LT_END_LIZARDTECH_NAMESPACE
compiler does not support namespaces
Definition: lt_define.h:97
represents a Reserved segment in an NITF file
unsigned char lt_uint8
unsigned 8-bit integer
Definition: lt_types.h:46
LT_STATUS addMetadataLocal(LTIMetadataDatabase &db) const

LizardTech