VR-Forces Development_Version 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
vrfobjparam
slotExclusion.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2013 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
8
10
11
#pragma once
12
13
#include "
vrfutil/readerWriter.h
"
14
#include "
vrfutil/nLengthIntegerVector.h
"
15
18
#include "
vrfobjparam/vrfobjparamDefines.h
"
19
class
DT_DLL_vrfobjparam
DtSlotExclusion
:
public
DtReaderWriter
20
{
21
public
:
22
DtSlotExclusion
(
const
DtString
& name,
23
DtReaderWriterRegistry
* parentRegistry = NULL);
24
DtSlotExclusion
(
const
DtSlotExclusion
& orig,
25
DtReaderWriterRegistry
* parentRegistry = NULL);
26
27
virtual
~
DtSlotExclusion
();
29
DtSlotExclusion
&
operator=
(
const
DtSlotExclusion
& orig);
30
33
DtNLengthIntegerVector
& ifSlotsReserved();
34
const
DtNLengthIntegerVector
& ifSlotsReserved()
const
;
35
void
setIfSlotsReserved(
const
DtNLengthIntegerVector
&);
37
40
DtNLengthIntegerVector
& excludeTheseSlots();
41
const
DtNLengthIntegerVector
& excludeTheseSlots()
const
;
42
void
setExcludeTheseSlots(
const
DtNLengthIntegerVector
&);
44
45
virtual
const
char
*
readerWriterType
()
const
;
46
48
virtual
bool
operator==
(
const
DtSlotExclusion
&)
const
;
49
virtual
bool
operator!=
(
const
DtSlotExclusion
&)
const
;
50
53
virtual
void
putData
(
DtEnvironmentSP
, DtEnvValueSP parent)
const
;
54
virtual
void
getData
(
const
DtEnvironmentSP
,
const
DtEnvValueSP value,
55
const
DtReaderWriter::SearchPaths
& searchPaths =
DtReaderWriter::SearchPaths
(),
56
const
DtVariableBindingsList
& bindings =
DtVariableBindingsList
());
57
59
static
const
char
*
theXmlType
();
60
61
virtual
const
char
*
xmlType
()
const
62
{
63
return
theXmlType
();
64
}
66
67
protected
:
71
75
DtNLengthIntegerVector
myIfSlotsReserved
;
76
77
82
DtNLengthIntegerVector
myExcludeTheseSlots
;
83
85
};
86
87
inline
void
DtSlotExclusion::setIfSlotsReserved
(
const
DtNLengthIntegerVector
& s)
88
{
89
myIfSlotsReserved
= s;
90
}
91
92
inline
DtNLengthIntegerVector
&
DtSlotExclusion::ifSlotsReserved
()
93
{
94
return
myIfSlotsReserved
;
95
}
96
97
inline
const
DtNLengthIntegerVector
&
DtSlotExclusion::ifSlotsReserved
()
const
98
{
99
return
myIfSlotsReserved
;
100
}
101
102
inline
void
DtSlotExclusion::setExcludeTheseSlots
(
const
DtNLengthIntegerVector
& s)
103
{
104
myExcludeTheseSlots
= s;
105
}
106
107
inline
DtNLengthIntegerVector
&
DtSlotExclusion::excludeTheseSlots
()
108
{
109
return
myExcludeTheseSlots
;
110
}
111
112
inline
const
DtNLengthIntegerVector
&
DtSlotExclusion::excludeTheseSlots
()
const
113
{
114
return
myExcludeTheseSlots
;
115
}
Document ID: Generated on Tue Mar 8 22:13:38 EST 2016 from SVN revision 162938
Copyright © 2005-2015 VT MÄK. All Rights Reserved (
www.mak.com
)