OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
ossimRpfBoundaryRectTable.h
Go to the documentation of this file.
1 //*******************************************************************
2 //
3 // License: See top level LICENSE.txt file.
4 //
5 // Author: Garrett Potts
6 //
7 // Description: Rpf support class
8 //
9 //********************************************************************
10 // $Id: ossimRpfBoundaryRectTable.h 16997 2010-04-12 18:53:48Z dburken $
11 #ifndef ossimRpfBoundaryRectTable_HEADER
12 #define ossimRpfBoundaryRectTable_HEADER
13 
14 #include <iosfwd>
15 #include <vector>
16 
21 
23 {
24 public:
25 
27 
29  ossimRpfBoundaryRectTable(ossim_uint32 numberOfEntries=0);
30 
33 
36 
38 
40 
46  void writeStream(std::ostream& out);
47 
48  void setNumberOfEntries(ossim_uint32 numberOfEntries);
49 
51 
58  bool getEntry(ossim_uint32 entry, ossimRpfBoundaryRectRecord& record) const;
59 
60  std::ostream& print(std::ostream& out)const;
61 
62 private:
63  std::vector<ossimRpfBoundaryRectRecord> m_table;
64 };
65 #endif
const ossimRpfBoundaryRectTable & operator=(const ossimRpfBoundaryRectTable &rhs)
assignment operator
ossim_int32 ossimErrorCode
ossimRpfBoundaryRectTable(ossim_uint32 numberOfEntries=0)
default constructor
ossimReferenced allows for shared object ref counting if the reference count ever gets to 0 or less i...
std::vector< ossimRpfBoundaryRectRecord > m_table
OSSIM_DLL ossimByteOrder byteOrder()
Definition: ossimCommon.cpp:54
friend std::ostream & operator<<(std::ostream &out, const ossimRpfBoundaryRectTable &data)
std::ostream & print(std::ostream &out) const
unsigned int ossim_uint32
bool getEntry(ossim_uint32 entry, ossimRpfBoundaryRectRecord &record) const
Gets record for entry.
ossimErrorCode parseStream(std::istream &in, ossimByteOrder byteOrder)
ossimByteOrder
std::basic_istream< char > istream
Base class for char input streams.
Definition: ossimIosFwd.h:20
void writeStream(std::ostream &out)
Write method.
void setNumberOfEntries(ossim_uint32 numberOfEntries)
std::basic_ostream< char > ostream
Base class for char output streams.
Definition: ossimIosFwd.h:23