VersionData Class Reference

Data about the different versions of a patient. More...

#include <Types/VersionData.h>

Inheritance diagram for VersionData:
Data

List of all members.

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.

Detailed Description

Data about the different versions of a patient.


Member Function Documentation

void VersionData::addChangement ( const Changement change  ) 

add a new changement The version (m_version) will be increased

Parameters:
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).

Returns:

Implements Data.

QList< Changement > * VersionData::getChanges (  )  [inline]

Get all the changes.

Returns:
const QList< Changement > & VersionData::getChangesConst (  )  const [inline]

Get all the changes as constant.

Returns:
int VersionData::load ( const QByteArray &  data,
int  index 
) [virtual]

load some data from a QByteArray

Parameters:
data the data to load
index the where to read
Returns:
the number of bytes read

Implements Data.

int VersionData::version (  )  const [inline]

Gets the version number.

Returns:

The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations Properties
Generated on Tue Sep 13 01:46:11 2011 for MedCenter by  doxygen 1.6.3