OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimRpfBoundaryRectSectionSubheader.h>
Public Member Functions | |
ossimRpfBoundaryRectSectionSubheader () | |
default constructor More... | |
ossimRpfBoundaryRectSectionSubheader (const ossimRpfBoundaryRectSectionSubheader &obj) | |
copy constructor More... | |
const ossimRpfBoundaryRectSectionSubheader & | operator= (const ossimRpfBoundaryRectSectionSubheader &rhs) |
assignment operator More... | |
virtual | ~ossimRpfBoundaryRectSectionSubheader () |
ossimErrorCode | parseStream (std::istream &in, ossimByteOrder) |
void | writeStream (std::ostream &out) |
Write method. More... | |
std::ostream & | print (std::ostream &out) const |
print method More... | |
ossim_uint16 | getNumberOfEntries () const |
ossim_uint32 | getTableOffset () const |
ossim_uint16 | getLengthOfEachEntry () const |
void | setNumberOfEntries (ossim_uint16 entries) |
void | setTableOffset (ossim_uint32 offset) |
void | setLengthOfEachEntry (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 | |
ossim_uint32 | m_rectangleTableOffset |
ossim_uint16 | m_numberOfEntries |
ossim_uint16 | m_lengthOfEachEntry |
Friends | |
std::ostream & | operator<< (std::ostream &out, const ossimRpfBoundaryRectSectionSubheader &data) |
Additional Inherited Members | |
![]() | |
virtual | ~ossimReferenced () |
Definition at line 19 of file ossimRpfBoundaryRectSectionSubheader.h.
ossimRpfBoundaryRectSectionSubheader::ossimRpfBoundaryRectSectionSubheader | ( | ) |
default constructor
Definition at line 25 of file ossimRpfBoundaryRectSectionSubheader.cpp.
ossimRpfBoundaryRectSectionSubheader::ossimRpfBoundaryRectSectionSubheader | ( | const ossimRpfBoundaryRectSectionSubheader & | obj | ) |
copy constructor
Definition at line 33 of file ossimRpfBoundaryRectSectionSubheader.cpp.
|
virtual |
Definition at line 53 of file ossimRpfBoundaryRectSectionSubheader.cpp.
void ossimRpfBoundaryRectSectionSubheader::clearFields | ( | ) |
Definition at line 147 of file ossimRpfBoundaryRectSectionSubheader.cpp.
References m_lengthOfEachEntry, m_numberOfEntries, and m_rectangleTableOffset.
Referenced by parseStream().
ossim_uint16 ossimRpfBoundaryRectSectionSubheader::getLengthOfEachEntry | ( | ) | const |
Definition at line 127 of file ossimRpfBoundaryRectSectionSubheader.cpp.
References m_lengthOfEachEntry.
ossim_uint16 ossimRpfBoundaryRectSectionSubheader::getNumberOfEntries | ( | ) | const |
Definition at line 117 of file ossimRpfBoundaryRectSectionSubheader.cpp.
References m_numberOfEntries.
Referenced by ossimRpfHeader::getNewBoundaryRectTable().
ossim_uint32 ossimRpfBoundaryRectSectionSubheader::getTableOffset | ( | ) | const |
Definition at line 122 of file ossimRpfBoundaryRectSectionSubheader.cpp.
References m_rectangleTableOffset.
const ossimRpfBoundaryRectSectionSubheader & ossimRpfBoundaryRectSectionSubheader::operator= | ( | const ossimRpfBoundaryRectSectionSubheader & | rhs | ) |
assignment operator
Definition at line 41 of file ossimRpfBoundaryRectSectionSubheader.cpp.
References m_lengthOfEachEntry, m_numberOfEntries, and m_rectangleTableOffset.
ossimErrorCode ossimRpfBoundaryRectSectionSubheader::parseStream | ( | std::istream & | in, |
ossimByteOrder | byteOrder | ||
) |
Definition at line 57 of file ossimRpfBoundaryRectSectionSubheader.cpp.
References ossim::byteOrder(), clearFields(), m_lengthOfEachEntry, m_numberOfEntries, m_rectangleTableOffset, ossimErrorCodes::OSSIM_ERROR, ossimErrorCodes::OSSIM_OK, and ossimEndian::swap().
Referenced by ossimRpfHeader::getNewBoundaryRectSectSubheader().
std::ostream & ossimRpfBoundaryRectSectionSubheader::print | ( | std::ostream & | out | ) | const |
print method
out | String to output to. |
Definition at line 109 of file ossimRpfBoundaryRectSectionSubheader.cpp.
References m_lengthOfEachEntry, m_numberOfEntries, and m_rectangleTableOffset.
Referenced by operator<<().
void ossimRpfBoundaryRectSectionSubheader::setLengthOfEachEntry | ( | ossim_uint16 | length | ) |
Definition at line 142 of file ossimRpfBoundaryRectSectionSubheader.cpp.
References m_lengthOfEachEntry.
void ossimRpfBoundaryRectSectionSubheader::setNumberOfEntries | ( | ossim_uint16 | entries | ) |
Definition at line 132 of file ossimRpfBoundaryRectSectionSubheader.cpp.
References m_numberOfEntries.
void ossimRpfBoundaryRectSectionSubheader::setTableOffset | ( | ossim_uint32 | offset | ) |
Definition at line 137 of file ossimRpfBoundaryRectSectionSubheader.cpp.
References m_rectangleTableOffset.
void ossimRpfBoundaryRectSectionSubheader::writeStream | ( | std::ostream & | out | ) |
Write method.
out | Stream to write to. |
Definition at line 84 of file ossimRpfBoundaryRectSectionSubheader.cpp.
References ossimEndian::getSystemEndianType(), m_lengthOfEachEntry, m_numberOfEntries, m_rectangleTableOffset, OSSIM_BIG_ENDIAN, and ossimEndian::swap().
|
friend |
Definition at line 19 of file ossimRpfBoundaryRectSectionSubheader.cpp.
|
private |
Definition at line 67 of file ossimRpfBoundaryRectSectionSubheader.h.
Referenced by clearFields(), getLengthOfEachEntry(), operator=(), parseStream(), print(), setLengthOfEachEntry(), and writeStream().
|
private |
Definition at line 66 of file ossimRpfBoundaryRectSectionSubheader.h.
Referenced by clearFields(), getNumberOfEntries(), operator=(), parseStream(), print(), setNumberOfEntries(), and writeStream().
|
private |
Definition at line 65 of file ossimRpfBoundaryRectSectionSubheader.h.
Referenced by clearFields(), getTableOffset(), operator=(), parseStream(), print(), setTableOffset(), and writeStream().