Go to the SVN repository for this file.
14 if(seq_literal.IsNull()) {
15 delta->SetSeq().SetThis();
18 delta->SetSeq().SetLiteral(*seq_literal);
21 if(
count.IsRange() ) {
22 const auto& range =
count.GetRange();
23 if( !range.IsSetStart() ||
25(range.GetStart().IsUnknown() && range.GetStop().IsUnknown())
31 const auto& start = range.GetStart();
32 const auto& stop = range.GetStop();
34 if( start.IsUnknown() ) {
36 delta->SetMultiplier() = stop.GetVal();
38 else if( stop.IsUnknown() ) {
40 delta->SetMultiplier() = start.GetVal();
42 auto min= start.GetVal();
43 auto max= stop.GetVal();
46 stringerr_string =
"Reversed range limits";
52 delta->SetMultiplier_fuzz().SetRange().SetMin(
min);
53 delta->SetMultiplier_fuzz().SetRange().SetMax(
max);
58 if(
count.IsVal()) {
59multiplier =
count.GetVal();
61 else if(
count.IsFuzzy_val()) {
62multiplier =
count.GetFuzzy_val();
65 if( multiplier < 1 ) {
68 delta->SetMultiplier() = multiplier;
User-defined methods of the data storage class.
int TSignedSeqPos
Type for signed sequence position.
void swap(NCBI_NS_NCBI::pair_base_member< T1, T2 > &pair1, NCBI_NS_NCBI::pair_base_member< T1, T2 > &pair2)
#define ERR_POST(message)
Error posting with file, line number information but without error codes.
#define NCBI_THROW(exception_class, err_code, message)
Generic macro to throw an exception, given the exception class, error code and message string.
void Warning(CExceptionArgs_Base &args)
CRef< C > Ref(C *object)
Helper functions to get CRef<> and CConstRef<> objects.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define END_SCOPE(ns)
End the previously defined scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define BEGIN_SCOPE(ns)
Define a new scope.
Int4 delta(size_t dimension_, const Int4 *score_)
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