47 void set(
const double& value);
91 std::vector<MzTabDouble>
get()
const;
93 void set(
const std::vector<MzTabDouble>& entries);
146 std::vector<MzTabInteger>
get()
const;
148 void set(
const std::vector<MzTabInteger>& entries);
166 void set(
const bool& value);
255 std::vector<MzTabParameter>
get()
const;
257 void set(
const std::vector<MzTabParameter>& parameters);
281 std::vector<MzTabString>
get()
const;
283 void set(
const std::vector<MzTabString>& entries);
368 template <
typename SectionRows>
372 std::vector<String> names;
373 for (
typename SectionRows::const_iterator it = rows.begin(); it != rows.end(); ++it)
375 for (
auto it_opt = it->opt_.cbegin(); it_opt != it->opt_.cend(); ++it_opt)
377 if (std::find(names.begin(), names.end(), it_opt->first) == names.end())
379 names.push_back(it_opt->first);
Definition: MzTabBase.h:361
virtual ~MzTabBase()=default
std::vector< String > getOptionalColumnNames_(const SectionRows &rows) const
Helper function for "get...OptionalColumnNames" functions.
Definition: MzTabBase.h:369
Definition: MzTabBase.h:156
String toCellString() const
void fromCellString(const String &s)
void set(const bool &value)
int value_
Definition: MzTabBase.h:176
Definition: MzTabBase.h:79
std::vector< MzTabDouble > entries_
Definition: MzTabBase.h:97
String toCellString() const
void fromCellString(const String &s)
MzTabDoubleList()=default
std::vector< MzTabDouble > get() const
void set(const std::vector< MzTabDouble > &entries)
~MzTabDoubleList()=default
Definition: MzTabBase.h:41
MzTabCellStateType state_
Definition: MzTabBase.h:75
double value_
Definition: MzTabBase.h:74
String toCellString() const
void fromCellString(const String &s)
MzTabDouble(const double v)
bool operator==(const MzTabDouble &rhs) const
bool operator<(const MzTabDouble &rhs) const
void set(const double &value)
Definition: MzTabBase.h:134
void set(const std::vector< MzTabInteger > &entries)
String toCellString() const
void fromCellString(const String &s)
std::vector< MzTabInteger > get() const
~MzTabIntegerList()=default
std::vector< MzTabInteger > entries_
Definition: MzTabBase.h:152
MzTabIntegerList()=default
Definition: MzTabBase.h:101
MzTabCellStateType state_
Definition: MzTabBase.h:130
Int value_
Definition: MzTabBase.h:129
String toCellString() const
void fromCellString(const String &s)
MzTabInteger(const int v)
void set(const Int &value)
Definition: MzTabBase.h:243
void set(const std::vector< MzTabParameter > ¶meters)
MzTabParameterList()=default
String toCellString() const
void fromCellString(const String &s)
~MzTabParameterList()=default
std::vector< MzTabParameter > parameters_
Definition: MzTabBase.h:262
std::vector< MzTabParameter > get() const
Definition: MzTabBase.h:206
String CV_label_
Definition: MzTabBase.h:236
~MzTabParameter()=default
String name_
Definition: MzTabBase.h:238
String toCellString() const
void fromCellString(const String &s)
String getCVLabel() const
void setName(const String &name)
void setCVLabel(const String &CV_label)
String getAccession() const
String accession_
Definition: MzTabBase.h:237
String value_
Definition: MzTabBase.h:239
void setAccession(const String &accession)
void setValue(const String &value)
Definition: MzTabBase.h:292
void setMSFile(Size index)
~MzTabSpectraRef()=default
String getSpecRef() const
String spec_ref_
Definition: MzTabBase.h:317
String toCellString() const
void fromCellString(const String &s)
Size ms_run_
Definition: MzTabBase.h:316
void setSpecRefFile(const String &spec_ref)
void setSpecRef(const String &spec_ref)
Definition: MzTabBase.h:266
~MzTabStringList()=default
std::vector< MzTabString > get() const
String toCellString() const
void setSeparator(char sep)
needed for e.g. ambiguity_members and GO accessions as these use ',' as separator while the others us...
void fromCellString(const String &s)
char sep_
Definition: MzTabBase.h:288
std::vector< MzTabString > entries_
Definition: MzTabBase.h:287
void set(const std::vector< MzTabString > &entries)
Definition: MzTabBase.h:180
String toCellString() const
void fromCellString(const String &s)
void set(const String &value)
String value_
Definition: MzTabBase.h:200
MzTabString(const String &s)
A more convenient string class.
Definition: String.h:34
int Int
Signed integer type.
Definition: Types.h:72
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:97
MzTabCellStateType
Base functionality to for MzTab data models.
Definition: MzTabBase.h:32
@ SIZE_OF_MZTAB_CELLTYPE
Definition: MzTabBase.h:37
@ MZTAB_CELLSTATE_NULL
Definition: MzTabBase.h:34
@ MZTAB_CELLSTATE_INF
Definition: MzTabBase.h:36
@ MZTAB_CELLSTATE_NAN
Definition: MzTabBase.h:35
@ MZTAB_CELLSTATE_DEFAULT
Definition: MzTabBase.h:33
Main OpenMS namespace.
Definition: openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19
MzTabParameter software
Definition: MzTabBase.h:323
MzTabString url
Definition: MzTabBase.h:342
MzTabString email
Definition: MzTabBase.h:357
MzTabString full_name
Definition: MzTabBase.h:340
MzTabString name
Definition: MzTabBase.h:355
MzTabString label
Definition: MzTabBase.h:339
MzTabParameter source
Definition: MzTabBase.h:348
std::map< Size, MzTabParameter > disease
Definition: MzTabBase.h:333
std::map< Size, MzTabString > setting
Definition: MzTabBase.h:324
std::map< Size, MzTabParameter > tissue
Definition: MzTabBase.h:331
MzTabString description
Definition: MzTabBase.h:329
MzTabParameter detector
Definition: MzTabBase.h:350
std::map< Size, MzTabParameter > cell_type
Definition: MzTabBase.h:332
MzTabString affiliation
Definition: MzTabBase.h:356
std::map< Size, MzTabParameter > custom
Definition: MzTabBase.h:334
MzTabParameter name
Definition: MzTabBase.h:347
std::pair< String, MzTabString > MzTabOptionalColumnEntry
Definition: MzTabBase.h:203
MzTabString version
Definition: MzTabBase.h:341
std::map< Size, MzTabParameter > species
Definition: MzTabBase.h:330
std::map< Size, MzTabParameter > analyzer
Definition: MzTabBase.h:349