Study Class Reference
[MR Parameters (odinpara library)]

Study information. More...

#include <study.h>

Inheritance diagram for Study:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 Study (const STD_string &label="unnamedStudy")
 Study (const Study &s)
Studyset_DateTime (const STD_string &date, const STD_string &time)
void get_DateTime (STD_string &date, STD_string &time) const
void set_timestamp ()
Studyset_Patient (const STD_string &id, const STD_string &full_name, const STD_string &birth_date, char sex, float weight)
void get_Patient (STD_string &id, STD_string &full_name, STD_string &birth_date, char &sex, float &weight) const
Studyset_Context (const STD_string &description, const STD_string &scientist)
void get_Context (STD_string &description, STD_string &scientist) const
Studyset_Series (const STD_string &description, int number)
void get_Series (STD_string &description, int &number) const
Studyoperator= (const Study &s)


Detailed Description

Study information.

This class is used to hold study information

Definition at line 39 of file study.h.


Constructor & Destructor Documentation

Study::Study ( const STD_string &  label = "unnamedStudy"  ) 

Constructs a Study object with the given label

Study::Study ( const Study s  ) 

Constructs a copy of 'sp'


Member Function Documentation

Study& Study::set_DateTime ( const STD_string &  date,
const STD_string &  time 
)

Specifies the date/time of the scan: -date: date in DICOM format, i.e yyyymmdd -time: date in DICOM format, i.e hhmmss

void Study::get_DateTime ( STD_string &  date,
STD_string &  time 
) const

Returns the date/time of the scan in the reference parameters, see set_DateTime() for their description

void Study::set_timestamp (  ) 

Set date/time of the scan to the current date/time

Study& Study::set_Patient ( const STD_string &  id,
const STD_string &  full_name,
const STD_string &  birth_date,
char  sex,
float  weight 
)

Specifies the patient information: -id: The unique ID of the patient -full_name: Patients full name -birth_date: Patients date of birth in DICOM format, i.e yyyymmdd -sex: Patients sex (M,F,O) -weight: Patients weight [kg]

void Study::get_Patient ( STD_string &  id,
STD_string &  full_name,
STD_string &  birth_date,
char &  sex,
float &  weight 
) const

Returns the patient information in the reference parameters, see set_Patient() for their description

Study& Study::set_Context ( const STD_string &  description,
const STD_string &  scientist 
)

Specifies the study context: -description: Study description -scientist: Scientists name

void Study::get_Context ( STD_string &  description,
STD_string &  scientist 
) const

Returns the study context in the reference parameters, see set_Context() for their description

Study& Study::set_Series ( const STD_string &  description,
int  number 
)

Specifies the series context: -description: Series description -number: Series number

void Study::get_Series ( STD_string &  description,
int &  number 
) const

Returns the series context in the reference parameters, see set_Series() for their description

Study& Study::operator= ( const Study s  ) 

Assignment operator


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

Generated on Wed Sep 30 15:33:28 2009 by  doxygen 1.5.6