35 #ifndef OPENMS_METADATA_GRADIENT_H 
   36 #define OPENMS_METADATA_GRADIENT_H 
   67     bool operator==(
const Gradient & source) 
const;
 
   69     bool operator!=(
const Gradient & source) 
const;
 
   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:56
std::vector< Int > times_
Definition: Gradient.h:122
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
int Int
Signed integer type. 
Definition: Types.h:100