VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtModelDefinitionRecord.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtModelDefinitionRecord.h,v $ $Revision: 1.8 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #ifndef DtModelDefinitionRecord_H_
14 #define DtModelDefinitionRecord_H_
15 
17 #include <string>
18 
19 namespace makArchives
20 {
25  {
26 
27  public:
28 
31 
34 
36  DtModelDefinitionRecord& operator=(const DtModelDefinitionRecord& orig);
37 
40 
42  const std::string& name() const;
43 
45  const std::string& schema() const;
46 
48  const std::string& filename() const;
49 
51  const std::string& coordinateSystem() const;
52 
54  const std::string& coordinateSystemParameters() const;
55 
57  bool flipDds() const;
58 
60  void setName(const std::string& name);
61 
63  void setSchema(const std::string& schema);
64 
66  void setFilename(const std::string& name);
67 
69  void setCoordinateSystem(const std::string& cs);
70 
73  void setCoordinateSystemParameters(const std::string& csp);
74 
76  void setFlipDds(bool flip_dds);
77 
78  protected:
79 
80  friend class boost::serialization::access;
81 
85  template<class Archive>
86  void serialize(Archive & ar, const unsigned int version)
87  {
88  ar & BOOST_SERIALIZATION_NVP(myName);
89  ar & BOOST_SERIALIZATION_NVP(myFilename);
90  ar & BOOST_SERIALIZATION_NVP(mySchema);
91  ar & BOOST_SERIALIZATION_NVP(myCoordinateSystem);
92  ar & BOOST_SERIALIZATION_NVP(myCoordinateSystemParameters);
93 
94  if (version >= 1)
95  {
96  ar & BOOST_SERIALIZATION_NVP(myFlipDds);
97  }
98  }
99 
100 
101  protected:
102 
103  std::string myName;
104  std::string myFilename;
105  std::string mySchema;
106  std::string myCoordinateSystem;
108  bool myFlipDds;
109  };
110 }
111 
113 
114 #endif

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)