|
| FiffIO () |
|
| ~FiffIO () |
|
| FiffIO (QIODevice &p_IODevice) |
|
| FiffIO (QList< QIODevice * > &p_qlistIODevices) |
|
| FiffIO (const FiffIO &p_FiffIO) |
|
bool | read (QIODevice &p_IODevice) |
|
bool | read (QList< QIODevice > &p_qlistIODevices) |
|
bool | write (QIODevice &p_IODevice, 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 &p_IODevice, const fiff_int_t idx) const |
|
Definition at line 81 of file fiff_io.h.
FiffIO::FiffIO |
( |
QIODevice & |
p_IODevice | ) |
|
Constructs a FiffIO object by reading from a I/O device p_IODevice.
- Parameters
-
[in] | p_IODevice | A fiff IO device like a fiff QFile or QTCPSocket |
Definition at line 72 of file fiff_io.cpp.
FiffIO::FiffIO |
( |
QList< QIODevice * > & |
p_qlistIODevices | ) |
|
Constructs a FiffIO object that uses the I/O device p_IODevice.
- Parameters
-
[in] | p_qlistIODevices | A QList of fiff IO devices like a fiff QFile or QTCPSocket |
Definition at line 80 of file fiff_io.cpp.
FIFFLIB::FiffIO::FiffIO |
( |
const FiffIO & |
p_FiffIO | ) |
|
Copy constructor.
- Parameters
-
[in] | p_FiffIO | FiffIO, which should be copied |
bool FiffIO::read |
( |
QIODevice & |
p_IODevice | ) |
|
Read data from a p_IODevice.
- Parameters
-
[in] | p_IODevice | A fiff IO device like a fiff QFile or QTCPSocket |
Definition at line 111 of file fiff_io.cpp.
bool FIFFLIB::FiffIO::read |
( |
QList< QIODevice > & |
p_qlistIODevices | ) |
|
Read data from a QList of p_IODevices.
- Parameters
-
[in] | p_qlistIODevices | A QList of fiff IO devices like a fiff QFile or QTCPSocket |
Setup a FiffStream
- Parameters
-
[in] | p_IODevice | An fiff IO device like a fiff QFile or QTCPSocket |
[in] | info | Overall info for fiff IO device |
[out] | Tree | Directory tree structure |
[out] | dirTree | Node directory structure |
- Returns
- true if succeeded, false otherwise
Definition at line 90 of file fiff_io.cpp.
bool FiffIO::write |
( |
QIODevice & |
p_IODevice, |
|
|
const fiff_int_t |
type, |
|
|
const fiff_int_t |
idx |
|
) |
| const |
Write data to a single p_IODevice.
- Parameters
-
[in] | p_IODevice | 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 169 of file fiff_io.cpp.
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] | filename | 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 186 of file fiff_io.cpp.
bool FiffIO::write_raw |
( |
QIODevice & |
p_IODevice, |
|
|
const fiff_int_t |
idx |
|
) |
| const |
Write raw data to a p_IODevice.
- Parameters
-
[in] | p_IODevice | 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 224 of file fiff_io.cpp.
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 200 of file fiff_io.h.
The documentation for this class was generated from the following files:
- D:/Users/Christoph/GitHub/mne-cpp/MNE/fiff/fiff_io.h
- D:/Users/Christoph/GitHub/mne-cpp/MNE/fiff/fiff_io.cpp