73 void set(
const double& value);
117 std::vector<MzTabDouble>
get()
const;
119 void set(
const std::vector<MzTabDouble>& entries);
172 std::vector<MzTabInteger>
get()
const;
174 void set(
const std::vector<MzTabInteger>& entries);
192 void set(
const bool& value);
281 std::vector<MzTabParameter>
get()
const;
283 void set(
const std::vector<MzTabParameter>& parameters);
307 std::vector<MzTabString>
get()
const;
309 void set(
const std::vector<MzTabString>& entries);
394 template <
typename SectionRows>
398 std::vector<String> names;
401 for (
typename SectionRows::const_iterator it = rows.begin(); it != rows.end(); ++it)
403 for (
auto it_opt = it->opt_.cbegin(); it_opt != it->opt_.cend(); ++it_opt)
405 if (std::find(names.begin(), names.end(), it_opt->first) == names.end())
407 names.push_back(it_opt->first);
Definition: MzTabBase.h:387
virtual ~MzTabBase()=default
std::vector< String > getOptionalColumnNames_(const SectionRows &rows) const
Helper function for "get...OptionalColumnNames" functions.
Definition: MzTabBase.h:395
Definition: MzTabBase.h:182
String toCellString() const
void fromCellString(const String &s)
void set(const bool &value)
int value_
Definition: MzTabBase.h:202
Definition: MzTabBase.h:105
std::vector< MzTabDouble > entries_
Definition: MzTabBase.h:123
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:67
MzTabCellStateType state_
Definition: MzTabBase.h:101
double value_
Definition: MzTabBase.h:100
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:160
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:178
MzTabIntegerList()=default
Definition: MzTabBase.h:127
MzTabCellStateType state_
Definition: MzTabBase.h:156
Int value_
Definition: MzTabBase.h:155
String toCellString() const
void fromCellString(const String &s)
MzTabInteger(const int v)
void set(const Int &value)
Definition: MzTabBase.h:269
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:288
std::vector< MzTabParameter > get() const
Definition: MzTabBase.h:232
String CV_label_
Definition: MzTabBase.h:262
~MzTabParameter()=default
String name_
Definition: MzTabBase.h:264
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:263
String value_
Definition: MzTabBase.h:265
void setAccession(const String &accession)
void setValue(const String &value)
Definition: MzTabBase.h:318
void setMSFile(Size index)
~MzTabSpectraRef()=default
String getSpecRef() const
String spec_ref_
Definition: MzTabBase.h:343
String toCellString() const
void fromCellString(const String &s)
Size ms_run_
Definition: MzTabBase.h:342
void setSpecRefFile(const String &spec_ref)
void setSpecRef(const String &spec_ref)
Definition: MzTabBase.h:292
~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:314
std::vector< MzTabString > entries_
Definition: MzTabBase.h:313
void set(const std::vector< MzTabString > &entries)
Definition: MzTabBase.h:206
String toCellString() const
void fromCellString(const String &s)
void set(const String &value)
String value_
Definition: MzTabBase.h:226
MzTabString(const String &s)
A more convenient string class.
Definition: String.h:60
int Int
Signed integer type.
Definition: Types.h:102
size_t Size
Size type e.g. used as variable which can hold result of size()
Definition: Types.h:127
MzTabCellStateType
Base functionality to for MzTab data models.
Definition: MzTabBase.h:58
@ SIZE_OF_MZTAB_CELLTYPE
Definition: MzTabBase.h:63
@ MZTAB_CELLSTATE_NULL
Definition: MzTabBase.h:60
@ MZTAB_CELLSTATE_INF
Definition: MzTabBase.h:62
@ MZTAB_CELLSTATE_NAN
Definition: MzTabBase.h:61
@ MZTAB_CELLSTATE_DEFAULT
Definition: MzTabBase.h:59
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
MzTabParameter software
Definition: MzTabBase.h:349
MzTabString url
Definition: MzTabBase.h:368
MzTabString email
Definition: MzTabBase.h:383
MzTabString full_name
Definition: MzTabBase.h:366
MzTabString name
Definition: MzTabBase.h:381
MzTabString label
Definition: MzTabBase.h:365
MzTabParameter source
Definition: MzTabBase.h:374
std::map< Size, MzTabParameter > disease
Definition: MzTabBase.h:359
std::map< Size, MzTabString > setting
Definition: MzTabBase.h:350
std::map< Size, MzTabParameter > tissue
Definition: MzTabBase.h:357
MzTabString description
Definition: MzTabBase.h:355
MzTabParameter detector
Definition: MzTabBase.h:376
std::map< Size, MzTabParameter > cell_type
Definition: MzTabBase.h:358
MzTabString affiliation
Definition: MzTabBase.h:382
std::map< Size, MzTabParameter > custom
Definition: MzTabBase.h:360
MzTabParameter name
Definition: MzTabBase.h:373
std::pair< String, MzTabString > MzTabOptionalColumnEntry
Definition: MzTabBase.h:229
MzTabString version
Definition: MzTabBase.h:367
std::map< Size, MzTabParameter > species
Definition: MzTabBase.h:356
std::map< Size, MzTabParameter > analyzer
Definition: MzTabBase.h:375