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

Friends

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

Detailed Description

Definition at line 90 of file ossimNitfFileHeaderV2_0.h.

Member Function Documentation

◆ getHeaderLength()

ossim_int32 ossimNitfTextInfoRecordV2_0::getHeaderLength ( ) const

Definition at line 151 of file ossimNitfFileHeaderV2_0.cpp.

References theTextSubheaderLength, and ossimString::toInt32().

Referenced by getTotalLength().

152 {
154 }
ossim_int32 toInt32() const

◆ getImageLength()

ossim_int32 ossimNitfTextInfoRecordV2_0::getImageLength ( ) const

Definition at line 156 of file ossimNitfFileHeaderV2_0.cpp.

References theTextLength, and ossimString::toInt32().

Referenced by getTotalLength().

157 {
159 }
ossim_int32 toInt32() const

◆ getTotalLength()

ossim_int32 ossimNitfTextInfoRecordV2_0::getTotalLength ( ) const

Definition at line 161 of file ossimNitfFileHeaderV2_0.cpp.

References getHeaderLength(), and getImageLength().

162 {
163  return (getHeaderLength() + getImageLength());
164 }

Friends And Related Function Documentation

◆ operator<<

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

Definition at line 142 of file ossimNitfFileHeaderV2_0.cpp.

144 {
145  return out << "theTextSubheaderLength: "
146  << data.theTextSubheaderLength << std::endl
147  << "theTextLength: "
148  << data.theTextLength;
149 }

Member Data Documentation

◆ theTextLength

char ossimNitfTextInfoRecordV2_0::theTextLength[6]

Is a 5 byte numeric 0-99999

Definition at line 107 of file ossimNitfFileHeaderV2_0.h.

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

◆ theTextSubheaderLength

char ossimNitfTextInfoRecordV2_0::theTextSubheaderLength[5]

Is a 4 byte numeric 0-9999

Definition at line 102 of file ossimNitfFileHeaderV2_0.h.

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


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