Main Lemma Repository
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

Data.cpp 827B

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---\n"; // End of doc --- as a direct stream should encapulste thingy
  15. return stream;
  16. }
  17. Data::Data( ) : LemmaObject( ) {
  18. }
  19. Data::Data( const YAML::Node& node ) : LemmaObject( node ) {
  20. }
  21. Data::~Data() {
  22. }
  23. } // ----- end of Lemma name -----