MeVisLab Toolbox Reference
mlDRTRTRelatedROISequenceWrapper.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 __mlDRTRTRelatedROISequenceWrapper_H
26
#define __mlDRTRTRelatedROISequenceWrapper_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/mlDcmDRTRTRelatedROISequenceInterface.h
>
40
41
#endif
42
45
class
DRTRTRelatedROISequenceWrapper
:
public
QObject
46
{
47
Q_OBJECT
48
49
public
:
50
51
DRTRTRelatedROISequenceWrapper
(ML_NAMESPACE::DcmDRTRTRelatedROISequenceInterface* wrappedSequence)
52
: _wrappedSequence(wrappedSequence->getSequence())
53
{
54
}
55
56
DRTRTRelatedROISequenceWrapper
(
const
DRTRTRelatedROISequenceWrapper
& toCopy) : QObject()
57
{
58
_wrappedSequence.
setSequence
(toCopy.
getWrappedSequence
().
getSequence
());
59
}
60
61
DRTRTRelatedROISequenceWrapper
&
operator=
(
const
DRTRTRelatedROISequenceWrapper
&toCopy)
62
{
63
_wrappedSequence.
setSequence
(toCopy.
getWrappedSequence
().
getSequence
());
64
return
*
this
;
65
}
66
67
ml::DcmDRTRTRelatedROISequenceInterface
getWrappedSequence
()
const
{
return
_wrappedSequence; }
68
69
70
QString
getRTROIRelationshipTag
()
const
{
return
QString(_wrappedSequence.
getRTROIRelationshipTag
().c_str()); }
71
72
QString
getReferencedROINumberTag
()
const
{
return
QString(_wrappedSequence.
getReferencedROINumberTag
().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::DcmDRTRTRelatedROISequenceInterface
_wrappedSequence;
91
};
92
93
94
#endif
// __mlDRTRTRelatedROISequenceWrapper_H
DRTRTRelatedROISequenceWrapper
A class that wraps DRTRTRelatedROISequence Item for use in Python.
Definition
mlDRTRTRelatedROISequenceWrapper.h:46
DRTRTRelatedROISequenceWrapper::DRTRTRelatedROISequenceWrapper
DRTRTRelatedROISequenceWrapper(ml::DcmDRTRTRelatedROISequenceInterface *wrappedSequence)
Definition
mlDRTRTRelatedROISequenceWrapper.h:51
DRTRTRelatedROISequenceWrapper::removeItem
bool removeItem(int idx)
DRTRTRelatedROISequenceWrapper::getRTROIRelationshipTag
QString getRTROIRelationshipTag() const
Definition
mlDRTRTRelatedROISequenceWrapper.h:70
DRTRTRelatedROISequenceWrapper::DRTRTRelatedROISequenceWrapper
DRTRTRelatedROISequenceWrapper(const DRTRTRelatedROISequenceWrapper &toCopy)
Definition
mlDRTRTRelatedROISequenceWrapper.h:56
DRTRTRelatedROISequenceWrapper::operator=
DRTRTRelatedROISequenceWrapper & operator=(const DRTRTRelatedROISequenceWrapper &toCopy)
Definition
mlDRTRTRelatedROISequenceWrapper.h:61
DRTRTRelatedROISequenceWrapper::getReferencedROINumberTag
QString getReferencedROINumberTag() const
Definition
mlDRTRTRelatedROISequenceWrapper.h:72
DRTRTRelatedROISequenceWrapper::getWrappedSequence
ml::DcmDRTRTRelatedROISequenceInterface getWrappedSequence() const
Definition
mlDRTRTRelatedROISequenceWrapper.h:67
DRTRTRelatedROISequenceWrapper::insertItem
bool insertItem(int idx)
DRTRTRelatedROISequenceWrapper::addItem
QVariant addItem()
DRTRTRelatedROISequenceWrapper::getNumberOfItems
int getNumberOfItems() const
DRTRTRelatedROISequenceWrapper::getItem
QVariant getItem(int idx)
ml::DcmDRTRTRelatedROISequenceInterface
Class to provide access to DRTRTRelatedROISequence.
Definition
mlDcmDRTRTRelatedROISequenceInterface.h:44
ml::DcmDRTRTRelatedROISequenceInterface::getRTROIRelationshipTag
std::string getRTROIRelationshipTag() const
Definition
mlDcmDRTRTRelatedROISequenceInterface.h:100
ml::DcmDRTRTRelatedROISequenceInterface::getReferencedROINumberTag
std::string getReferencedROINumberTag() const
Definition
mlDcmDRTRTRelatedROISequenceInterface.h:106
ml::DcmDRTRTRelatedROISequenceInterface::getSequence
std::vector< DcmDRTRTRelatedROISequenceInterface::Item > getSequence() const
Return the DRTRTRelatedROISequence this interface class provides access to.
Definition
mlDcmDRTRTRelatedROISequenceInterface.h:118
ml::DcmDRTRTRelatedROISequenceInterface::setSequence
void setSequence(std::vector< DcmDRTRTRelatedROISequenceInterface::Item > dcmSequence)
Set the DRTRTRelatedROISequence this interface class provides access to.
Definition
mlDcmDRTRTRelatedROISequenceInterface.h:112
mlDcmDRTRTRelatedROISequenceInterface.h
Class to provide access to DRTRTRelatedROISequence.
FMEwork
ReleaseMeVis
Sources
Wrappers
MLDcmtkIODWrappers
DcmSequenceInterfaces
mlDRTRTRelatedROISequenceWrapper.h
Generated by
1.9.8