VR-Forces 4.7 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
vrvCore
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
12
#include <
vrvCore/DtElementAttribute.h
>
13
#include <
vrvCore/DtUniqueID.h
>
14
15
#include <map>
16
17
namespace
makVrv
18
{
22
class
DT_DLL_VRVCORE
DtElementEntry
23
{
24
public
:
25
friend
class
DtElementData
;
26
27
enum
ElementType
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
:
74
DtElementEntry
();
75
78
DtElementEntry
(
const
DtElementEntry
& );
79
82
DtElementEntry
& operator=(
const
DtElementEntry
& );
83
84
protected
:
85
typedef
std::map<short,DtElementAttribute*>
AttributeMap
;
86
DtElementID
myId
;
87
DtElementID
myParentId
;
88
ObjectType
myType
;
89
AttributeMap
myAttributes
;
90
};
91
}
92
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
)