OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
Public Member Functions | Public Attributes | Friends | List of all members
ossimNitfResExtSegInfoRecordV2_1 Struct Reference

#include <ossimNitfFileHeaderV2_1.h>

Public Member Functions

ossim_uint64 getHeaderLength () const
 
ossim_uint64 getResExtSegLength () const
 
ossim_uint64 getTotalLength () const
 

Public Attributes

char theResExtSegSubheaderLength [5]
 Is a 4 byte numeric 0-9999. More...
 
char theResExtSegLength [8]
 Is a 7 byte numeric 0-9999999. More...
 

Friends

std::ostream & operator<< (std::ostream &out, const ossimNitfResExtSegInfoRecordV2_1 &data)
 

Detailed Description

Definition at line 113 of file ossimNitfFileHeaderV2_1.h.

Member Function Documentation

◆ getHeaderLength()

ossim_uint64 ossimNitfResExtSegInfoRecordV2_1::getHeaderLength ( ) const

Definition at line 192 of file ossimNitfFileHeaderV2_1.cpp.

References theResExtSegSubheaderLength, and ossimString::toUInt64().

Referenced by getTotalLength().

193 {
195 }
char theResExtSegSubheaderLength[5]
Is a 4 byte numeric 0-9999.
ossim_uint64 toUInt64() const

◆ getResExtSegLength()

ossim_uint64 ossimNitfResExtSegInfoRecordV2_1::getResExtSegLength ( ) const

Definition at line 197 of file ossimNitfFileHeaderV2_1.cpp.

References theResExtSegLength, and ossimString::toUInt64().

Referenced by getTotalLength().

198 {
200 }
char theResExtSegLength[8]
Is a 7 byte numeric 0-9999999.
ossim_uint64 toUInt64() const

◆ getTotalLength()

ossim_uint64 ossimNitfResExtSegInfoRecordV2_1::getTotalLength ( ) const

Definition at line 202 of file ossimNitfFileHeaderV2_1.cpp.

References getHeaderLength(), and getResExtSegLength().

203 {
204  return getResExtSegLength() + getHeaderLength();
205 }

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  out,
const ossimNitfResExtSegInfoRecordV2_1 data 
)
friend

Definition at line 182 of file ossimNitfFileHeaderV2_1.cpp.

184 {
185  return out << "theResExtSegSubheaderLength: "
187  << "\ntheResExtSegLength: "
188  << data.theResExtSegLength
189  << std::endl;
190 }
char theResExtSegSubheaderLength[5]
Is a 4 byte numeric 0-9999.
char theResExtSegLength[8]
Is a 7 byte numeric 0-9999999.

Member Data Documentation

◆ theResExtSegLength

char ossimNitfResExtSegInfoRecordV2_1::theResExtSegLength[8]

Is a 7 byte numeric 0-9999999.

Definition at line 130 of file ossimNitfFileHeaderV2_1.h.

Referenced by getResExtSegLength(), operator<<(), and ossimNitfFileHeaderV2_1::readResExtSegInfoRecords().

◆ theResExtSegSubheaderLength

char ossimNitfResExtSegInfoRecordV2_1::theResExtSegSubheaderLength[5]

Is a 4 byte numeric 0-9999.

Definition at line 125 of file ossimNitfFileHeaderV2_1.h.

Referenced by getHeaderLength(), operator<<(), and ossimNitfFileHeaderV2_1::readResExtSegInfoRecords().


The documentation for this struct was generated from the following files: