#include <OpenMS/METADATA/ExperimentalDesign.h>
|
| | SampleSection ()=default |
| |
| | SampleSection (const std::vector< std::vector< std::string > > &content, const std::map< std::string, Size > &sample_to_rowindex, const std::map< std::string, Size > &columnname_to_columnindex) |
| |
| std::set< std::string > | getSamples () const |
| |
| void | addSample (const std::string &sample, const std::vector< std::string > &content={}) |
| |
| std::set< std::string > | getFactors () const |
| |
| bool | hasSample (const std::string &sample) const |
| |
| bool | hasFactor (const std::string &factor) const |
| |
| std::string | getFactorValue (const std::string &sample_name, const std::string &factor) const |
| |
| std::string | getFactorValue (unsigned sample_idx, const std::string &factor) const |
| |
| Size | getFactorColIdx (const std::string &factor) const |
| |
| std::string | getSampleName (unsigned sample_row) const |
| |
| unsigned | getSampleRow (const std::string &sample) const |
| |
| Size | getContentSize () const |
| | returns the number of entries in content_ member
|
| |
◆ SampleSection() [1/2]
◆ SampleSection() [2/2]
| SampleSection |
( |
const std::vector< std::vector< std::string > > & |
content, |
|
|
const std::map< std::string, Size > & |
sample_to_rowindex, |
|
|
const std::map< std::string, Size > & |
columnname_to_columnindex |
|
) |
| |
◆ addSample()
| void addSample |
( |
const std::string & |
sample, |
|
|
const std::vector< std::string > & |
content = {} |
|
) |
| |
◆ getContentSize()
| Size getContentSize |
( |
| ) |
const |
returns the number of entries in content_ member
◆ getFactorColIdx()
| Size getFactorColIdx |
( |
const std::string & |
factor | ) |
const |
◆ getFactors()
| std::set< std::string > getFactors |
( |
| ) |
const |
◆ getFactorValue() [1/2]
| std::string getFactorValue |
( |
const std::string & |
sample_name, |
|
|
const std::string & |
factor |
|
) |
| const |
◆ getFactorValue() [2/2]
| std::string getFactorValue |
( |
unsigned |
sample_idx, |
|
|
const std::string & |
factor |
|
) |
| const |
◆ getSampleName()
| std::string getSampleName |
( |
unsigned |
sample_row | ) |
const |
◆ getSampleRow()
| unsigned getSampleRow |
( |
const std::string & |
sample | ) |
const |
◆ getSamples()
| std::set< std::string > getSamples |
( |
| ) |
const |
◆ hasFactor()
| bool hasFactor |
( |
const std::string & |
factor | ) |
const |
◆ hasSample()
| bool hasSample |
( |
const std::string & |
sample | ) |
const |
◆ columnname_to_columnindex_
| std::map< std::string, Size > columnname_to_columnindex_ |
|
private |
◆ content_
| std::vector< std::vector < std::string > > content_ |
|
private |
◆ sample_to_rowindex_
| std::map< std::string, Size > sample_to_rowindex_ |
|
private |