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

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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. \ingroup LemmaCore
  18. \brief Abstract class for filtering.
  19. \details Derived classes include fourier domain and time domain filters.
  20. */
  21. // ===================================================================
  22. class Filter : public LemmaObject {
  23. public:
  24. // ==================== LIFECYCLE =======================
  25. // ==================== OPERATORS =======================
  26. // ==================== OPERATIONS =======================
  27. // ==================== ACCESS =======================
  28. // ==================== INQUIRY =======================
  29. /** Returns the name of the underlying class, similiar to Python's type */
  30. virtual inline std::string GetName() const {
  31. return this->CName;
  32. }
  33. protected:
  34. // ==================== LIFECYCLE =======================
  35. /// Default protected constructor.
  36. Filter ( );
  37. /// Default protected constructor.
  38. ~Filter ();
  39. // ==================== DATA MEMBERS =========================
  40. private:
  41. /** ASCII string representation of the class name */
  42. static constexpr auto CName = "Filter";
  43. }; // ----- end of class Filter -----
  44. } // ----- end of Lemma name -----
  45. /* vim: set tabstop=4 expandtab: */
  46. /* vim: set filetype=cpp: */