VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
detonationResultParam.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2018 MaK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
11 #include <readerWriter/rwString.h>
13 
16 {
17 public:
20 
23  parentRegistry = NULL);
24 
26  parentRegistry = NULL);
27 
30  DtReaderWriterRegistry* parentRegistry = NULL);
31 
33  DtReaderWriterRegistry* parentRegistry = NULL);
34 
37 
39  virtual ~DtDetonationResultParam();
40 
41  virtual DtDetonationResultParam* clone(const DtString& name,
42  DtReaderWriterRegistry* parentRegistry = NULL) const;
43 
44  virtual DtDetonationResultParam* clone(const DtSymbolString& name,
45  DtReaderWriterRegistry* parentRegistry = NULL) const;
46 
49  virtual int detonationResult() const;
50  virtual void setDetonationResult(int r);
52 
54  bool operator==(const DtDetonationResultParam& rhs) const;
55  bool operator!=(const DtDetonationResultParam& rhs) const
56  {
57  return !(*this == rhs);
58  }
59 
61  static std::map<DtString, unsigned>& detonationResultMapping();
62 
63 protected:
64 
68 
74 
76 
79  mutable unsigned myDetonationResult;
81 };
82 

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)