Lemma is an Electromagnetics API
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Filter.h 2.0KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. /* This file is part of Lemma, a geophysical modelling and inversion API */
  2. /* This Source Code Form is subject to the terms of the Mozilla Public
  3. * License, v. 2.0. If a copy of the MPL was not distributed with this
  4. * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
  5. /**
  6. @file
  7. @author Trevor Irons
  8. @date 07/20/2010
  9. @version $Id: filter.h 193 2014-11-10 23:51:41Z tirons $
  10. **/
  11. #include "LemmaObject.h"
  12. namespace Lemma {
  13. // ===================================================================
  14. // Class: Filter
  15. /**
  16. @class Filter
  17. \brief Abstract class for filtering.
  18. \details Derived classes include fourier domain and time domain filters.
  19. */
  20. // ===================================================================
  21. class Filter : public LemmaObject {
  22. public:
  23. // ==================== LIFECYCLE =======================
  24. // ==================== OPERATORS =======================
  25. // ==================== OPERATIONS =======================
  26. // ==================== ACCESS =======================
  27. // ==================== INQUIRY =======================
  28. /** Returns the name of the underlying class, similiar to Python's type */
  29. virtual inline std::string GetName() const {
  30. return this->CName;
  31. }
  32. protected:
  33. // ==================== LIFECYCLE =======================
  34. /// Default protected constructor.
  35. Filter ( );
  36. /// Default protected constructor.
  37. ~Filter ();
  38. // ==================== DATA MEMBERS =========================
  39. private:
  40. /** ASCII string representation of the class name */
  41. static constexpr auto CName = "Filter";
  42. }; // ----- end of class Filter -----
  43. } // ----- end of Lemma name -----
  44. /* vim: set tabstop=4 expandtab: */
  45. /* vim: set filetype=cpp: */