Patient Class Reference
The Patient class is a container of all the Patient information. The informations are kept in a map and recognised by their category.
More...
#include <Types/Patient.h>
List of all members.
Public Member Functions |
QByteArray | data () const |
| Gets the Patient data in the form of a QByteArray (ready to be shared on the network).
|
bool | load (const QByteArray &data, int baseIndex=0) |
void | add (const QString &name, Data *pData) |
| Add some Data in this patient under the category 'name'.
|
bool | exist (const QString &name) const |
| Checks if the identifier name exist in the Patient set.
|
Data * | get (const QString &name) const |
| Gets the Data identified by name
|
QStringList | getFileFolderList () const |
int | id () const |
bool | isValid () const |
Detailed Description
The Patient class is a container of all the Patient information. The informations are kept in a map and recognised by their category.
Member Function Documentation
void Patient::add |
( |
const QString & |
name, |
|
|
Data * |
pData | |
|
) |
| | |
Add some Data in this patient under the category 'name'.
- Parameters:
-
| name | the name identifying these data |
| pData | a pointer to the Data |
QByteArray Patient::data |
( |
|
) |
const |
Gets the Patient data in the form of a QByteArray (ready to be shared on the network).
- Returns:
bool Patient::exist |
( |
const QString & |
name |
) |
const |
Checks if the identifier name exist in the Patient set.
- Parameters:
-
- Returns:
- true if it exists (and can be get)
Data * Patient::get |
( |
const QString & |
name |
) |
const |
Gets the Data identified by name
- Parameters:
-
- Returns:
- a pointer to the Data (don't desallocate this pointer)
The documentation for this class was generated from the following files:
- Sources/Types/Patient.h
- Sources/Types/Patient.cpp