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

#include <ossimNitfFileHeaderV2_1.h>

Public Member Functions

ossim_uint64 getHeaderLength () const
 
ossim_uint64 getGraphicLength () const
 
ossim_uint64 getTotalLength () const
 

Public Attributes

char theGraphicSubheaderLength [5]
 Is a 4 byte numeric 0258-9999. More...
 
char theGraphicLength [7]
 Is a 6 byte numeric 0000001-9999999. More...
 

Friends

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

Detailed Description

Definition at line 47 of file ossimNitfFileHeaderV2_1.h.

Member Function Documentation

◆ getGraphicLength()

ossim_uint64 ossimNitfGraphicInfoRecordV2_1::getGraphicLength ( ) const

Definition at line 105 of file ossimNitfFileHeaderV2_1.cpp.

References theGraphicLength, and ossimString::toUInt64().

Referenced by getTotalLength().

106 {
108 }
char theGraphicLength[7]
Is a 6 byte numeric 0000001-9999999.
ossim_uint64 toUInt64() const

◆ getHeaderLength()

ossim_uint64 ossimNitfGraphicInfoRecordV2_1::getHeaderLength ( ) const

Definition at line 100 of file ossimNitfFileHeaderV2_1.cpp.

References theGraphicSubheaderLength, and ossimString::toUInt64().

Referenced by getTotalLength().

101 {
103 }
char theGraphicSubheaderLength[5]
Is a 4 byte numeric 0258-9999.
ossim_uint64 toUInt64() const

◆ getTotalLength()

ossim_uint64 ossimNitfGraphicInfoRecordV2_1::getTotalLength ( ) const

Definition at line 110 of file ossimNitfFileHeaderV2_1.cpp.

References getGraphicLength(), and getHeaderLength().

111 {
112  return getGraphicLength() + getHeaderLength();
113 }

Friends And Related Function Documentation

◆ operator<<

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

Definition at line 81 of file ossimNitfFileHeaderV2_1.cpp.

83 {
84  return out << "theGraphicSubheaderLength: "
86  << "\ntheGraphicLength: "
87  << data.theGraphicLength
88  << std::endl;
89 }
char theGraphicSubheaderLength[5]
Is a 4 byte numeric 0258-9999.
char theGraphicLength[7]
Is a 6 byte numeric 0000001-9999999.

Member Data Documentation

◆ theGraphicLength

char ossimNitfGraphicInfoRecordV2_1::theGraphicLength[7]

Is a 6 byte numeric 0000001-9999999.

Definition at line 64 of file ossimNitfFileHeaderV2_1.h.

Referenced by getGraphicLength(), operator<<(), and ossimNitfFileHeaderV2_1::readGraphicInfoRecords().

◆ theGraphicSubheaderLength

char ossimNitfGraphicInfoRecordV2_1::theGraphicSubheaderLength[5]

Is a 4 byte numeric 0258-9999.

Definition at line 59 of file ossimNitfFileHeaderV2_1.h.

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


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