VR-Forces Development_Version Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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  UserStart = 128,
46  //All is not a type, it is a wild card used for searches.
47  All = ~0
48  };
49 
50  typedef unsigned int ObjectType;
51 
53  DtElementEntry(DtElementID id, DtUniqueID parentId, ObjectType type);
54 
56  ~DtElementEntry();
57 
59  DtElementID elementID() const;
60 
62  DtElementID parentID() const;
63 
65  ObjectType type() const;
66 
68  const DtElementAttribute* findAttribute(short attributeId) const;
69 
70  private:
74 
78 
81  DtElementEntry& operator=( const DtElementEntry& );
82 
83  protected:
84  typedef std::map<short,DtElementAttribute*> AttributeMap;
89  };
90 }
91 

Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (www.mak.com)