This is the base class to manage informations about Reader or Writer Plugins.
More...
#include <AwReadWriteLib.h>
This is the base class to manage informations about Reader or Writer Plugins.
This class is used by reader and writer plugins to store low level information. This class contains the list of data blocks of a file and some attributes related to patient and manufacturer.
- See also
- AwBlock | AwDataInfoReader | AwDataInfoWriter
AwBlockList& AwDataInfo::blocks |
( |
| ) |
|
|
inline |
Returns the number of data blocks in the file.
AwChannelList& AwDataInfo::channels |
( |
| ) |
|
|
inline |
Returns the list of channels present in the file.
qint32 AwDataInfo::channelsCount |
( |
| ) |
|
|
inline |
Returns the number of channels present in the file.
QString& AwDataInfo::fileName |
( |
| ) |
|
|
inline |
Returns the full path to the current open data file.
bool AwDataInfo::isEpoched |
( |
| ) |
|
|
inline |
Returns true if the file contains more than one block. The file is then considered as Epoched.
QString& AwDataInfo::manufacturer |
( |
| ) |
|
|
inline |
Get the name of the manufacturer. It could be an empty string.
Adds a new block and returns the pointer to the newly created object.
QString& AwDataInfo::patientName |
( |
| ) |
|
|
inline |
Gets the patient's name. It could be an empty string.
QString& AwDataInfo::recordingDate |
( |
| ) |
|
|
inline |
Gets the recording date. It could be an empty string.
QString& AwDataInfo::recordingTime |
( |
| ) |
|
|
inline |
Gets the recording time. It could be an empty string.
void AwDataInfo::setDate |
( |
const QString & |
date | ) |
|
|
inline |
void AwDataInfo::setFileName |
( |
const QString & |
name | ) |
|
|
inline |
Sets the full path to data file.
void AwDataInfo::setManufacturer |
( |
const QString & |
man | ) |
|
|
inline |
Sets the manufacturer name.
void AwDataInfo::setPatientName |
( |
const QString & |
name | ) |
|
|
inline |
void AwDataInfo::setTime |
( |
const QString & |
time | ) |
|
|
inline |
float AwDataInfo::totalDuration |
( |
| ) |
|
Returns the total duration in seconds for the whole file. This is calculated by adding the duration of all blocks present in the file
quint32 AwDataInfo::totalSamples |
( |
| ) |
|
Returns the total number of samples for the whole file.
The documentation for this class was generated from the following files: