VR-Link API Documentation for DIS
Home
Namespaces
Classes
Files
Examples
Libraries
File List
File Members
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
85
virtual
DtAttachedPart
* createPart(
DtAttachedPart
* copy=0)
const
;
86
88
const_iterator
begin()
const
;
89
91
const_iterator
end()
const
;
92
94
void
printDataToStream(std::ostream& stream)
const
;
95
96
protected
:
97
PartMap
myPartMap
;
98
99
};
100
101
102
#endif
103
Document ID: Generated on Wed Oct 23 22:25:48 EDT 2013 from SVN revision 132765
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)