bpp-seq-omics
2.4.1
|
General interface for storing statistical results. More...
#include <Bpp/Seq/Io/Maf/MafStatistics.h>
Public Member Functions | |
MafStatisticsResult () | |
virtual | ~MafStatisticsResult () |
MafStatisticsResult (const MafStatisticsResult &msr) | |
virtual const BppNumberI & | getValue (const std::string &tag) const |
virtual void | setValue (const std::string &tag, double value) |
Associate a value to a certain tag. Any existing tag will be overwritten. More... | |
virtual void | setValue (const std::string &tag, int value) |
Associate a value to a certain tag. Any existing tag will be overwritten. More... | |
virtual void | setValue (const std::string &tag, unsigned int value) |
Associate a value to a certain tag. Any existing tag will be overwritten. More... | |
virtual bool | hasValue (const std::string &tag) const |
std::vector< std::string > | getAvailableTags () const |
Protected Attributes | |
std::map< std::string, BppNumberI * > | values_ |
General interface for storing statistical results.
Definition at line 62 of file MafStatistics.h.
|
inline |
Definition at line 68 of file MafStatistics.h.
|
inlinevirtual |
Definition at line 69 of file MafStatistics.h.
|
inline |
Definition at line 71 of file MafStatistics.h.
References values_.
|
inline |
Definition at line 139 of file MafStatistics.h.
References bpp::MapTools::getKeys(), and values_.
Referenced by bpp::AbstractMafStatisticsSimple::getSupportedTags().
|
inlinevirtual |
Reimplemented in bpp::SimpleMafStatisticsResult.
Definition at line 81 of file MafStatistics.h.
References values_.
Referenced by bpp::SequenceStatisticsMafIterator::analyseCurrentBlock_(), and bpp::SimpleMafStatisticsResult::getValue().
|
inlinevirtual |
tag | The name of the value to associate. |
Definition at line 132 of file MafStatistics.h.
References values_.
Referenced by bpp::SequenceStatisticsMafIterator::analyseCurrentBlock_().
|
inlinevirtual |
Associate a value to a certain tag. Any existing tag will be overwritten.
tag | The name of the value to associate. |
value | The value to associate to the tag. |
Reimplemented in bpp::SimpleMafStatisticsResult.
Definition at line 95 of file MafStatistics.h.
References values_.
Referenced by bpp::CharacterCountsMafStatistics::compute(), bpp::SiteFrequencySpectrumMafStatistics::compute(), bpp::FourSpeciesPatternCountsMafStatistics::compute(), bpp::SiteMafStatistics::compute(), bpp::PolymorphismMafStatistics::compute(), and bpp::SequenceDiversityMafStatistics::compute().
|
inlinevirtual |
Associate a value to a certain tag. Any existing tag will be overwritten.
tag | The name of the value to associate. |
value | The value to associate to the tag. |
Reimplemented in bpp::SimpleMafStatisticsResult.
Definition at line 108 of file MafStatistics.h.
References values_.
|
inlinevirtual |
Associate a value to a certain tag. Any existing tag will be overwritten.
tag | The name of the value to associate. |
value | The value to associate to the tag. |
Reimplemented in bpp::SimpleMafStatisticsResult.
Definition at line 121 of file MafStatistics.h.
References values_.
|
mutableprotected |
Definition at line 65 of file MafStatistics.h.
Referenced by getAvailableTags(), bpp::SimpleMafStatisticsResult::getValue(), getValue(), hasValue(), MafStatisticsResult(), setValue(), and bpp::SimpleMafStatisticsResult::setValue().