Public Member Functions | List of all members

Study information. More...

#include <study.h>

Inheritance diagram for Study:
Inheritance graph

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, float size)
void get_Patient (STD_string &id, STD_string &full_name, STD_string &birth_date, char &sex, float &weight, float &size) 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)
- Public Member Functions inherited from LDRblock
 LDRblock (const STD_string &title="Parameter List")
 LDRblock (const LDRblock &block)
 ~LDRblock ()
LDRblockoperator= (const LDRblock &block)
LDRblockmerge (LDRblock &block, bool onlyUserPars=true)
LDRblockunmerge (LDRblock &block)
STD_string printval (const STD_string &parameterName, bool append_unit=false) const
bool parseval (const STD_string &parameterName, const STD_string &value)
int parseblock (const STD_string &source, const LDRserBase &serializer=LDRserJDX())
unsigned int numof_pars () const
LDRbaseget_parameter (const STD_string &ldrlabel)
bool parameter_exists (const STD_string &ldrlabel) const
LDRblockset_prefix (const STD_string &prefix)
LDRblockset_embedded (bool embedded)
bool is_embedded () const
LDRbaseoperator[] (unsigned int i)
const LDRbaseoperator[] (unsigned int i) const
LDRbaseget_parameter_by_id (int id)
LDRblockcreate_copy (const LDRblock &src)
LDRblockappend_copy (const LDRbase &src)
LDRblockcopy_ldr_vals (const LDRblock &src)
bool operator== (const LDRblock &rhs) const
bool operator< (const LDRblock &rhs) const
bool compare (const LDRblock &rhs, const STD_list< STD_string > *exclude=0, double accuracy=0.0) const
STD_string print (const LDRserBase &serializer=LDRserJDX()) const
LDRbaseset_parmode (parameterMode parameter_mode)
LDRbaseset_filemode (fileMode file_mode)
STD_string get_parx_code (parxCodeType type) const
STD_ostream & print2stream (STD_ostream &os, const LDRserBase &serializer) const
bool parsevalstring (const STD_string &, const LDRserBase *ser=0)
bool parse (STD_string &parstring, const LDRserBase &serializer)
STD_string printvalstring (const LDRserBase *ser=0) const
LDRbasecreate_copy () const
STD_string get_typeInfo (bool parx_equivtype=false) const
int load (const STD_string &filename, const LDRserBase &serializer=LDRserJDX())
int write (const STD_string &filename, const LDRserBase &serializer=LDRserJDX()) const
- Public Member Functions inherited from LDRbase
virtual double get_minval () const
virtual double get_maxval () const
bool has_minmax () const
const STD_string & get_description () const
LDRbaseset_description (const STD_string &descr)
virtual svector get_alternatives () const
const STD_string & get_unit () const
LDRbaseset_unit (const STD_string &un)
virtual parameterMode get_parmode () const
virtual fileMode get_filemode () const
virtual GuiProps get_gui_props () const
virtual LDRbaseset_gui_props (const GuiProps &)
JcampDxProps get_jdx_props () const
LDRbaseset_jdx_props (const JcampDxProps &jp)
- Public Member Functions inherited from Labeled
 Labeled (const STD_string &label="unnamed")
Labeledset_label (const STD_string &label)
const STD_string & get_label () const
Labeledoperator= (const Labeled &l)
- Public Member Functions inherited from List< I, P, R >
 List ()
 ~List ()
Listoperator= (const List &l)
Listclear ()
Listappend (R item)
Listremove (R item)
unsigned int size () const
iter get_begin ()
iter get_end ()
constiter get_const_begin () const
constiter get_const_end () const

Additional Inherited Members

- Public Types inherited from List< I, P, R >
typedef STD_list< P >::iterator iter
typedef STD_list< P >::const_iterator constiter
- Protected Member Functions inherited from LDRblock
LDRblockappend_member (LDRbase &ldr, const STD_string ldrlabel="")

Detailed Description

Study information.

This class is used to hold study information

Definition at line 39 of file study.h.

Constructor & Destructor Documentation

§ Study() [1/2]

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

Constructs a Study object with the given label

§ Study() [2/2]

Study::Study ( const Study s)

Constructs a copy of 'sp'

Member Function Documentation

§ get_Context()

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

§ get_DateTime()

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

§ get_Patient()

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

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

§ get_Series()

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

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

§ operator=()

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

Assignment operator

§ set_Context()

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

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

§ set_DateTime()

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

§ set_Patient()

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

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] -size: Patients size/height [mm]

§ set_Series()

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

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

§ set_timestamp()

void Study::set_timestamp ( )

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

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