Data about the different versions of a patient. More...
#include <Types/VersionData.h>
Public Member Functions | |
QByteArray | data () const |
Gets the data in the form of a QByteArray (ready to be shared on the network). | |
int | load (const QByteArray &data, int index) |
load some data from a QByteArray | |
void | addChangement (const Changement &change) |
add a new changement The version (m_version) will be increased | |
int | version () const |
Gets the version number. | |
const QList< Changement > & | getChangesConst () const |
Get all the changes as constant. | |
QList< Changement > * | getChanges () |
Get all the changes. |
Data about the different versions of a patient.
void VersionData::addChangement | ( | const Changement & | change | ) |
add a new changement The version (m_version) will be increased
change | the changement information |
QByteArray VersionData::data | ( | ) | const [virtual] |
Gets the data in the form of a QByteArray (ready to be shared on the network).
Implements Data.
QList< Changement > * VersionData::getChanges | ( | ) | [inline] |
Get all the changes.
const QList< Changement > & VersionData::getChangesConst | ( | ) | const [inline] |
Get all the changes as constant.
int VersionData::load | ( | const QByteArray & | data, | |
int | index | |||
) | [virtual] |
load some data from a QByteArray
data | the data to load | |
index | the where to read |
Implements Data.
int VersionData::version | ( | ) | const [inline] |
Gets the version number.