OpenASIP  2.0
MifImageWriter.hh
Go to the documentation of this file.
1 /**
2  * @file MifImageWriter.hh
3  *
4  * Declaration of MifImageWriter class
5  *
6  * @author Otto Esko 2009 (otto.esko-no.spam-tut.fi)
7  * @note rating: red
8  */
9 
10 #ifndef TTA_MIF_IMAGE_WRITER_HH
11 #define TTA_MIF_IMAGE_WRITER_HH
12 
13 #include "AsciiImageWriter.hh"
14 
15 class BitVector;
16 
18 public:
20  virtual ~MifImageWriter();
21 
22  virtual void writeImage(std::ostream& stream) const;
23 
24 private:
25  void writeHeader(std::ostream& stream) const;
26 };
27 
28 #endif
AsciiImageWriter.hh
BitVector
Definition: BitVector.hh:44
AsciiImageWriter::rowLength
int rowLength() const
Definition: AsciiImageWriter.cc:112
MifImageWriter
Definition: MifImageWriter.hh:17
MifImageWriter::MifImageWriter
MifImageWriter(const BitVector &bits, int rowLength)
Definition: MifImageWriter.cc:38
MifImageWriter::writeHeader
void writeHeader(std::ostream &stream) const
Definition: MifImageWriter.cc:88
MifImageWriter::writeImage
virtual void writeImage(std::ostream &stream) const
Definition: MifImageWriter.cc:53
AsciiImageWriter::bits
const BitVector & bits() const
Definition: AsciiImageWriter.cc:101
AsciiImageWriter
Definition: AsciiImageWriter.hh:45
MifImageWriter::~MifImageWriter
virtual ~MifImageWriter()
Definition: MifImageWriter.cc:45