ISMRMRD
ISMRM Raw Data Format
|
Serialization functions for ISMRMRD data structures. More...
#include <exception>
#include <iostream>
#include "ismrmrd/export.h"
#include "ismrmrd/ismrmrd.h"
#include "ismrmrd/waveform.h"
#include "ismrmrd/xml.h"
Go to the source code of this file.
Classes | |
class | ISMRMRD::ReadableStreamView |
class | ISMRMRD::WritableStreamView |
struct | ISMRMRD::ConfigFile |
struct | ISMRMRD::ConfigText |
struct | ISMRMRD::TextMessage |
class | ISMRMRD::ProtocolStreamClosed |
class | ISMRMRD::ProtocolSerializer |
class | ISMRMRD::ProtocolDeserializer |
Functions | |
EXPORTISMRMRD void | ISMRMRD::serialize (const Acquisition &acq, WritableStreamView &ws) |
template<typename T > | |
EXPORTISMRMRD void | ISMRMRD::serialize (const Image< T > &img, WritableStreamView &ws) |
EXPORTISMRMRD void | ISMRMRD::serialize (const Waveform &wfm, WritableStreamView &ws) |
EXPORTISMRMRD void | ISMRMRD::serialize (const ConfigFile &cfg, WritableStreamView &ws) |
EXPORTISMRMRD void | ISMRMRD::serialize (const std::string &str, WritableStreamView &ws) |
template<typename T > | |
EXPORTISMRMRD void | ISMRMRD::serialize (const NDArray< T > &arr, WritableStreamView &ws) |
EXPORTISMRMRD void | ISMRMRD::deserialize (Acquisition &acq, ReadableStreamView &rs) |
template<typename T > | |
EXPORTISMRMRD void | ISMRMRD::deserialize (Image< T > &img, ReadableStreamView &rs) |
EXPORTISMRMRD void | ISMRMRD::deserialize (Waveform &wfm, ReadableStreamView &rs) |
EXPORTISMRMRD void | ISMRMRD::deserialize (ConfigFile &cfg, ReadableStreamView &rs) |
EXPORTISMRMRD void | ISMRMRD::deserialize (std::string &str, ReadableStreamView &rs) |
template<typename T > | |
EXPORTISMRMRD void | ISMRMRD::deserialize (NDArray< T > &arr, ReadableStreamView &rs) |
Serialization functions for ISMRMRD data structures.
This file contains functions for serializing and deserializing ISMRMRD data The standalone function that serialize to and deserialize from a stream will serrialize the data structures without adding "message id" identifiers. The ProtocolSerializer and ProtocolDeserializer classes are used to to create streams that include the message id in front of each message.