OpenMS  2.6.0
Public Types | Public Member Functions | Public Attributes | List of all members
MzMLHandlerHelper::BinaryData Struct Reference

Representation for binary data in mzML. More...

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

Collaboration diagram for MzMLHandlerHelper::BinaryData:
[legend]

Public Types

enum  { PRE_NONE, PRE_32, PRE_64 }
 
enum  { DT_NONE, DT_FLOAT, DT_INT, DT_STRING }
 

Public Member Functions

 BinaryData ()
 Constructor. More...
 
 BinaryData (const BinaryData &)=default
 
 BinaryData (BinaryData &&)=default
 
BinaryDataoperator= (const BinaryData &) &=default
 
BinaryDataoperator= (BinaryData &&) &=default
 
 ~BinaryData ()=default
 

Public Attributes

enum OpenMS::Internal::MzMLHandlerHelper::BinaryData:: { ... }  precision
 
enum OpenMS::Internal::MzMLHandlerHelper::BinaryData:: { ... }  data_type
 
MSNumpressCoder::NumpressCompression np_compression
 numpress options More...
 
bool compression
 zlib compression More...
 
double unit_multiplier
 multiplier for unit (e.g. 60 for minutes) More...
 
String base64
 Raw data in base64 encoding. More...
 
Size size
 Raw data length. More...
 
std::vector< floatfloats_32
 
std::vector< doublefloats_64
 
std::vector< Int32ints_32
 
std::vector< Int64ints_64
 
std::vector< Stringdecoded_char
 
MetaInfoDescription meta
 Meta data description. More...
 

Detailed Description

Representation for binary data in mzML.

Represents data in the `<binaryDataArray>` tag

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
PRE_NONE 

unknown precision

PRE_32 

32bit precision

PRE_64 

64bit precision

◆ anonymous enum

anonymous enum
Enumerator
DT_NONE 

unknown data type

DT_FLOAT 

float data type

DT_INT 

integer data type

DT_STRING 

string data type

Constructor & Destructor Documentation

◆ BinaryData() [1/3]

BinaryData ( )
inline

Constructor.

◆ BinaryData() [2/3]

BinaryData ( const BinaryData )
default

◆ BinaryData() [3/3]

BinaryData ( BinaryData &&  )
default

◆ ~BinaryData()

~BinaryData ( )
default

Member Function Documentation

◆ operator=() [1/2]

BinaryData& operator= ( BinaryData &&  ) &
default

◆ operator=() [2/2]

BinaryData& operator= ( const BinaryData ) &
default

Member Data Documentation

◆ base64

String base64

Raw data in base64 encoding.

◆ compression

bool compression

zlib compression

◆ data_type

enum { ... } data_type

◆ decoded_char

std::vector<String> decoded_char

◆ floats_32

std::vector<float> floats_32

◆ floats_64

std::vector<double> floats_64

◆ ints_32

std::vector<Int32> ints_32

◆ ints_64

std::vector<Int64> ints_64

◆ meta

Meta data description.

◆ np_compression

numpress options

◆ precision

enum { ... } precision

◆ size

Size size

Raw data length.

◆ unit_multiplier

double unit_multiplier

multiplier for unit (e.g. 60 for minutes)