VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtExtractionOperationRecord.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2007 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #ifndef DtExtractionOperationRecord_H_
11 #define DtExtractionOperationRecord_H_
12 
13 #include <makArchives/makArchives.h>
14 
15 namespace makArchives
16 {
20  {
21 
22  public:
23 
26 
29 
30  bool operator==(const DtExtractionOperationRecord& orig) const;
31  bool operator!=(const DtExtractionOperationRecord& orig) const;
32 
35 
38 
40  void setExpression(const std::string& expression);
41 
43  const std::string& expression() const;
44 
46  void setExpressionIsRegEx(bool isRegEx);
47 
49  bool expressionIsRegEx() const;
50 
52  void setKey(const std::string& key);
53 
55  const std::string& key() const;
56 
58  void setCount( unsigned int count);
59 
61  unsigned int count() const;
62 
63  protected:
64 
65  friend class boost::serialization::access;
66 
70  template<class Archive>
71  void serialize(Archive & ar, const unsigned int version)
72  {
73  ar & BOOST_SERIALIZATION_NVP(myExpression);
74 
75  if(version >= 1)
76  {
77  ar & BOOST_SERIALIZATION_NVP(myRegExFlag);
78  }
79 
80  ar & BOOST_SERIALIZATION_NVP(myKey);
81  ar & BOOST_SERIALIZATION_NVP(myNodeCount);
82  }
83 
84  protected:
85 
86  std::string myExpression;
88  std::string myKey;
89  unsigned int myNodeCount;
90 
91 
92  };
93 }
94 
96 
97 #endif
98 
BOOST_CLASS_VERSION(makArchives::DtDiGuySettingsRecord, 3)
std::string myExpression
Definition: DtExtractionOperationRecord.h:86
A DtExtractionOperationRecord contains information about a single extraction operation.
Definition: DtExtractionOperationRecord.h:19
unsigned int myNodeCount
Definition: DtExtractionOperationRecord.h:89
DT_DLL_terrainCS bool operator==(const DtDegMinSec &lhs, const DtDegMinSec &rhs)
Contains DLL export macros.
bool myRegExFlag
Definition: DtExtractionOperationRecord.h:87
DT_DLL_terrainCS bool operator!=(const DtDegMinSec &lhs, const DtDegMinSec &rhs)
#define DT_DLL_MAKARCHIVES
Definition: makArchives.h:31
void serialize(Archive &ar, const unsigned int version)
When the class Archive corresponds to an output archive, the &amp; operator is defined similar to &lt;&lt;...
Definition: DtExtractionOperationRecord.h:71
std::string myKey
Definition: DtExtractionOperationRecord.h:88

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)