LizardTech::Nitf::DataSegment Class Reference
represents a data segment in an existing NITF file
More...
#include <DataSegment.h>
List of all members.
Detailed Description
This class represents a data segment in an NITF file. To access the data segment of a file, retrieve the DataSegment from the NITFReaderManager class.
Definition at line 34 of file DataSegment.h.
Constructor & Destructor Documentation
LizardTech::Nitf::DataSegment::DataSegment |
( |
NITFReaderManager & |
, |
|
|
LTIOStreamInf & |
, |
|
|
int |
segmentNumber, |
|
|
lt_int64 |
headerOffset, |
|
|
lt_int64 |
headerLength, |
|
|
lt_int64 |
dataOffset, |
|
|
lt_int64 |
dataLength | |
|
) |
| | |
LizardTech::Nitf::DataSegment::~DataSegment |
( |
|
) |
|
Member Function Documentation
const lt_uint8* LizardTech::Nitf::DataSegment::getData |
( |
|
) |
const |
This function returns the actual data of the data segment, as an array of bytes. The length of the array can be found by calling getDataLen().
- Returns:
- the array of bytes of the data
lt_uint32 LizardTech::Nitf::DataSegment::getDataLen |
( |
|
) |
const |
This function returns the length of actual data of the data segment, in bytes.
- Returns:
- the number of bytes of the data
const char* LizardTech::Nitf::DataSegment::getDESID |
( |
|
) |
const |
This function returns the ID of the data segment.
- Returns:
- the ID of the segment, as a string
const char* LizardTech::Nitf::DataSegment::getDESVER |
( |
|
) |
const |
This function returns the version of the data segment.
- Returns:
- the version of the segment, as a string
LT_STATUS LizardTech::Nitf::DataSegment::initialize |
( |
|
) |
[virtual] |
This function must be called immediately after the constructor.
- Returns:
- success or failure
Reimplemented from LizardTech::Nitf::Segment.
bool LizardTech::Nitf::DataSegment::verifyIsOverflow |
( |
const char * |
code, |
|
|
bool |
isU, |
|
|
int |
segmentNum | |
|
) |
| | const |
The documentation for this class was generated from the following file: