VR-Forces 4.8 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 /******************************************************************************
6 ** $RCSfile: DtExtractionOperationRecord.h,v $ $Revision: 1.6 $ $State: Exp $
7 ******************************************************************************/
8 
12 
13 #ifndef DtExtractionOperationRecord_H_
14 #define DtExtractionOperationRecord_H_
15 
16 #include <makArchives/makArchives.h>
17 
18 namespace makArchives
19 {
23  {
24 
25  public:
26 
29 
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 
std::string myExpression
Definition: DtExtractionOperationRecord.h:86
A DtExtractionOperationRecord contains information about a single extraction operation.
Definition: DtExtractionOperationRecord.h:22
unsigned int myNodeCount
Definition: DtExtractionOperationRecord.h:89
Contains DLL export macros.
BOOST_CLASS_VERSION(makArchives::DtDiGuySettingsRecord, 2)
bool myRegExFlag
Definition: DtExtractionOperationRecord.h:87
#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 Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)