VR-Link API Documentation for HLA 1.3
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
include
vlpi
attachedPartCollection.h
Go to the documentation of this file.
1
/*********************************************************************
2
** Copyright (c) 1992-2010 VT MAK
3
** All rights reserved.
4
*********************************************************************/
5
10
11
#ifndef attachedPartCollection_H_
12
#define attachedPartCollection_H_
13
14
#include <
vlutil/vlMachineTypes.h
>
15
#include <map>
16
#include <ostream>
17
18
class
DtAttachedPart
;
19
24
class
DT_DLL_VLPROTIND
DtAttachedPartCollection
25
{
26
public
:
27
typedef
std::map<int, DtAttachedPart*>
PartMap
;
28
typedef
PartMap::const_iterator
const_iterator
;
29
30
32
DtAttachedPartCollection
();
33
35
DtAttachedPartCollection
(
const
DtAttachedPartCollection
& orig);
36
38
DtAttachedPartCollection
& operator=(
const
DtAttachedPartCollection
& orig);
39
41
virtual
~
DtAttachedPartCollection
();
42
44
45
46
47
48
bool
operator==
(
const
DtAttachedPartCollection
& other)
const
;
49
bool
operator!=
(
const
DtAttachedPartCollection
& other)
const
;
51
54
virtual
DtAttachedPart
& getPart(
int
station);
55
57
58
59
60
61
62
63
virtual
DtAttachedPart
* findPart(
int
station);
64
virtual
const
DtAttachedPart
* findPart(
int
station)
const
;
66
69
virtual
void
removeAllParts();
70
75
virtual
void
removePart(
int
station);
76
78
virtual
unsigned
int
partCount()
const
;
79
88
virtual
DtAttachedPart
* createPart(
DtAttachedPart
* copy=0)
const
;
89
91
const_iterator
begin()
const
;
92
94
const_iterator
end()
const
;
95
97
void
printDataToStream(std::ostream& stream)
const
;
98
99
protected
:
100
PartMap
myPartMap
;
101
102
};
103
104
105
#endif
106
Document ID: Generated on Fri Dec 2 02:42:08 EST 2016 from SVN revision 171416
Copyright © 2005-2016 VT MÄK. All Rights Reserved (
www.mak.com
)