Home  · Classes  · Annotated Classes  · Modules  · Members  · Namespaces  · Related Pages
Classes | Static Public Member Functions | Static Private Member Functions | List of all members
MzMLHandlerHelper Class Reference

#include <OpenMS/FORMAT/HANDLERS/MzMLHandlerHelper.h>

Classes

struct  BinaryData
 Binary data representation. More...
 

Static Public Member Functions

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)
 

Static Private Member Functions

static void warning (int mode, const String &msg, UInt line=0, UInt column=0)
 Also display some warning message when appropriate (see XMLHandler) More...
 

Member Function Documentation

◆ 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
skipXMLCheckwhether to skip cleaning the Base64 arrays and remove whitespaces

◆ getCompressionTerm_()

static String getCompressionTerm_ ( const PeakFileOptions opt,
MSNumpressCoder::NumpressConfig  np_compression,
String  indent = "",
bool  use_numpress = false 
)
static

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.


OpenMS / TOPP release 2.3.0 Documentation generated on Tue Jan 9 2018 18:22:14 using doxygen 1.8.13