OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimRpfColorGrayscaleTable.h>
Public Member Functions | |
ossimRpfColorGrayscaleTable () | |
ossimRpfColorGrayscaleTable (const ossimRpfColorGrayscaleTable &rhs) | |
virtual | ~ossimRpfColorGrayscaleTable () |
ossimErrorCode | parseStream (std::istream &in, ossimByteOrder byteOrder) |
void | setTableData (unsigned short id, unsigned long numberOfElements) |
const ossimRpfColorGrayscaleTable & | operator= (const ossimRpfColorGrayscaleTable &) |
const unsigned char * | getData () const |
const unsigned char * | getStartOfData (unsigned long entry) const |
unsigned short | getTableId () const |
unsigned long | getNumberOfElements () const |
Private Attributes | |
unsigned long | theNumberOfElements |
unsigned long | theTotalNumberOfBytes |
unsigned short | theTableId |
unsigned char * | theData |
Friends | |
std::ostream & | operator<< (std::ostream &out, const ossimRpfColorGrayscaleTable &data) |
Definition at line 8 of file ossimRpfColorGrayscaleTable.h.
ossimRpfColorGrayscaleTable::ossimRpfColorGrayscaleTable | ( | ) |
Definition at line 16 of file ossimRpfColorGrayscaleTable.cpp.
ossimRpfColorGrayscaleTable::ossimRpfColorGrayscaleTable | ( | const ossimRpfColorGrayscaleTable & | rhs | ) |
Definition at line 24 of file ossimRpfColorGrayscaleTable.cpp.
|
virtual |
Definition at line 34 of file ossimRpfColorGrayscaleTable.cpp.
References theData.
|
inline |
Definition at line 25 of file ossimRpfColorGrayscaleTable.h.
References theData.
|
inline |
Definition at line 28 of file ossimRpfColorGrayscaleTable.h.
References theNumberOfElements.
const unsigned char * ossimRpfColorGrayscaleTable::getStartOfData | ( | unsigned long | entry | ) | const |
Definition at line 61 of file ossimRpfColorGrayscaleTable.cpp.
References theData, and theTableId.
|
inline |
Definition at line 27 of file ossimRpfColorGrayscaleTable.h.
References theTableId.
const ossimRpfColorGrayscaleTable & ossimRpfColorGrayscaleTable::operator= | ( | const ossimRpfColorGrayscaleTable & | rhs | ) |
Definition at line 131 of file ossimRpfColorGrayscaleTable.cpp.
References theData, theNumberOfElements, theTableId, and theTotalNumberOfBytes.
ossimErrorCode ossimRpfColorGrayscaleTable::parseStream | ( | std::istream & | in, |
ossimByteOrder | byteOrder | ||
) |
Definition at line 43 of file ossimRpfColorGrayscaleTable.cpp.
References ossimErrorCodes::OSSIM_ERROR, ossimErrorCodes::OSSIM_OK, theData, and theTotalNumberOfBytes.
void ossimRpfColorGrayscaleTable::setTableData | ( | unsigned short | id, |
unsigned long | numberOfElements | ||
) |
Definition at line 88 of file ossimRpfColorGrayscaleTable.cpp.
References theData, theNumberOfElements, theTableId, and theTotalNumberOfBytes.
|
friend |
Definition at line 6 of file ossimRpfColorGrayscaleTable.cpp.
|
private |
Definition at line 46 of file ossimRpfColorGrayscaleTable.h.
Referenced by getData(), getStartOfData(), operator=(), parseStream(), setTableData(), and ~ossimRpfColorGrayscaleTable().
|
private |
Definition at line 31 of file ossimRpfColorGrayscaleTable.h.
Referenced by getNumberOfElements(), operator<<(), operator=(), and setTableData().
|
private |
This will not be parsed from the stream. This is set when reading the offset record for this table. The id defines the format of the data buffer. if the id is :
1 then the buffer is in the format of RGB 2 "" RGBM 3 "" M 4 "" CMYK
Definition at line 45 of file ossimRpfColorGrayscaleTable.h.
Referenced by getStartOfData(), getTableId(), operator<<(), operator=(), and setTableData().
|
private |
Definition at line 33 of file ossimRpfColorGrayscaleTable.h.
Referenced by operator<<(), operator=(), parseStream(), and setTableData().