12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- /* This file is part of Lemma, a geophysical modelling and inversion API */
-
- /* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-
- /**
- @file
- @author Trevor Irons
- @date 03/01/2010
- @version $Id: datareader.h 193 2014-11-10 23:51:41Z tirons $
- **/
-
- #ifndef DATAREADER_H_INC
- #define DATAREADER_H_INC
-
- #include "LemmaObject.h"
- #include "data.h"
-
- namespace Lemma {
-
- // ===================================================================
- // Class: DataReader
- /// \brief Abstract class whose derived members read data files and
- /// converts them to Data Classes
- /// \details
- // ===================================================================
- class DataReader : public LemmaObject {
-
- friend std::ostream &operator<<(std::ostream &stream,
- const DataReader &ob);
-
- public:
-
- // ==================== LIFECYCLE =======================
-
- // ==================== OPERATORS =======================
-
- // ==================== OPERATIONS =======================
-
- // ==================== ACCESS =======================
- virtual Data* GetData()=0;
-
- // ==================== INQUIRY =======================
-
- protected:
-
- // ==================== LIFECYCLE =======================
-
- /// Default protected constructor.
- DataReader (const std::string &name);
-
- /// Default protected constructor.
- ~DataReader ();
-
- // ==================== DATA MEMBERS =========================
-
- private:
-
- }; // ----- end of class DataReader -----
-
- } // ----- end of Lemma name -----
-
- #endif // ----- #ifndef DATAREADER_H_INC -----
-
- /* vim: set tabstop=4 expandtab: */
- /* vim: set filetype=cpp: */
|