#include <OpenMS/FORMAT/HANDLERS/MzMLHandlerHelper.h>
|
static String | getCompressionTerm_ (const PeakFileOptions &opt, MSNumpressCoder::NumpressConfig np_compression, String indent="", bool use_numpress=false) |
| Returns the appropriate compression term given the PeakFileOptions and the NumpressConfig. More...
|
|
static void | writeFooter_ (std::ostream &os, const PeakFileOptions &options_, std::vector< std::pair< std::string, long > > &spectra_offsets, std::vector< std::pair< std::string, long > > &chromatograms_offsets) |
| Write the mzML footer the appropriate compression term given the PeakFileOptions and the NumpressConfig. More...
|
|
static void | decodeBase64Arrays (std::vector< BinaryData > &data_, bool skipXMLCheck=false) |
| Decode Base64 arrays and write into data_ array. More...
|
|
static void | computeDataProperties_ (std::vector< BinaryData > &data_, bool &precision_64, SignedSize &index, String index_name) |
|
static bool | handleBinaryDataArrayCVParam (std::vector< BinaryData > &data_, const String &accession, const String &value, const String &name) |
|
◆ computeDataProperties_()
static void computeDataProperties_ |
( |
std::vector< BinaryData > & |
data_, |
|
|
bool & |
precision_64, |
|
|
SignedSize & |
index, |
|
|
String |
index_name |
|
) |
| |
|
static |
◆ decodeBase64Arrays()
static void decodeBase64Arrays |
( |
std::vector< BinaryData > & |
data_, |
|
|
bool |
skipXMLCheck = false |
|
) |
| |
|
static |
Decode Base64 arrays and write into data_ array.
- Parameters
-
data_ | The input and output |
skipXMLCheck | whether to skip cleaning the Base64 arrays and remove whitespaces |
◆ getCompressionTerm_()
Returns the appropriate compression term given the PeakFileOptions and the NumpressConfig.
◆ handleBinaryDataArrayCVParam()
static bool handleBinaryDataArrayCVParam |
( |
std::vector< BinaryData > & |
data_, |
|
|
const String & |
accession, |
|
|
const String & |
value, |
|
|
const String & |
name |
|
) |
| |
|
static |
◆ warning()
static void warning |
( |
int |
mode, |
|
|
const String & |
msg, |
|
|
UInt |
line = 0 , |
|
|
UInt |
column = 0 |
|
) |
| |
|
staticprivate |
Also display some warning message when appropriate (see XMLHandler)
◆ writeFooter_()
static void writeFooter_ |
( |
std::ostream & |
os, |
|
|
const PeakFileOptions & |
options_, |
|
|
std::vector< std::pair< std::string, long > > & |
spectra_offsets, |
|
|
std::vector< std::pair< std::string, long > > & |
chromatograms_offsets |
|
) |
| |
|
static |
Write the mzML footer the appropriate compression term given the PeakFileOptions and the NumpressConfig.