MaximFile.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2004 by Aidan Hotan
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 // dspsr/Kernel/Formats/maxim/dsp/MaximFile.h
10 
11 #ifndef __MaximFile_h
12 #define __MaximFile_h
13 
14 #include "dsp/File.h"
15 
16 namespace dsp {
17 
19  class MaximFile : public File
20  {
21  public:
22 
24  MaximFile (const char* filename = 0);
25 
27  ~MaximFile ();
28 
30  bool is_valid (const char *filename) const;
31 
32 
33  protected:
34 
36  void open_file (const char* filename);
37 
38 
39  private:
40 
42  char timestamp[17];
43 
44  };
45 }
46 
47 
48 #endif // __MaximFile_h
Contains all Baseband Data Reduction Library classes.
Definition: ASCIIObservation.h:17
~MaximFile()
Destructor.
Definition: MaximFile.C:26
Loads BitSeries data from file.
Definition: File.h:38
bool is_valid(const char *filename) const
Return true if filename contains data in the recognized format.
Definition: MaximFile.C:30
MaximFile(const char *filename=0)
Construct and open file.
Definition: MaximFile.C:21
void open_file(const char *filename)
Open the file.
Definition: MaximFile.C:49

Generated using doxygen 1.8.17