MeVisLab Toolbox Reference
mlDRTMACParametersSequenceWrapper.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 __mlDRTMACParametersSequenceWrapper_H
26
#define __mlDRTMACParametersSequenceWrapper_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/mlDcmDRTMACParametersSequenceInterface.h
>
40
41
#endif
42
45
class
DRTMACParametersSequenceWrapper
:
public
QObject
46
{
47
Q_OBJECT
48
49
public
:
50
51
DRTMACParametersSequenceWrapper
(ML_NAMESPACE::DcmDRTMACParametersSequenceInterface*
wrappedSequence
)
52
: _wrappedSequence(
wrappedSequence
->getSequence())
53
{
54
}
55
56
DRTMACParametersSequenceWrapper
(
const
DRTMACParametersSequenceWrapper
&
toCopy
) : QObject()
57
{
58
_wrappedSequence.
setSequence
(
toCopy
.getWrappedSequence().getSequence());
59
}
60
61
DRTMACParametersSequenceWrapper
&
operator=
(
const
DRTMACParametersSequenceWrapper
&
toCopy
)
62
{
63
_wrappedSequence.
setSequence
(
toCopy
.getWrappedSequence().getSequence());
64
return
*
this
;
65
}
66
67
ml::DcmDRTMACParametersSequenceInterface
getWrappedSequence
()
const
{
return
_wrappedSequence; }
68
69
70
QString
getMACAlgorithmTag
()
const
{
return
QString
(_wrappedSequence.
getMACAlgorithmTag
().c_str()); }
71
72
QString
getMACCalculationTransferSyntaxUIDTag
()
const
{
return
QString
(_wrappedSequence.
getMACCalculationTransferSyntaxUIDTag
().c_str()); }
73
74
QString
getMACIDNumberTag
()
const
{
return
QString
(_wrappedSequence.
getMACIDNumberTag
().c_str()); }
75
76
77
78
79
public
slots
:
82
83
int
getNumberOfItems
()
const
;
84
QVariant
getItem
(
int
idx
);
85
QVariant
addItem
();
86
bool
insertItem
(
int
idx
);
87
bool
removeItem
(
int
idx
);
88
90
91
private
:
92
ml::DcmDRTMACParametersSequenceInterface
_wrappedSequence;
93
};
94
95
96
#endif
// __mlDRTMACParametersSequenceWrapper_H
DRTMACParametersSequenceWrapper
A class that wraps DRTMACParametersSequence Item for use in Python.
Definition
mlDRTMACParametersSequenceWrapper.h:46
DRTMACParametersSequenceWrapper::addItem
QVariant addItem()
DRTMACParametersSequenceWrapper::DRTMACParametersSequenceWrapper
DRTMACParametersSequenceWrapper(ml::DcmDRTMACParametersSequenceInterface *wrappedSequence)
Definition
mlDRTMACParametersSequenceWrapper.h:51
DRTMACParametersSequenceWrapper::getMACCalculationTransferSyntaxUIDTag
QString getMACCalculationTransferSyntaxUIDTag() const
Definition
mlDRTMACParametersSequenceWrapper.h:72
DRTMACParametersSequenceWrapper::operator=
DRTMACParametersSequenceWrapper & operator=(const DRTMACParametersSequenceWrapper &toCopy)
Definition
mlDRTMACParametersSequenceWrapper.h:61
DRTMACParametersSequenceWrapper::getWrappedSequence
ml::DcmDRTMACParametersSequenceInterface getWrappedSequence() const
Definition
mlDRTMACParametersSequenceWrapper.h:67
DRTMACParametersSequenceWrapper::insertItem
bool insertItem(int idx)
DRTMACParametersSequenceWrapper::removeItem
bool removeItem(int idx)
DRTMACParametersSequenceWrapper::getItem
QVariant getItem(int idx)
DRTMACParametersSequenceWrapper::getNumberOfItems
int getNumberOfItems() const
DRTMACParametersSequenceWrapper::DRTMACParametersSequenceWrapper
DRTMACParametersSequenceWrapper(const DRTMACParametersSequenceWrapper &toCopy)
Definition
mlDRTMACParametersSequenceWrapper.h:56
DRTMACParametersSequenceWrapper::getMACIDNumberTag
QString getMACIDNumberTag() const
Definition
mlDRTMACParametersSequenceWrapper.h:74
DRTMACParametersSequenceWrapper::getMACAlgorithmTag
QString getMACAlgorithmTag() const
Definition
mlDRTMACParametersSequenceWrapper.h:70
ml::DcmDRTMACParametersSequenceInterface
Class to provide access to DRTMACParametersSequence.
Definition
mlDcmDRTMACParametersSequenceInterface.h:44
ml::DcmDRTMACParametersSequenceInterface::getMACAlgorithmTag
std::string getMACAlgorithmTag() const
Definition
mlDcmDRTMACParametersSequenceInterface.h:105
ml::DcmDRTMACParametersSequenceInterface::setSequence
void setSequence(std::vector< DcmDRTMACParametersSequenceInterface::Item > dcmSequence)
Set the DRTMACParametersSequence this interface class provides access to.
Definition
mlDcmDRTMACParametersSequenceInterface.h:123
ml::DcmDRTMACParametersSequenceInterface::getMACCalculationTransferSyntaxUIDTag
std::string getMACCalculationTransferSyntaxUIDTag() const
Definition
mlDcmDRTMACParametersSequenceInterface.h:111
ml::DcmDRTMACParametersSequenceInterface::getMACIDNumberTag
std::string getMACIDNumberTag() const
Definition
mlDcmDRTMACParametersSequenceInterface.h:117
mlDcmDRTMACParametersSequenceInterface.h
Class to provide access to DRTMACParametersSequence.
mlrange_cast
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
Definition
mlRangeCasts.h:332
FMEwork
ReleaseMeVis
Sources
Wrappers
MLDcmtkIODWrappers
DcmSequenceInterfaces
mlDRTMACParametersSequenceWrapper.h
Generated by
1.10.0