VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
rwContaminationArea.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 2013 MaK Technologies, Inc.
3 ** All rights reserved.
4 *********************************************************************/
5 
8 
9 #pragma once
10 
11 #include "vrfutil/vrfutilDefines.h"
12 #include "vrfutil/rwString.h"
13 #include "vrfutil/rwInt.h"
14 
21 
23 {
24 public:
25 
28 
30  DtRwContaminationArea(const DtString& name, DtReaderWriterRegistry* const parentRegistry = NULL);
31 
33  virtual ~DtRwContaminationArea();
34 
36  DtRwContaminationArea(const DtString& name,
37  const DtRwContaminationArea& orig,
38  DtReaderWriterRegistry* const parentRegistry = NULL);
39 
42 
43  virtual void setAgentType(const DtString&);
44  virtual const DtString& agentType() const;
45 
46  virtual void setTerrainType(const DtString&);
47  virtual const DtString& terrainType() const;
48 
49  virtual void setTopographyType(const DtString&);
50  virtual const DtString& topographyType() const;
51 
52  virtual void setVegetationType(const DtString&);
53  virtual const DtString& vegetationType() const;
54 
58  virtual const char* readerWriterType() const;
59 
61  static const char* theXmlType();
62 
63  virtual const char* xmlType() const
64  {
65  return theXmlType();
66  }
67 
69  bool operator==(const DtRwContaminationArea&) const;
70  bool operator!=(const DtRwContaminationArea& rhs) const { return !(*this == rhs); };
71 
72 protected:
73  DtRwString myAgentType;
77 };
78 
79 namespace DtBufferSerialize
80 {
82  DT_DLL_vrfutil char *encode(const DtRwContaminationArea& val, char *buffer);
83  DT_DLL_vrfutil const char *decode(DtRwContaminationArea &val, const char *buffer) ;
84 }

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)