VR-Forces 4.1.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrfobjparam
slotExclusion.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2005 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: slotExclusion.h,v $ $Revision: 1.5 $ $State: Exp $
7
*******************************************************************************/
8
11
13
14
#ifndef DtSlotExclusion_H_
15
#define DtSlotExclusion_H_
16
17
#include "
vrfutil/rdrWritr.h
"
18
#include "
vrfutil/nLenIntVec.h
"
19
22
#include "
vrfobjparam/vrfobjparamDefines.h
"
23
class
DT_DLL_vrfobjparam
DtSlotExclusion
:
public
DtReaderWriter
24
{
25
public
:
26
DtSlotExclusion
(
const
DtString
& name,
27
DtReaderWriterRegistry
* parentRegistry = NULL);
28
DtSlotExclusion
(
const
DtSlotExclusion
& orig,
29
DtReaderWriterRegistry
* parentRegistry = NULL);
30
31
virtual
~
DtSlotExclusion
();
33
DtSlotExclusion
&
operator=
(
const
DtSlotExclusion
& orig);
34
37
DtNLengthIntegerVector
& ifSlotsReserved();
38
const
DtNLengthIntegerVector
& ifSlotsReserved()
const
;
39
void
setIfSlotsReserved(
const
DtNLengthIntegerVector
&);
41
44
DtNLengthIntegerVector
& excludeTheseSlots();
45
const
DtNLengthIntegerVector
& excludeTheseSlots()
const
;
46
void
setExcludeTheseSlots(
const
DtNLengthIntegerVector
&);
48
49
virtual
const
char
*
readerWriterType
()
const
;
50
52
virtual
bool
operator==
(
const
DtSlotExclusion
&)
const
;
53
virtual
bool
operator!=
(
const
DtSlotExclusion
&)
const
;
54
55
protected
:
59
63
DtNLengthIntegerVector
myIfSlotsReserved
;
64
65
70
DtNLengthIntegerVector
myExcludeTheseSlots
;
71
73
};
74
75
inline
void
DtSlotExclusion::setIfSlotsReserved
(
const
DtNLengthIntegerVector
& s)
76
{
77
myIfSlotsReserved
= s;
78
}
79
80
inline
DtNLengthIntegerVector
&
DtSlotExclusion::ifSlotsReserved
()
81
{
82
return
myIfSlotsReserved
;
83
}
84
85
inline
const
DtNLengthIntegerVector
&
DtSlotExclusion::ifSlotsReserved
()
const
86
{
87
return
myIfSlotsReserved
;
88
}
89
90
inline
void
DtSlotExclusion::setExcludeTheseSlots
(
const
DtNLengthIntegerVector
& s)
91
{
92
myExcludeTheseSlots
= s;
93
}
94
95
inline
DtNLengthIntegerVector
&
DtSlotExclusion::excludeTheseSlots
()
96
{
97
return
myExcludeTheseSlots
;
98
}
99
100
inline
const
DtNLengthIntegerVector
&
DtSlotExclusion::excludeTheseSlots
()
const
101
{
102
return
myExcludeTheseSlots
;
103
}
104
105
#endif
Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (
www.mak.com
)