OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimRpfColorGrayscaleTable.h
Go to the documentation of this file.
1 #ifndef ossimRpfColorGrayscaleTable_HEADER
2 #define ossimRpfColorGrayscaleTable_HEADER 1
3 
7 
9 {
10 public:
11  friend std::ostream& operator <<(
12  std::ostream& out, const ossimRpfColorGrayscaleTable& data);
13 
17 
19 
20  void setTableData(unsigned short id,
21  unsigned long numberOfElements);
22 
24 
25  const unsigned char* getData()const{return theData;}
26  const unsigned char* getStartOfData(unsigned long entry)const;
27  unsigned short getTableId()const{return theTableId;}
28  unsigned long getNumberOfElements()const{return theNumberOfElements;}
29 
30 private:
31  unsigned long theNumberOfElements;
32 
33  unsigned long theTotalNumberOfBytes;
34 
45  unsigned short theTableId;
46  unsigned char* theData;
47 };
48 
49 #endif
ossim_int32 ossimErrorCode
friend std::ostream & operator<<(std::ostream &out, const ossimRpfColorGrayscaleTable &data)
const unsigned char * getData() const
const unsigned char * getStartOfData(unsigned long entry) const
OSSIM_DLL ossimByteOrder byteOrder()
Definition: ossimCommon.cpp:54
ossimErrorCode parseStream(std::istream &in, ossimByteOrder byteOrder)
void setTableData(unsigned short id, unsigned long numberOfElements)
ossimByteOrder
std::basic_istream< char > istream
Base class for char input streams.
Definition: ossimIosFwd.h:20
const ossimRpfColorGrayscaleTable & operator=(const ossimRpfColorGrayscaleTable &)
std::basic_ostream< char > ostream
Base class for char output streams.
Definition: ossimIosFwd.h:23