Main Lemma Repository
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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 M. Andy Kass
  8. @date 12/28/2011
  9. @version $Id: datareadertem.h 87 2013-09-05 22:44:05Z tirons $
  10. **/
  11. #ifndef __DATAREADERTEM_H
  12. #define __DATAREADERTEM_H
  13. #include "datareader.h"
  14. #include "datatem.h"
  15. namespace Lemma {
  16. // ===================================================================
  17. // Class: DataReaderTem
  18. /// \brief
  19. /// \details
  20. // ===================================================================
  21. class DataReaderTem : DataReader {
  22. public:
  23. // ==================== LIFECYCLE =======================
  24. static DataReaderTem* New();
  25. void Delete();
  26. // ==================== OPERATORS =======================
  27. // ==================== OPERATIONS =======================
  28. /// Read in the data file
  29. void ReadData(const std::string &datafile);
  30. // ==================== ACCESS =======================
  31. /// Attach the data object
  32. void SetDataTEM(DataTEM* inputtemp);
  33. /// Output the data object
  34. DataTEM* GetData();
  35. /// Return number of gates
  36. int GetnGates();
  37. /// Return number of soundings
  38. int GetnObs();
  39. // ==================== INQUIRY =======================
  40. protected:
  41. // ==================== LIFECYCLE =======================
  42. /// Default protected constructor.
  43. DataReaderTem (const std::string &name);
  44. /// Default protected constructor.
  45. ~DataReaderTem ();
  46. void Release();
  47. // ==================== DATA MEMBERS =========================
  48. /// Input data
  49. DataTEM* InputData;
  50. private:
  51. }; // ----- end of class Datareadertem -----
  52. } // end of namespace Lemma
  53. #endif // __DATAREADERTEM_H