45 class SampleTreatment;
66 static const std::string NamesOfSampleState[SIZE_OF_SAMPLESTATE];
82 const String & getName()
const;
84 void setName(
const String & name);
87 const String & getOrganism()
const;
89 void setOrganism(
const String & organism);
92 const String & getNumber()
const;
94 void setNumber(
const String & number);
97 const String & getComment()
const;
99 void setComment(
const String & comment);
107 double getMass()
const;
109 void setMass(
double mass);
112 double getVolume()
const;
114 void setVolume(
double volume);
117 double getConcentration()
const;
119 void setConcentration(
double concentration);
122 std::vector<Sample> & getSubsamples();
124 const std::vector<Sample> & getSubsamples()
const;
126 void setSubsamples(
const std::vector<Sample> & subsamples);
153 Int countTreatments()
const;
A more convenient string class.
Definition: String.h:57
String organism_
Definition: Sample.h:159
Size< TNeedle >::Type position(const PatternAuxData< TNeedle > &dh)
Definition: AhoCorasickAmbiguous.h:561
Base class for sample treatments (Digestion, Modification, Tagging, ...)
Definition: SampleTreatment.h:51
unsigned int UInt
Unsigned integer type.
Definition: Types.h:94
bool operator==(_Iterator< _Val, _Ref, _Ptr > const &, _Iterator< _Val, _Ref, _Ptr > const &)
Definition: KDTree.h:806
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:46
SampleState state_
Definition: Sample.h:160
double mass_
Definition: Sample.h:161
std::list< SampleTreatment * > treatments_
Definition: Sample.h:165
Meta information about the sample.
Definition: Sample.h:59
String comment_
Definition: Sample.h:158
String number_
Definition: Sample.h:157
String name_
Definition: Sample.h:156
SampleState
state of aggregation of the sample
Definition: Sample.h:64
double volume_
Definition: Sample.h:162
double concentration_
Definition: Sample.h:163
std::vector< Sample > subsamples_
Definition: Sample.h:164
int Int
Signed integer type.
Definition: Types.h:102