Fourier library: Operations in the Fourier domain
fcommand.h
Go to the documentation of this file.
1 
36 // include guard
37 #ifndef TF_FCOMMAND_H_VERSION
38 
39 #define TF_FCOMMAND_H_VERSION \
40  "TF_FCOMMAND_H V1.0 "
41 
42 #include<iostream>
43 #include<fourier/filters.h>
44 
45 namespace fourier {
46 
47  class FilterCommands: public Filter {
48  public:
49  typedef Filter Tbase;
51 
53  FilterCommands(const char* filename, const bool& verbose=false):
54  Tbase() { read(filename, verbose); }
55  FilterCommands(std::istream& is, const bool& verbose=false):
56  Tbase() { read(is, verbose); }
57 
58  static void help(std::ostream& os, const bool& verbose=false);
59  void read(std::istream& is, const bool& verbose=false);
60  void read(const char* filename, const bool& verbose=false);
61  bool command(const char* command, const bool& verbose=false);
62  }; // class FilterCommands
63 
64 } // namespace fourier
65 
66 #endif // TF_FCOMMAND_H_VERSION (includeguard)
67 
68 /* ----- END OF fcommand.h ----- */
static void help(std::ostream &os, const bool &verbose=false)
FilterCommands(std::istream &is, const bool &verbose=false)
Definition: fcommand.h:55
FilterCommands(const char *filename, const bool &verbose=false)
Definition: fcommand.h:53
Tbase::Tcvalue Tcvalue
Definition: filters.h:51
Definition: error.cc:44
Tbase::Tcvalue Tcvalue
Definition: fcommand.h:50
provides specific filters (prototypes)
bool command(const char *command, const bool &verbose=false)
Definition: fcommand.cc:107
void read(std::istream &is, const bool &verbose=false)
Definition: fcommand.cc:94