86 if (
key ==
"score" ) {
105 const char* strProtMatch =
"protein_match";
106 const char* strEstMatch =
"EST_match";
107 const char* strTransNucMatch =
"translated_nucleotide_match";
108 const char* strCdnaMatch =
"cDNA_match";
114 mType = strProtMatch;
122 mType = strCdnaMatch;
126 mType = strCdnaMatch;
130 mType = strTransNucMatch;
User-defined methods of the data storage class.
User-defined methods of the data storage class.
User-defined methods of the data storage class.
User-defined methods of the data storage class.
User-defined methods of the data storage class.
User-defined methods of the data storage class.
void SetScore(const CScore &)
virtual void SetMatchType(const CSeq_id &, const CSeq_id &)
static CGffFeatureContext sDummyContext
string StrAttributes() const
Include a standard set of the NCBI C++ Toolkit most basic headers.
static const char * str(char *buf, int n)
static EAccessionInfo IdentifyAccession(const CTempString &accession, TParseFlags flags=fParse_AnyRaw)
Deduces information from a bare accession a la WHICH_db_accession; may report false negatives on prop...
EAccessionInfo
For IdentifyAccession (below)
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
static string DoubleToString(double value, int precision=-1, TNumToStringFlags flags=0)
Convert double to string.
static string IntToString(int value, TNumToStringFlags flags=0, int base=10)
Convert int to string.
bool IsStr(void) const
Check if variant Str is selected.
const TStr & GetStr(void) const
Get the variant data.
bool IsSetId(void) const
Check if a value has been assigned to Id data member.
TInt GetInt(void) const
Get the variant data.
bool IsInt(void) const
Check if variant Int is selected.
const TValue & GetValue(void) const
Get the Value member data.
bool IsSetValue(void) const
Check if a value has been assigned to Value data member.
TReal GetReal(void) const
Get the variant data.
const TId & GetId(void) const
Get the Id member data.
const struct ncbi::grid::netcache::search::fields::KEY key
const GenericPointer< typename T::ValueType > T2 value
const CharType(& source)[N]