MeVisLab Toolbox Reference
mlDRTBeamLimitingDeviceLeafPairsSequenceWrapper.h
Go to the documentation of this file.
1
// Copyright (c) Fraunhofer MEVIS, Germany. All rights reserved.
2
// **InsertLicense** code
3
//----------------------------------------------------------------------------------
4
//
5
// NOTE:
6
// This file has been generated automatically by
7
// FMEwork/ReleaseMeVis/Configuration/CodeGenerators/dcmtkToMLConverter/convertDcmtkToML.py
8
// using the template file
9
// FMEwork/ReleaseMeVis/Configuration/CodeGenerators/dcmtkToMLConverter/MLDcmtkIODWrappers/templates/DcmSequenceWrapper.h
10
//
11
// Destination project:
12
// FMEwork/ReleaseMeVis/Sources/Wrappers/MLDcmtkIODWrappers/DcmSequenceInterfaces
13
//
14
//----------------------------------------------------------------------------------
16
22
//----------------------------------------------------------------------------------
23
24
25
#ifndef __mlDRTBeamLimitingDeviceLeafPairsSequenceWrapper_H
26
#define __mlDRTBeamLimitingDeviceLeafPairsSequenceWrapper_H
27
28
#ifndef Q_MOC_RUN
29
30
#include <FMEThirdPartyWarningsDisable.h>
31
#include <QObject>
32
#include <QVariant>
33
#include <QVariantMap>
34
#include <QList>
35
#include <QStringList>
36
#include <FMEThirdPartyWarningsRestore.h>
37
38
// MLDcmtkAccessories includes
39
#include <
DcmSequenceInterfaces/mlDcmDRTBeamLimitingDeviceLeafPairsSequenceInterface.h
>
40
41
#endif
42
45
class
DRTBeamLimitingDeviceLeafPairsSequenceWrapper
:
public
QObject
46
{
47
Q_OBJECT
48
49
public
:
50
51
DRTBeamLimitingDeviceLeafPairsSequenceWrapper
(ML_NAMESPACE::DcmDRTBeamLimitingDeviceLeafPairsSequenceInterface*
wrappedSequence
)
52
: _wrappedSequence(
wrappedSequence
->getSequence())
53
{
54
}
55
56
DRTBeamLimitingDeviceLeafPairsSequenceWrapper
(
const
DRTBeamLimitingDeviceLeafPairsSequenceWrapper
&
toCopy
) : QObject()
57
{
58
_wrappedSequence.
setSequence
(
toCopy
.getWrappedSequence().getSequence());
59
}
60
61
DRTBeamLimitingDeviceLeafPairsSequenceWrapper
&
operator=
(
const
DRTBeamLimitingDeviceLeafPairsSequenceWrapper
&
toCopy
)
62
{
63
_wrappedSequence.
setSequence
(
toCopy
.getWrappedSequence().getSequence());
64
return
*
this
;
65
}
66
67
ml::DcmDRTBeamLimitingDeviceLeafPairsSequenceInterface
getWrappedSequence
()
const
{
return
_wrappedSequence; }
68
69
70
QString
getNumberOfLeafJawPairsTag
()
const
{
return
QString
(_wrappedSequence.
getNumberOfLeafJawPairsTag
().c_str()); }
71
72
QString
getRTBeamLimitingDeviceTypeTag
()
const
{
return
QString
(_wrappedSequence.
getRTBeamLimitingDeviceTypeTag
().c_str()); }
73
74
75
76
77
public
slots
:
80
81
int
getNumberOfItems
()
const
;
82
QVariant
getItem
(
int
idx
);
83
QVariant
addItem
();
84
bool
insertItem
(
int
idx
);
85
bool
removeItem
(
int
idx
);
86
88
89
private
:
90
ml::DcmDRTBeamLimitingDeviceLeafPairsSequenceInterface
_wrappedSequence;
91
};
92
93
94
#endif
// __mlDRTBeamLimitingDeviceLeafPairsSequenceWrapper_H
DRTBeamLimitingDeviceLeafPairsSequenceWrapper
A class that wraps DRTBeamLimitingDeviceLeafPairsSequence Item for use in Python.
Definition
mlDRTBeamLimitingDeviceLeafPairsSequenceWrapper.h:46
DRTBeamLimitingDeviceLeafPairsSequenceWrapper::getWrappedSequence
ml::DcmDRTBeamLimitingDeviceLeafPairsSequenceInterface getWrappedSequence() const
Definition
mlDRTBeamLimitingDeviceLeafPairsSequenceWrapper.h:67
DRTBeamLimitingDeviceLeafPairsSequenceWrapper::getNumberOfLeafJawPairsTag
QString getNumberOfLeafJawPairsTag() const
Definition
mlDRTBeamLimitingDeviceLeafPairsSequenceWrapper.h:70
DRTBeamLimitingDeviceLeafPairsSequenceWrapper::getRTBeamLimitingDeviceTypeTag
QString getRTBeamLimitingDeviceTypeTag() const
Definition
mlDRTBeamLimitingDeviceLeafPairsSequenceWrapper.h:72
DRTBeamLimitingDeviceLeafPairsSequenceWrapper::DRTBeamLimitingDeviceLeafPairsSequenceWrapper
DRTBeamLimitingDeviceLeafPairsSequenceWrapper(ml::DcmDRTBeamLimitingDeviceLeafPairsSequenceInterface *wrappedSequence)
Definition
mlDRTBeamLimitingDeviceLeafPairsSequenceWrapper.h:51
DRTBeamLimitingDeviceLeafPairsSequenceWrapper::operator=
DRTBeamLimitingDeviceLeafPairsSequenceWrapper & operator=(const DRTBeamLimitingDeviceLeafPairsSequenceWrapper &toCopy)
Definition
mlDRTBeamLimitingDeviceLeafPairsSequenceWrapper.h:61
DRTBeamLimitingDeviceLeafPairsSequenceWrapper::getNumberOfItems
int getNumberOfItems() const
DRTBeamLimitingDeviceLeafPairsSequenceWrapper::addItem
QVariant addItem()
DRTBeamLimitingDeviceLeafPairsSequenceWrapper::removeItem
bool removeItem(int idx)
DRTBeamLimitingDeviceLeafPairsSequenceWrapper::getItem
QVariant getItem(int idx)
DRTBeamLimitingDeviceLeafPairsSequenceWrapper::insertItem
bool insertItem(int idx)
DRTBeamLimitingDeviceLeafPairsSequenceWrapper::DRTBeamLimitingDeviceLeafPairsSequenceWrapper
DRTBeamLimitingDeviceLeafPairsSequenceWrapper(const DRTBeamLimitingDeviceLeafPairsSequenceWrapper &toCopy)
Definition
mlDRTBeamLimitingDeviceLeafPairsSequenceWrapper.h:56
ml::DcmDRTBeamLimitingDeviceLeafPairsSequenceInterface
Class to provide access to DRTBeamLimitingDeviceLeafPairsSequence.
Definition
mlDcmDRTBeamLimitingDeviceLeafPairsSequenceInterface.h:44
ml::DcmDRTBeamLimitingDeviceLeafPairsSequenceInterface::getRTBeamLimitingDeviceTypeTag
std::string getRTBeamLimitingDeviceTypeTag() const
Definition
mlDcmDRTBeamLimitingDeviceLeafPairsSequenceInterface.h:106
ml::DcmDRTBeamLimitingDeviceLeafPairsSequenceInterface::setSequence
void setSequence(std::vector< DcmDRTBeamLimitingDeviceLeafPairsSequenceInterface::Item > dcmSequence)
Set the DRTBeamLimitingDeviceLeafPairsSequence this interface class provides access to.
Definition
mlDcmDRTBeamLimitingDeviceLeafPairsSequenceInterface.h:112
ml::DcmDRTBeamLimitingDeviceLeafPairsSequenceInterface::getNumberOfLeafJawPairsTag
std::string getNumberOfLeafJawPairsTag() const
Definition
mlDcmDRTBeamLimitingDeviceLeafPairsSequenceInterface.h:100
mlDcmDRTBeamLimitingDeviceLeafPairsSequenceInterface.h
Class to provide access to DRTBeamLimitingDeviceLeafPairsSequence.
mlrange_cast
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
Definition
mlRangeCasts.h:332
FMEwork
ReleaseMeVis
Sources
Wrappers
MLDcmtkIODWrappers
DcmSequenceInterfaces
mlDRTBeamLimitingDeviceLeafPairsSequenceWrapper.h
Generated by
1.10.0