VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtOceanLayerRecord.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <makArchives/makArchives.h>
13 
14 #include <string>
15 
16 namespace makArchives
17 {
18 
22  {
23 
24  public:
25 
28 
31 
33  DtOceanLayerRecord& operator=(const DtOceanLayerRecord& orig);
34 
37 
39  const std::string& name() const;
40 
42  void setName(const std::string& name);
43 
45  double seaLevel() const;
46 
48  void setSeaLevel(double seaLevel);
49 
51  int lodRange() const;
52 
54  void setLodRange( int range );
55 
56  protected:
57 
58  friend class boost::serialization::access;
59 
63  template<class Archive>
64  void serialize(Archive & ar, const unsigned int version)
65  {
66  ar & BOOST_SERIALIZATION_NVP(myName);
67  ar & BOOST_SERIALIZATION_NVP(mySeaLevel);
68  ar & BOOST_SERIALIZATION_NVP(myLodRange);
69  }
70 
71  protected:
72  std::string myName;
73  double mySeaLevel;
75  };
76 }
77 
78 

Document ID: Generated on Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)