| OpenMS 2.5.0

Public Member Functions | Public Attributes | List of all members
QcMLFile::Attachment Struct Reference

Representation of an attachment. More...

`#include <OpenMS/FORMAT/QcMLFile.h>`

## Public Member Functions

| Attachment ()
| Default constructor. More...
| Attachment (const Attachment &rhs)
Attachment & | operator= (const Attachment &rhs)
bool | operator== (const Attachment &rhs) const
bool | operator< (const Attachment &rhs) const
bool | operator> (const Attachment &rhs) const
String | toXMLString (UInt indentation_level) const
String | toCSVString (String separator) const

## Public Attributes

String | name
| Name. More...
String | id
| Name. More...
String | value
| Value. More...
String | cvRef
| cv reference More...
String | cvAcc
| cv accession More...
String | unitRef
| cv reference of the unit More...
String | unitAcc
| cv accession of the unit More...
String | binary
| binary content of the attachment More...
String | qualityRef
| reference to qp to which attachment, if empty attached to run/set More...
std::vector< String > | colTypes
| type of the cols if QP has a table of values More...
std::vector< std::vector< String > > | tableRows
| cell values if QP has a table, type see colType More...

## Detailed Description

Representation of an attachment.

## Constructor & Destructor Documentation

## ◆ Attachment() [1/2]

Attachment | ( |  | ) |

Default constructor.

## ◆ Attachment() [2/2]

Attachment | ( | const Attachment & | rhs | ) |

## Member Function Documentation

## ◆ operator<()

bool operator< | ( | const Attachment & | rhs | ) | const

## ◆ operator=()

Attachment& operator= | ( | const Attachment & | rhs | ) |

## ◆ operator==()

bool operator== | ( | const Attachment & | rhs | ) | const

## ◆ operator>()

bool operator> | ( | const Attachment & | rhs | ) | const

## ◆ toCSVString()

String toCSVString | ( | String | separator | ) | const

## ◆ toXMLString()

String toXMLString | ( | UInt | indentation_level | ) | const

## Member Data Documentation

## ◆ binary

String binary

binary content of the attachment

## ◆ colTypes

std::vector<String> colTypes

type of the cols if QP has a table of values

## ◆ cvAcc

String cvAcc

cv accession

## ◆ cvRef

String cvRef

cv reference

## ◆ id

String id

Name.

## ◆ name

String name

Name.

## ◆ qualityRef

String qualityRef

reference to qp to which attachment, if empty attached to run/set

## ◆ tableRows

std::vector< std::vector<String> > tableRows

cell values if QP has a table, type see colType

## ◆ unitAcc

String unitAcc

cv accession of the unit

## ◆ unitRef

String unitRef

cv reference of the unit

## ◆ value

String value

Value.