List of all members | Classes | Public Member Functions
QtDcmPatient Class Reference

This class is a representation of a dicom patient. More...

#include <QtDcmPatient.h>

Classes

class  Private
 

Public Member Functions

 QtDcmPatient ()
 Default constructor. More...
 
virtual ~QtDcmPatient ()
 Default destructor. More...
 
QString id () const
 Id getter. More...
 
void setId (const QString &id)
 Id setter. More...
 
QString name () const
 Patient name getter. More...
 
void setName (const QString &name)
 Patient name setter. More...
 
QString birthdate () const
 Patient birthdate getter. More...
 
void setBirthdate (const QString &birthdate)
 Patient birthdate setter. More...
 
QString gender () const
 Patient sex getter. More...
 
void setGender (const QString &sex)
 Patient sex setter. More...
 
QList< QtDcmStudystudies () const
 Patient studies list getter. More...
 
void setStudies (const QList< QtDcmStudy > &studies)
 Patient studies list setter. More...
 
void addStudy (const QtDcmStudy &study)
 Add study in the list. More...
 
void removeStudy (int index)
 Remove study at position index. More...
 

Detailed Description

This class is a representation of a dicom patient.

Definition at line 31 of file QtDcmPatient.h.

Constructor & Destructor Documentation

QtDcmPatient::QtDcmPatient ( )

Default constructor.

Definition at line 37 of file QtDcmPatient.cpp.

QtDcmPatient::~QtDcmPatient ( )
virtual

Default destructor.

Definition at line 40 of file QtDcmPatient.cpp.

Member Function Documentation

QString QtDcmPatient::id ( ) const

Id getter.

Returns
_id a QString

Definition at line 45 of file QtDcmPatient.cpp.

void QtDcmPatient::setId ( const QString &  id)

Id setter.

Parameters
ida QString

Definition at line 50 of file QtDcmPatient.cpp.

QString QtDcmPatient::name ( ) const

Patient name getter.

Returns
_name a QString

Definition at line 55 of file QtDcmPatient.cpp.

void QtDcmPatient::setName ( const QString &  name)

Patient name setter.

Parameters
namea QString

Definition at line 60 of file QtDcmPatient.cpp.

QString QtDcmPatient::birthdate ( ) const

Patient birthdate getter.

Returns
_birthdate

Definition at line 65 of file QtDcmPatient.cpp.

void QtDcmPatient::setBirthdate ( const QString &  birthdate)

Patient birthdate setter.

Parameters
birthdate

Definition at line 70 of file QtDcmPatient.cpp.

QString QtDcmPatient::gender ( ) const

Patient sex getter.

Returns
_sex a QString

Definition at line 75 of file QtDcmPatient.cpp.

void QtDcmPatient::setGender ( const QString &  sex)

Patient sex setter.

Parameters
sexa QString

Definition at line 80 of file QtDcmPatient.cpp.

QList< QtDcmStudy > QtDcmPatient::studies ( ) const

Patient studies list getter.

Returns
_studies a QList of studies
See also
QtDcmStudy

Definition at line 85 of file QtDcmPatient.cpp.

void QtDcmPatient::setStudies ( const QList< QtDcmStudy > &  studies)

Patient studies list setter.

Parameters
studiesa QList of studies
See also
QtDcmStudy

Definition at line 90 of file QtDcmPatient.cpp.

void QtDcmPatient::addStudy ( const QtDcmStudy study)

Add study in the list.

Definition at line 95 of file QtDcmPatient.cpp.

void QtDcmPatient::removeStudy ( int  index)

Remove study at position index.

Definition at line 100 of file QtDcmPatient.cpp.


The documentation for this class was generated from the following files: