AwReadWrite
Read Write Library for AnyWave
|
Defines class to manage file information for reader's plug-ins. More...
#include <AwReadWriteLib.h>
Public Member Functions | |
int | indexOfChannel (const QString &name) |
AwChannel * | addChannel (AwChannel *channel) |
AwChannel * | addChannel (AwChannel &channel) |
void | changeChannelName (const QString &oldName, const QString &newName) |
Public Member Functions inherited from AwDataInfo | |
AwBlockList & | blocks () |
AwChannelList & | channels () |
qint32 | channelsCount () |
QString & | patientName () |
QString & | recordingDate () |
QString & | recordingTime () |
QString & | manufacturer () |
AwBlock * | newBlock () |
float | totalDuration () |
quint32 | totalSamples () |
bool | isEpoched () |
QString & | fileName () |
void | setFileName (const QString &name) |
void | setManufacturer (const QString &man) |
void | setTime (const QString &time) |
void | setDate (const QString &date) |
void | setPatientName (const QString &name) |
Defines class to manage file information for reader's plug-ins.
Inherited from AwDataInfo.
AwChannel * AwDataInfoReader::addChannel | ( | AwChannel * | channel | ) |
Adds a new channel as As Recorded channel. The As Recorded channels are the channels found in the data file.
The channel is duplicated and then inserted in the current list of As Recorded channels for the file. Remember to delete the channel passed as parameter after the insertion is complete.
AwChannel * AwDataInfoReader::addChannel | ( | AwChannel & | channel | ) |
Adds a new channel as As Recorded channel. The As Recorded channels are the channels found in the data file.
The channel is duplicated and then inserted in the current list of As Recorded channels for the file. Remember to delete the channel passed as parameter after the insertion is complete.
void AwDataInfoReader::changeChannelName | ( | const QString & | oldName, |
const QString & | newName | ||
) |
Allows to change the name of a previously inserted channel. This will do nothing if the channel does not exist.
int AwDataInfoReader::indexOfChannel | ( | const QString & | name | ) |
Returns the index of a channel in the file base on the channel's name. If the channel is not found, returns -1