OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
BeamPixelCountRecord.h
Go to the documentation of this file.
1 //----------------------------------------------------------------------------
2 //
3 // "Copyright Centre National d'Etudes Spatiales"
4 //
5 // License: LGPL
6 //
7 // See LICENSE.txt file in the top level directory for more details.
8 //
9 //----------------------------------------------------------------------------
10 // $Id$
11 
12 #ifndef BeamPixelCountRecord_h
13 #define BeamPixelCountRecord_h
14 
15 #include <iostream>
16 
18 
19 namespace ossimplugins
20 {
26 {
27 public:
32 
37 
42 
47 
51  friend std::ostream& operator<<(std::ostream& os, const BeamPixelCountRecord& data);
52 
57 
61  std::string get_pix_update()
62  {
63  return _pix_update;
64  };
65 
69  int* get_n_pix()
70  {
71  return _n_pix;
72  };
73 protected:
74 
78  std::string _pix_update;
82  int _n_pix[4];
83 private:
84 
85 };
86 }
87 #endif
int _n_pix[4]
Count of image pixels in beams
std::string _pix_update
Pixel count update date/time.
friend std::istream & operator>>(std::istream &is, BeamPixelCountRecord &data)
This function reads a BeamPixelCountRecord from a stream.
friend std::ostream & operator<<(std::ostream &os, const BeamPixelCountRecord &data)
This function writes the BeamPixelCountRecord in a stream.
std::string get_pix_update()
Pixel count update date/time.
int * get_n_pix()
Count of image pixels in beams
std::basic_istream< char > istream
Base class for char input streams.
Definition: ossimIosFwd.h:20
BeamPixelCountRecord & operator=(const BeamPixelCountRecord &rhs)
Copy operator.
This class is able to read a Beam pixel count record.
std::basic_ostream< char > ostream
Base class for char output streams.
Definition: ossimIosFwd.h:23