SigProcOutputFile.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2011 by Willem van Straten
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 // dspsr/Kernel/Formats/sigproc/dsp/SigProcOutputFile.h
10 
11 
12 #ifndef __SigProcOutputFile_h
13 #define __SigProcOutputFile_h
14 
15 #include "dsp/OutputFile.h"
16 
17 namespace dsp {
18 
20  class SigProcOutputFile : public OutputFile
21  {
22  public:
23 
25  SigProcOutputFile (const char* filename=0);
26 
27  protected:
28 
30  void write_header ();
31 
33  std::string get_extension () const;
34 
35  };
36 
37 }
38 
39 #endif // !defined(__SigProcOutputFile_h)
40 
void write_header()
Write the file header to the open file.
Definition: SigProcOutputFile.C:34
Parses Observation attributes from a SigProc header.
Definition: SigProcObservation.h:24
Contains all Baseband Data Reduction Library classes.
Definition: ASCIIObservation.h:17
void unload(FILE *header)
Write a SigProc header block.
Definition: SigProcObservation.C:230
virtual void copy(const Observation *obs)
Same as operator= but takes a pointer.
Definition: Observation.h:57
Pure virtual base class of all objects that can unload BitSeries data.
Definition: OutputFile.h:30
std::string output_filename
The name of the output file.
Definition: OutputFile.h:59
SigProcOutputFile(const char *filename=0)
Construct and open file.
Definition: SigProcOutputFile.C:20
std::string get_extension() const
Get the extension to be added to the end of new filenames.
Definition: SigProcOutputFile.C:29

Generated using doxygen 1.8.17