/* QtDcm is a C++ Qt based library for communication and conversion of Dicom images. Copyright (C) 2011 Alexandre Abadie This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #include #include #include class QtDcmSerie::Private { public: QString id; /** Serie dicom identificator */ QString description; /** Serie description */ QString date; /** Study date */ QList images; /** List of images in the serie */ QtDcmStudy study; /** Pointer on the parent study */ }; QtDcmSerie::QtDcmSerie() : d ( new QtDcmSerie::Private ) {} QtDcmSerie::~QtDcmSerie() { delete d; } QString QtDcmSerie::id() const { return d->id; } void QtDcmSerie::setId (const QString &id) { d->id = id; } QString QtDcmSerie::date() const { return d->date; } void QtDcmSerie::setDate (const QString &date) { d->date = date; } QString QtDcmSerie::description() const { return d->description; } void QtDcmSerie::setDescription (const QString &description) { d->description = description; } QList QtDcmSerie::images() const { return d->images; } void QtDcmSerie::setImages ( const QList & images ) { d->images = images; } QtDcmStudy QtDcmSerie::study() const { return d->study; } void QtDcmSerie::setStudy ( const QtDcmStudy & study ) { d->study = study; }