OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimRpfFrameFileIndexSectionSubheader.h>
Public Member Functions | |
ossimRpfFrameFileIndexSectionSubheader () | |
default constructor More... | |
ossimRpfFrameFileIndexSectionSubheader (const ossimRpfFrameFileIndexSectionSubheader &obj) | |
copy constructor More... | |
const ossimRpfFrameFileIndexSectionSubheader & | operator= (const ossimRpfFrameFileIndexSectionSubheader &rhs) |
assignment operator More... | |
virtual | ~ossimRpfFrameFileIndexSectionSubheader () |
ossimErrorCode | parseStream (std::istream &in, ossimByteOrder byteOrder) |
void | writeStream (std::ostream &out) |
Write method. More... | |
std::ostream & | print (std::ostream &out) const |
print method that outputs a key/value type format adding prefix to keys. More... | |
ossim_uint32 | getOffset () const |
ossim_uint32 | getNumberOfIndexRecords () const |
ossim_uint16 | getNumberOfPathnameRecords () const |
ossim_uint16 | getIndexRecordLength () const |
void | setNumberOfIndexRecords (ossim_uint32 count) |
void | setNumberOfPathnameRecords (ossim_uint16 count) |
void | setIndexRecordLength (ossim_uint16 length) |
void | clearFields () |
![]() | |
ossimReferenced () | |
ossimReferenced (const ossimReferenced &) | |
ossimReferenced & | operator= (const ossimReferenced &) |
void | ref () const |
increment the reference count by one, indicating that this object has another pointer which is referencing it. More... | |
void | unref () const |
decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
void | unref_nodelete () const |
decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
int | referenceCount () const |
Private Attributes | |
char | m_highestSecurityClassification |
ossim_uint32 | m_indexTableOffset |
ossim_uint32 | m_numberOfIndexRecords |
ossim_uint16 | m_numberOfPathnameRecords |
ossim_uint16 | m_indexRecordLength |
Friends | |
std::ostream & | operator<< (std::ostream &out, const ossimRpfFrameFileIndexSectionSubheader &data) |
Additional Inherited Members | |
![]() | |
virtual | ~ossimReferenced () |
Definition at line 19 of file ossimRpfFrameFileIndexSectionSubheader.h.
ossimRpfFrameFileIndexSectionSubheader::ossimRpfFrameFileIndexSectionSubheader | ( | ) |
default constructor
Definition at line 28 of file ossimRpfFrameFileIndexSectionSubheader.cpp.
ossimRpfFrameFileIndexSectionSubheader::ossimRpfFrameFileIndexSectionSubheader | ( | const ossimRpfFrameFileIndexSectionSubheader & | obj | ) |
copy constructor
Definition at line 38 of file ossimRpfFrameFileIndexSectionSubheader.cpp.
|
virtual |
Definition at line 63 of file ossimRpfFrameFileIndexSectionSubheader.cpp.
void ossimRpfFrameFileIndexSectionSubheader::clearFields | ( | ) |
Definition at line 176 of file ossimRpfFrameFileIndexSectionSubheader.cpp.
References m_highestSecurityClassification, m_indexRecordLength, m_indexTableOffset, m_numberOfIndexRecords, and m_numberOfPathnameRecords.
ossim_uint16 ossimRpfFrameFileIndexSectionSubheader::getIndexRecordLength | ( | ) | const |
Definition at line 156 of file ossimRpfFrameFileIndexSectionSubheader.cpp.
References m_indexRecordLength.
ossim_uint32 ossimRpfFrameFileIndexSectionSubheader::getNumberOfIndexRecords | ( | ) | const |
Definition at line 146 of file ossimRpfFrameFileIndexSectionSubheader.cpp.
References m_numberOfIndexRecords.
Referenced by ossimRpfHeader::getNewFileIndexSubsection().
ossim_uint16 ossimRpfFrameFileIndexSectionSubheader::getNumberOfPathnameRecords | ( | ) | const |
Definition at line 151 of file ossimRpfFrameFileIndexSectionSubheader.cpp.
References m_numberOfPathnameRecords.
Referenced by ossimRpfHeader::getNewFileIndexSubsection().
ossim_uint32 ossimRpfFrameFileIndexSectionSubheader::getOffset | ( | ) | const |
Definition at line 141 of file ossimRpfFrameFileIndexSectionSubheader.cpp.
References m_indexTableOffset.
const ossimRpfFrameFileIndexSectionSubheader & ossimRpfFrameFileIndexSectionSubheader::operator= | ( | const ossimRpfFrameFileIndexSectionSubheader & | rhs | ) |
assignment operator
Definition at line 49 of file ossimRpfFrameFileIndexSectionSubheader.cpp.
References m_highestSecurityClassification, m_indexRecordLength, m_indexTableOffset, m_numberOfIndexRecords, and m_numberOfPathnameRecords.
ossimErrorCode ossimRpfFrameFileIndexSectionSubheader::parseStream | ( | std::istream & | in, |
ossimByteOrder | byteOrder | ||
) |
Definition at line 67 of file ossimRpfFrameFileIndexSectionSubheader.cpp.
References ossim::byteOrder(), m_highestSecurityClassification, m_indexRecordLength, m_indexTableOffset, m_numberOfIndexRecords, m_numberOfPathnameRecords, ossimErrorCodes::OSSIM_ERROR, and ossimEndian::swap().
Referenced by ossimRpfHeader::getNewFrameFileIndexSectionSubheader().
std::ostream & ossimRpfFrameFileIndexSectionSubheader::print | ( | std::ostream & | out | ) | const |
print method that outputs a key/value type format adding prefix to keys.
out | String to output to. |
prefix | This will be prepended to key. e.g. Where prefix = "nitf." and key is "file_name" key becomes: "nitf.file_name:" |
Definition at line 128 of file ossimRpfFrameFileIndexSectionSubheader.cpp.
References m_highestSecurityClassification, m_indexRecordLength, m_indexTableOffset, m_numberOfIndexRecords, and m_numberOfPathnameRecords.
Referenced by operator<<().
void ossimRpfFrameFileIndexSectionSubheader::setIndexRecordLength | ( | ossim_uint16 | length | ) |
Definition at line 171 of file ossimRpfFrameFileIndexSectionSubheader.cpp.
References m_indexRecordLength.
void ossimRpfFrameFileIndexSectionSubheader::setNumberOfIndexRecords | ( | ossim_uint32 | count | ) |
Definition at line 161 of file ossimRpfFrameFileIndexSectionSubheader.cpp.
References m_numberOfIndexRecords.
void ossimRpfFrameFileIndexSectionSubheader::setNumberOfPathnameRecords | ( | ossim_uint16 | count | ) |
Definition at line 166 of file ossimRpfFrameFileIndexSectionSubheader.cpp.
References m_numberOfPathnameRecords.
void ossimRpfFrameFileIndexSectionSubheader::writeStream | ( | std::ostream & | out | ) |
Write method.
Note always writes out in big endian at this point.
out | Stream to write to. |
Definition at line 100 of file ossimRpfFrameFileIndexSectionSubheader.cpp.
References ossim::byteOrder(), m_highestSecurityClassification, m_indexRecordLength, m_indexTableOffset, m_numberOfIndexRecords, m_numberOfPathnameRecords, OSSIM_BIG_ENDIAN, and ossimEndian::swap().
|
friend |
Definition at line 23 of file ossimRpfFrameFileIndexSectionSubheader.cpp.
|
private |
Definition at line 70 of file ossimRpfFrameFileIndexSectionSubheader.h.
Referenced by clearFields(), operator=(), parseStream(), print(), and writeStream().
|
private |
Definition at line 74 of file ossimRpfFrameFileIndexSectionSubheader.h.
Referenced by clearFields(), getIndexRecordLength(), operator=(), parseStream(), print(), setIndexRecordLength(), and writeStream().
|
private |
Definition at line 71 of file ossimRpfFrameFileIndexSectionSubheader.h.
Referenced by clearFields(), getOffset(), operator=(), parseStream(), print(), and writeStream().
|
private |
Definition at line 72 of file ossimRpfFrameFileIndexSectionSubheader.h.
Referenced by clearFields(), getNumberOfIndexRecords(), operator=(), parseStream(), print(), setNumberOfIndexRecords(), and writeStream().
|
private |
Definition at line 73 of file ossimRpfFrameFileIndexSectionSubheader.h.
Referenced by clearFields(), getNumberOfPathnameRecords(), operator=(), parseStream(), print(), setNumberOfPathnameRecords(), and writeStream().