|
| FiffIO () |
|
| ~FiffIO () |
|
| FiffIO (QIODevice &pIODevice) |
|
| FiffIO (QList< QIODevice * > &p_qlistIODevices) |
|
| FiffIO (const FiffIO &p_FiffIO) |
|
bool | read (QIODevice &pIODevice) |
|
bool | read (QList< QIODevice > &p_qlistIODevices) |
|
bool | write (QIODevice &pIODevice, const fiff_int_t type, const fiff_int_t idx) const |
|
bool | write (QFile &p_QFile, const fiff_int_t type, const fiff_int_t idx) const |
|
bool | write_raw (QIODevice &pIODevice, const fiff_int_t idx) const |
|
Definition at line 80 of file fiff_io.h.
◆ FiffIO() [1/4]
◆ ~FiffIO()
◆ FiffIO() [2/4]
FiffIO::FiffIO |
( |
QIODevice & |
pIODevice | ) |
|
Constructs a FiffIO object by reading from a I/O device pIODevice.
- Parameters
-
[in] | pIODevice | A fiff IO device like a fiff QFile or QTCPSocket. |
Definition at line 73 of file fiff_io.cpp.
◆ FiffIO() [3/4]
FiffIO::FiffIO |
( |
QList< QIODevice * > & |
p_qlistIODevices | ) |
|
Constructs a FiffIO object that uses the I/O device pIODevice.
- Parameters
-
[in] | p_qlistIODevices | A QList of fiff IO devices like a fiff QFile or QTCPSocket. |
Definition at line 81 of file fiff_io.cpp.
◆ FiffIO() [4/4]
FIFFLIB::FiffIO::FiffIO |
( |
const FiffIO & |
p_FiffIO | ) |
|
Copy constructor.
- Parameters
-
[in] | p_FiffIO | FiffIO, which should be copied. |
◆ read() [1/2]
bool FiffIO::read |
( |
QIODevice & |
pIODevice | ) |
|
Read data from a pIODevice.
- Parameters
-
[in] | pIODevice | A fiff IO device like a fiff QFile or QTCPSocket. |
Definition at line 113 of file fiff_io.cpp.
◆ read() [2/2]
bool FIFFLIB::FiffIO::read |
( |
QList< QIODevice > & |
p_qlistIODevices | ) |
|
Read data from a QList of pIODevices.
- Parameters
-
[in] | p_qlistIODevices | A QList of fiff IO devices like a fiff QFile or QTCPSocket. |
◆ setup_read()
Setup a FiffStream
- Parameters
-
[in] | pIODevice | An fiff IO device like a fiff QFile or QTCPSocket. |
[in] | info | Overall info for fiff IO device. |
[out] | dirTree | Node directory structure. |
- Returns
- true if succeeded, false otherwise.
Definition at line 91 of file fiff_io.cpp.
◆ write() [1/2]
bool FiffIO::write |
( |
QFile & |
p_QFile, |
|
|
const fiff_int_t |
type, |
|
|
const fiff_int_t |
idx |
|
) |
| const |
Write whole data of a type to a fiff file.
- Parameters
-
[in] | p_QFile | filename including the path but not the type, e.g. ./sample_date/sample_audvis.fif -> will be extended to ./sample_date/sample_audvis-type-1.fif. |
[in] | type | of data to write fiff constants types, e.g. FIFFB_RAW_DATA. |
[in] | idx | index of type, -1 for all entities of this type. |
Definition at line 201 of file fiff_io.cpp.
◆ write() [2/2]
bool FiffIO::write |
( |
QIODevice & |
pIODevice, |
|
|
const fiff_int_t |
type, |
|
|
const fiff_int_t |
idx |
|
) |
| const |
Write data to a single pIODevice.
- Parameters
-
[in] | pIODevice | A fiff IO device like a fiff QFile or QTCPSocket. |
[in] | type | of data to write fiff constants types, e.g. FIFFB_RAW_DATA. |
[in] | idx | index of type, -1 for all entities of this type. |
Definition at line 183 of file fiff_io.cpp.
◆ write_raw()
bool FiffIO::write_raw |
( |
QIODevice & |
pIODevice, |
|
|
const fiff_int_t |
idx |
|
) |
| const |
Write raw data to a pIODevice.
- Parameters
-
[in] | pIODevice | A fiff IO device like a fiff QFile or QTCPSocket. |
[in] | idx | index of type, -1 for all entities of this type. |
Definition at line 240 of file fiff_io.cpp.
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
const FiffIO & |
p_fiffIO |
|
) |
| |
|
friend |
Overloading ostream for printing member infos
- Parameters
-
[in] | p_fiffIO | the fiffIO, whose members shall be printed. |
Definition at line 202 of file fiff_io.h.
The documentation for this class was generated from the following files: