OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
Public Member Functions | Public Attributes | Friends | List of all members
ossimNitfLabelInfoRecordV2_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 theLabelSubheaderLength [5]
 
char theLabelLength [4]
 

Friends

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

Detailed Description

Definition at line 69 of file ossimNitfFileHeaderV2_0.h.

Member Function Documentation

◆ getHeaderLength()

ossim_int32 ossimNitfLabelInfoRecordV2_0::getHeaderLength ( ) const

Definition at line 127 of file ossimNitfFileHeaderV2_0.cpp.

References theLabelSubheaderLength, and ossimString::toInt32().

Referenced by getTotalLength().

128 {
130 }
ossim_int32 toInt32() const

◆ getImageLength()

ossim_int32 ossimNitfLabelInfoRecordV2_0::getImageLength ( ) const

Definition at line 132 of file ossimNitfFileHeaderV2_0.cpp.

References theLabelLength, and ossimString::toInt32().

Referenced by getTotalLength().

133 {
135 }
ossim_int32 toInt32() const

◆ getTotalLength()

ossim_int32 ossimNitfLabelInfoRecordV2_0::getTotalLength ( ) const

Definition at line 137 of file ossimNitfFileHeaderV2_0.cpp.

References getHeaderLength(), and getImageLength().

138 {
139  return (getHeaderLength() + getImageLength());
140 }

Friends And Related Function Documentation

◆ operator<<

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

Definition at line 118 of file ossimNitfFileHeaderV2_0.cpp.

120 {
121  return out << "theLabelSubheaderLength: "
122  << data.theLabelSubheaderLength << std::endl
123  << "theLabelLength: "
124  << data.theLabelLength;
125 }

Member Data Documentation

◆ theLabelLength

char ossimNitfLabelInfoRecordV2_0::theLabelLength[4]

Is a 3 byte numeric 0-320

Definition at line 87 of file ossimNitfFileHeaderV2_0.h.

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

◆ theLabelSubheaderLength

char ossimNitfLabelInfoRecordV2_0::theLabelSubheaderLength[5]

Is a 4 byte numeric 0-9999

Definition at line 82 of file ossimNitfFileHeaderV2_0.h.

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


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