VR-Forces 4.3 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
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/vrvCore.h
>
13
#include <
vrvCore/DtElementAttribute.h
>
14
#include <
vrvCore/DtUniqueID.h
>
15
16
#include <map>
17
18
namespace
makVrv
19
{
23
class
DT_DLL_VRVCORE
DtElementEntry
24
{
25
public
:
26
friend
class
DtElementData
;
27
28
enum
ElementType
29
{
30
Unknown = 0,
31
Entity
= 1,
32
Prop
= 2,
33
TerrainPatch = 3,
34
Aggregate = 4,
35
Observer = 5,
36
Environmental= 6,
37
GraphicPoint = 7,
38
GraphicShape = 8,
39
GraphicVertex= 9,
// These are the component vertices of GraphicShapes
40
RemoteGraphic = 10,
41
TacticalGraphic= 11,
// deprecated; all tactical graphics are either GraphicShape or GraphicPoint
42
Intervisibility=12,
43
Feature
=13,
44
TacticalSmoke=14,
45
BuoyOrBeacon=15,
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 Wed Mar 11 21:20:57 EDT 2015 from SVN revision 150940
Copyright © 2005-2014 VT MÄK. All Rights Reserved (
www.mak.com
)