VR-Forces 4.6.1 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtElementEntry.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2014 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
13 #include <vrvCore/DtUniqueID.h>
14 
15 #include <map>
16 
17 namespace makVrv
18 {
23  {
24  public:
25  friend class DtElementData;
26 
28  {
29  Unknown = 0,
30  Entity = 1,
31  Prop = 2,
32  TerrainPatch = 3,
33  Aggregate = 4,
34  Observer = 5,
35  Environmental= 6,
36  GraphicPoint = 7,
37  GraphicShape = 8,
38  GraphicVertex= 9, // These are the component vertices of GraphicShapes
39  RemoteGraphic = 10,
40  TacticalGraphic= 11, // deprecated; all tactical graphics are either GraphicShape or GraphicPoint
41  Intervisibility=12,
42  Feature=13,
43  TacticalSmoke=14,
44  BuoyOrBeacon=15,
45  DynamicTerrain=16,
46  UserStart = 128,
47  //All is not a type, it is a wild card used for searches.
48  All = ~0
49  };
50 
51  typedef unsigned int ObjectType;
52 
54  DtElementEntry(DtElementID id, DtUniqueID parentId, ObjectType type);
55 
57  ~DtElementEntry();
58 
60  DtElementID elementID() const;
61 
63  DtElementID parentID() const;
64 
66  ObjectType type() const;
67 
69  const DtElementAttribute* findAttribute(short attributeId) const;
70 
71  private:
75 
79 
82  DtElementEntry& operator=( const DtElementEntry& );
83 
84  protected:
85  typedef std::map<short,DtElementAttribute*> AttributeMap;
90  };
91 }
92 

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)