DeleteInterpreter.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2014 by Willem van Straten and Fabian Jankowski
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 // psrchive/More/General/Pulsar/DeleteInterpreter.h
10 
11 #ifndef __Pulsar_DeleteInterpreter_h
12 #define __Pulsar_DeleteInterpreter_h
13 
14 #include "Pulsar/InterpreterExtension.h"
15 #include "Pulsar/Config.h"
16 #include <vector>
17 
18 namespace Pulsar {
19 
20  class DeleteInterpreter : public Interpreter::Extension {
21 
22  public:
23 
25  DeleteInterpreter ();
26 
28  ~DeleteInterpreter ();
29 
31  std::string chan (const std::string& args);
32 
34  std::string subint (const std::string& args);
35 
37  std::string edge (const std::string& args);
38 
40  std::string freq (const std::string& args);
41 
43  std::string cal (const std::string& args);
44 
46  std::string bin (const std::string& args);
47 
49  std::string empty ();
50 
51  protected:
52 
53  void delete_channels (std::vector<unsigned>& channels);
54 
55  static Option<bool> adjust_metadata_while_deleting_channels;
56  };
57 
58 }
59 
60 #endif
Warning warning
Warning messages filter.
Definition: Pulsar.C:12
Type * get() const
static void delete_hdu(fitsfile *, const char *hdu_name)
Delete the HDU with the specified name.
Definition: delete_hdu.C:19
Defines the PSRCHIVE library.
Definition: CalSource.h:17

Generated using doxygen 1.8.17