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

#include <ossimNitfFileHeaderV2_0.h>

Public Member Functions

ossim_int32 getHeaderLength () const
 
ossim_int32 getImageLength () const
 
ossim_int32 getTotalLength () const
 

Public Attributes

char theDataExtSegSubheaderLength [5]
 
char theDataExtSegLength [10]
 

Friends

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

Detailed Description

Definition at line 110 of file ossimNitfFileHeaderV2_0.h.

Member Function Documentation

◆ getHeaderLength()

ossim_int32 ossimNitfDataExtSegInfoRecordV2_0::getHeaderLength ( ) const

Definition at line 175 of file ossimNitfFileHeaderV2_0.cpp.

References theDataExtSegSubheaderLength, and ossimString::toInt32().

Referenced by getTotalLength().

176 {
178 }
ossim_int32 toInt32() const

◆ getImageLength()

ossim_int32 ossimNitfDataExtSegInfoRecordV2_0::getImageLength ( ) const

Definition at line 180 of file ossimNitfFileHeaderV2_0.cpp.

References theDataExtSegLength, and ossimString::toInt32().

Referenced by getTotalLength().

181 {
183 }
ossim_int32 toInt32() const

◆ getTotalLength()

ossim_int32 ossimNitfDataExtSegInfoRecordV2_0::getTotalLength ( ) const

Definition at line 185 of file ossimNitfFileHeaderV2_0.cpp.

References getHeaderLength(), and getImageLength().

186 {
187  return (getHeaderLength() + getImageLength());
188 }

Friends And Related Function Documentation

◆ operator<<

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

Definition at line 166 of file ossimNitfFileHeaderV2_0.cpp.

168 {
169  return out << "theDataExtSegSubheaderLength: "
170  << data.theDataExtSegSubheaderLength << std::endl
171  << "theDataExtSegLength: "
172  << data.theDataExtSegLength;
173 }

Member Data Documentation

◆ theDataExtSegLength

char ossimNitfDataExtSegInfoRecordV2_0::theDataExtSegLength[10]

Is a 9 byte numeric 0-999999999

Definition at line 127 of file ossimNitfFileHeaderV2_0.h.

Referenced by getImageLength(), operator<<(), and ossimNitfFileHeaderV2_0::readDataExtSegInfoRecords().

◆ theDataExtSegSubheaderLength

char ossimNitfDataExtSegInfoRecordV2_0::theDataExtSegSubheaderLength[5]

Is a 4 byte numeric 0-9999

Definition at line 122 of file ossimNitfFileHeaderV2_0.h.

Referenced by getHeaderLength(), operator<<(), and ossimNitfFileHeaderV2_0::readDataExtSegInfoRecords().


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