VR-Forces 4.3 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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 

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)