source: trunk/src/Cubes/WriteReconArray.hh @ 1121

Last change on this file since 1121 was 1120, checked in by MatthewWhiting, 12 years ago

Ticket #170, #105 - The bulk of the work allowing this to happen. Have implemented different classes for each of the output types, including the baselines (which required new parameters etc.) Not yet implemented in mainDuchamp, so needs testing.

File size: 718 bytes
Line 
1#ifndef DUCHAMP_WRITE_RECON_ARRAY_HH_
2#define DUCHAMP_WRITE_RECON_ARRAY_HH_
3
4#include <duchamp/duchamp.hh>
5#include <duchamp/Cubes/WriteArray.hh>
6#include <duchamp/Cubes/cubes.hh>
7
8namespace duchamp {
9
10  class WriteReconArray : public WriteArray
11  {
12  public:
13    WriteReconArray();
14    WriteReconArray(Cube *cube);
15    WriteReconArray(const WriteReconArray& other);
16    WriteReconArray(const WriteArray& base);
17    WriteReconArray& operator= (const WriteReconArray& other);
18    WriteReconArray& operator= (const WriteArray& other);
19    virtual ~WriteReconArray(){};
20
21    void setIsRecon(bool b){itsIsRecon = b;};
22
23    OUTCOME writeHeader();
24    OUTCOME writeData();
25
26  protected:
27    bool itsIsRecon;
28  };
29
30}
31
32#endif
Note: See TracBrowser for help on using the repository browser.