VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtTerrainOperationRecord.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2013 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
6 
10 
11 #pragma once
12 
13 #include <makArchives/makArchives.h>
14 
15 namespace makArchives
16 {
20  {
21 
22  public:
23 
24  enum OperationType { NoOp, Add };
25  enum InputType { NoInput, Patch, FeatureLayer, OceanLayer, Generic };
30  VisualizationAndSimulation
31  };
32 
35 
38 
40  DtTerrainOperationRecord& operator=(const DtTerrainOperationRecord& orig);
41 
44 
46  bool operator==(const DtTerrainOperationRecord& record) const;
47 
49  void setOperationType(OperationType opType);
50 
52  OperationType operationType() const;
53 
55  void setInputType(InputType inType);
56 
58  InputType inputType() const;
59 
61  void setTargetApplication(TargetApplication targetApplication);
62 
64  TargetApplication targetApplication() const;
65 
67  void setIndex(int index);
68 
70  int index() const;
71 
72  protected:
73 
74 
75  friend class boost::serialization::access;
76 
80  template<class Archive>
81  void serialize(Archive & ar, const unsigned int version)
82  {
83  ar & BOOST_SERIALIZATION_NVP(myOperationType);
84  ar & BOOST_SERIALIZATION_NVP(myInputType);
85  if (version > 0)
86  {
87  ar & BOOST_SERIALIZATION_NVP(myTargetApplication);
88  }
89 
90  ar & BOOST_SERIALIZATION_NVP(myIndex);
91  }
92 
93 
94  protected:
95 
99  int myIndex;
100 
101 
102  };
103 }
104 
106 
107 

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)