|
libpappsomspp
Library for mass spectrometry
|
#include <cborstreamwriter.h>
Public Member Functions | |
| CborStreamWriter (QByteArray *data) | |
| CborStreamWriter (QIODevice *device) | |
| virtual | ~CborStreamWriter () |
| const QString & | getUuid () const |
| void | writeInformations (const QString &software_name, const QString &software_version, const QString &type, const QString &operation) |
| void | writeCborMap (const QCborMap &cbor_map) |
| void | writeCborArray (const QCborArray &cbor_array) |
| void | writeArray (const std::vector< std::size_t > &int_list) |
| void | writeArray (const std::vector< qint64 > &int_list) |
| void | writeArray (const std::vector< double > &double_list) |
| void | writeArray (const std::vector< int > &positions) |
| void | writeArray (const QStringList &str_list) |
| void | writeArray (const std::vector< QString > &str_list) |
Private Attributes | |
| QString | m_uuid |
Definition at line 42 of file cborstreamwriter.h.
| pappso::cbor::CborStreamWriter::CborStreamWriter | ( | QByteArray * | data | ) |
Default constructor
Definition at line 38 of file cborstreamwriter.cpp.
| pappso::cbor::CborStreamWriter::CborStreamWriter | ( | QIODevice * | device | ) |
Definition at line 42 of file cborstreamwriter.cpp.
|
virtual |
| const QString & pappso::cbor::CborStreamWriter::getUuid | ( | ) | const |
| void pappso::cbor::CborStreamWriter::writeArray | ( | const QStringList & | str_list | ) |
Definition at line 140 of file cborstreamwriter.cpp.
| void pappso::cbor::CborStreamWriter::writeArray | ( | const std::vector< double > & | double_list | ) |
Definition at line 104 of file cborstreamwriter.cpp.
| void pappso::cbor::CborStreamWriter::writeArray | ( | const std::vector< int > & | positions | ) |
Definition at line 115 of file cborstreamwriter.cpp.
| void pappso::cbor::CborStreamWriter::writeArray | ( | const std::vector< qint64 > & | int_list | ) |
Definition at line 128 of file cborstreamwriter.cpp.
| void pappso::cbor::CborStreamWriter::writeArray | ( | const std::vector< QString > & | str_list | ) |
Definition at line 151 of file cborstreamwriter.cpp.
| void pappso::cbor::CborStreamWriter::writeArray | ( | const std::vector< std::size_t > & | int_list | ) |
Definition at line 93 of file cborstreamwriter.cpp.
Referenced by pappso::cbor::psm::SageFileReader::SageFileReader(), pappso::cbor::psm::PsmFileScanProcessAndCopy::fastaFilesReady(), pappso::cbor::psm::MzIdentMlReader::finalDebrief(), pappso::cbor::mzcbor::MzmlConvert::writeMzcborIndex(), and pappso::cbor::psm::MzIdentMlReader::writeSpectrumIdentificationItem().
| void pappso::cbor::CborStreamWriter::writeCborArray | ( | const QCborArray & | cbor_array | ) |
Definition at line 168 of file cborstreamwriter.cpp.
Referenced by pappso::cbor::psm::PsmFileScanProcessAndCopy::logReady().
| void pappso::cbor::CborStreamWriter::writeCborMap | ( | const QCborMap & | cbor_map | ) |
Definition at line 162 of file cborstreamwriter.cpp.
Referenced by pappso::cbor::psm::MzIdentMlReader::finalDebrief(), pappso::cbor::psm::PsmFeatures::parameterMapReady(), pappso::cbor::psm::PsmFileScanProcessAndCopy::parameterMapReady(), pappso::cbor::psm::PsmFileScanProcessAndCopy::processBufferScanDone(), pappso::cbor::psm::PsmFileAppend::readSample(), and pappso::cbor::psm::PsmProteinMap::writeMap().
| void pappso::cbor::CborStreamWriter::writeInformations | ( | const QString & | software_name, |
| const QString & | software_version, | ||
| const QString & | type, | ||
| const QString & | operation | ||
| ) |
Definition at line 59 of file cborstreamwriter.cpp.
References pappso::Utils::getVersion(), and m_uuid.
Referenced by pappso::cbor::psm::MzIdentMlReader::MzIdentMlReader(), pappso::cbor::psm::SageFileReader::SageFileReader(), pappso::cbor::psm::PsmFileScanProcessAndCopy::informationsReady(), pappso::cbor::mzcbor::MzmlConvert::readStream(), pappso::masschroq::CborOutputStream::writeActionBegin(), and pappso::cbor::mzcbor::MzmlConvert::writeMzcborIndex().
|
private |
Definition at line 76 of file cborstreamwriter.h.
Referenced by getUuid(), and writeInformations().