17 :theNumberOfElements(0),
18 theTotalNumberOfBytes(0),
25 :theNumberOfElements(0),
26 theTotalNumberOfBytes(0),
63 unsigned long offset = 0;
85 return (
const unsigned char*)(
theData + offset);
89 unsigned long numberOfElements)
97 unsigned long totalBytes = 0;
103 totalBytes = 3*numberOfElements;
109 totalBytes = 4*numberOfElements;
114 totalBytes = numberOfElements;
125 theData =
new unsigned char[totalBytes];
ossim_int32 ossimErrorCode
static const ossimErrorCode OSSIM_OK
unsigned short theTableId
unsigned long theNumberOfElements
const unsigned char * getStartOfData(unsigned long entry) const
static const ossimErrorCode OSSIM_ERROR
ossimErrorCode parseStream(std::istream &in, ossimByteOrder byteOrder)
unsigned long theTotalNumberOfBytes
void setTableData(unsigned short id, unsigned long numberOfElements)
std::basic_istream< char > istream
Base class for char input streams.
std::ostream & operator<<(std::ostream &out, const ossimRpfColorGrayscaleTable &data)
virtual ~ossimRpfColorGrayscaleTable()
const ossimRpfColorGrayscaleTable & operator=(const ossimRpfColorGrayscaleTable &)
ossimRpfColorGrayscaleTable()
std::basic_ostream< char > ostream
Base class for char output streams.