Main Lemma Repository
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.

Data.cpp 810B

123456789101112131415161718192021222324252627282930313233
  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, const Data &ob) {
  14. stream << ob.Serialize() << "\n";
  15. return stream;
  16. }
  17. Data::Data( const ctor_key& key ) : LemmaObject( key ) {
  18. }
  19. Data::Data( const YAML::Node& node, const ctor_key& key ) : LemmaObject( node, key ) {
  20. }
  21. Data::~Data() {
  22. }
  23. } // ----- end of Lemma name -----