35 #ifndef OPENMS_METADATA_GRADIENT_H 36 #define OPENMS_METADATA_GRADIENT_H 76 void addEluent(
const String & eluent);
80 const std::vector<String> & getEluents()
const;
87 void addTimepoint(
Int timepoint);
89 void clearTimepoints();
91 const std::vector<Int> & getTimepoints()
const;
98 void setPercentage(
const String & eluent,
Int timepoint,
UInt percentage);
105 const std::vector<std::vector<UInt> > & getPercentages()
const;
112 UInt getPercentage(
const String & eluent,
Int timepoint)
const;
115 void clearPercentages();
118 bool isValid()
const;
129 #endif // OPENMS_METADATA_GRADIENT_H A more convenient string class.
Definition: String.h:57
std::vector< Int > times_
Definition: Gradient.h:122
unsigned int UInt
Unsigned integer type.
Definition: Types.h:95
bool operator==(_Iterator< _Val, _Ref, _Ptr > const &, _Iterator< _Val, _Ref, _Ptr > const &)
Definition: KDTree.h:806
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:47
Representation of a HPLC gradient.
Definition: Gradient.h:53
std::vector< std::vector< UInt > > percentages_
Definition: Gradient.h:124
std::vector< String > eluents_
Definition: Gradient.h:121
bool operator!=(_Iterator< _Val, _Ref, _Ptr > const &, _Iterator< _Val, _Ref, _Ptr > const &)
Definition: KDTree.h:824
int Int
Signed integer type.
Definition: Types.h:103