VR-Forces 5.0.1 Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtVrlinkDetonationResultMapper.h
Go to the documentation of this file.
1 /*****************************************************************************
2  * Copyright (c) 2013 MAK Technologies, Inc.
3  * All rights reserved.
4  *****************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvVrl/vrvVrl.h>
13 #include <vlpi/disEnums.h>
14 
15 #include <boost/unordered_map.hpp>
16 #include <boost/unordered_set.hpp>
17 
18 #include <list>
19 #include <string>
20 
21 namespace makVrv
22 {
27  {
28  public:
31  typedef boost::unordered_set<std::string> DetonationCategorySet;
32 
33  public:
35  static const std::string theObjectDetonationResultCategory;
37  static const std::string theGroundDetonationResultCategory;
38  static const std::string theAirDetonationResultCategory;
39  static const std::string theWaterDetonationResultCategory;
40  static const std::string theGenericDetonationResultCategory;
41  static const std::string theDirtBlastDetonationResultCategory;
42  static const std::string theBuildingDetonationResultCategory;
43  static const std::string theUnusedDetonationResultCategory;
45 
48 
51 
54  virtual void setDefaultMappings();
55 
59  virtual void addMapping( DtDetonationResult detonationResult,
60  const std::string& detonationCategory );
61 
65  virtual void removeMapping( DtDetonationResult detonationResult );
66 
69  virtual const std::string& detonationCategory(
70  DtDetonationResult detonationResult ) const;
73  virtual const DetonationCategorySet& detonationCategories() const;
74 
75  protected:
76  typedef boost::unordered_map<DtDetonationResult, std::string>
78 
81  };
82 }
#define DT_DLL_VRVVRL
Definition: vrvVrl.h:19
Contains DLL export macros.

Document ID: Generated on Mon Jun 20 00:38:30 EDT 2022 from SVN revision 244029
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)