( vector<pair<string, TNamedScoreFactory> >::const_iterator
i=
table.begin();
i!=
table.end(); ++
i) {
69 for( vector<pair<string, TMultiScoresFactory> >::const_iterator
i= table_multi_scores.begin();
i!= table_multi_scores.end(); ++
i) {
95 if( !coll.
IsSet() || coll.
Get().empty() ) {
96 returnvector<CScoreValue>();
109 if( !coll.
IsSet() || coll.
Get().empty() ) {
113 return i->second->Set(
const_cast<CScope&
>(*
m_Scope), coll);
117vector<CScoreValue>
Get(
string const& group_name, vector<string>
const& score_names,
CSeq_align_set const& coll)
const 124 if( !coll.
IsSet() || coll.
Get().empty() ) {
125 returnvector<CScoreValue>();
129 returnscore->Get(
const_cast<CScope&
>(*
m_Scope), coll);
132 void Set(
string const& group_name, vector<string>
const& score_names,
CSeq_align_set& coll)
const 139 if( !coll.
IsSet() || coll.
Get().empty() ) {
172vector<pair<string, TNamedScoreFactory> >
table;
175 table.push_back(make_pair(entry->name, entry->factory));
192vector<pair<string, TMultiScoresFactory> >
table;
195 table.push_back(make_pair(entry->name, entry->factory));
void Set(string const &score_name, CSeq_align_set &coll) const
void Set(string const &group_name, vector< string > const &score_names, CSeq_align_set &coll) const
vector< CScoreValue > Get(string const &score_name, CSeq_align_set const &coll) const
CAlignmentCollectionScore()
CAlignmentCollectionScore(CScope &scope)
map< string, CIRef< INamedAlignmentCollectionScore > > m_Scores
vector< CScoreValue > Get(string const &group_name, vector< string > const &score_names, CSeq_align_set const &coll) const
map< string, TMultiScoresFactory > m_MultiScores
static CIRef< INamedAlignmentCollectionScore > Create()
static CIRef< INamedAlignmentCollectionScore > Create()
static CIRef< INamedAlignmentCollectionScore > Create(vector< string > score_names)
static CRef< IAlignmentCollectionScore > GetInstance()
const_iterator end() const
iterator_bool insert(const value_type &val)
const_iterator find(const key_type &key) const
static vector< pair< string, TNamedScoreFactory > > GetAlignmentCollectionScoreFactoryTable()
static struct tagMultiScoresFactory FactoryMultiScores[]
static vector< pair< string, TMultiScoresFactory > > GetMultiScoresFactoryTable()
CIRef< INamedAlignmentCollectionScore >(* TMultiScoresFactory)(vector< string > score_names)
static struct tagNamedScoreFactory Factory[]
#define NCBI_THROW(exception_class, err_code, message)
Generic macro to throw an exception, given the exception class, error code and message string.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
bool IsSet(void) const
Check if a value has been assigned to data member.
const Tdata & Get(void) const
Get the member data.
<!DOCTYPE HTML >< html > n< header > n< title > PubSeq Gateway Help Page</title > n< style > n table
CIRef< INamedAlignmentCollectionScore >(* TNamedScoreFactory)()
TMultiScoresFactory factory
TNamedScoreFactory factory
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4