Main Lemma Repository
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

Data.cpp 695B

12345678910111213141516171819202122232425262728293031
  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 03/01/2010
  9. @version $Id: data.cpp 193 2014-11-10 23:51:41Z tirons $
  10. **/
  11. #include "Data.h"
  12. namespace Lemma {
  13. std::ostream &operator<<(std::ostream &stream,
  14. const Data &ob) {
  15. stream << *(LemmaObject*)(&ob);
  16. return stream;
  17. }
  18. Data::Data(const std::string &name) : LemmaObject(name) {
  19. }
  20. Data::~Data() {
  21. }
  22. } // ----- end of Lemma name -----