VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
vrfTerrainPropRecord.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2008 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 /******************************************************************************
6 ** $RCSfile: DtVrfTerrainPropRecord.h,v $ $Revision: 1.1.2.1 $ $State: Exp $
7 ******************************************************************************/
8 
11 
13 
14 #pragma once
15 
17 #include <vrfGuiCore/vrfGuiCore.h>
18 
19 namespace makVrf
20 {
24  {
25  public:
26 
29 
32 
34  DtVrfTerrainPropRecord& operator=(const DtVrfTerrainPropRecord& orig);
35 
38 
40  const std::string& categoryName() const;
42  void setCategoryName(const std::string& str);
44 
46  const std::string& categoryPrefix() const;
48  void setCategoryPrefix(const std::string& str);
50 
51  bool trimPrefix() const;
52  void setTrimPrefix(bool v);
53 
54  protected:
55 
56  friend class boost::serialization::access;
57 
61  template<class Archive>
62  void serialize(Archive & ar, const unsigned int version)
63  {
64  ar & BOOST_SERIALIZATION_NVP(myCategoryName);
65  ar & BOOST_SERIALIZATION_NVP(myCategoryPrefix);
66  ar & BOOST_SERIALIZATION_NVP(myTrimPrefix);
67  }
68 
69  protected:
70 
71  std::string myCategoryName;
72  std::string myCategoryPrefix;
74  };
75 }
std::string myCategoryPrefix
Definition: vrfTerrainPropRecord.h:72
bool myTrimPrefix
Definition: vrfTerrainPropRecord.h:73
std::string myCategoryName
Definition: vrfTerrainPropRecord.h:71
Contains DLL export macros.
#define DT_DLL_VRFGUICORE
Contains DLL export macros.
Definition: vrfGuiCore.h:25
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: vrfTerrainPropRecord.h:62
A record holding information about a prop category presented in the prop placement palette...
Definition: vrfTerrainPropRecord.h:23

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)