65 string sep =
label->empty() ?
"" :
",";
68 tv = GetTypeInfo_enum_EBiomol();
69 (*label) += sep + tv->
FindName(biomol,
true);
74 tv = GetTypeInfo_enum_ETech();
75 (*label) += sep + tv->
FindName(tech,
true);
84 tv = GetTypeInfo_enum_ECompleteness();
85 (*label) += sep + tv->
FindName(comp,
true);
118 string biomol_name =
"";
120 while (g_iter != sm_BiomolKeys.end() &&
121 g_iter->second != biomol) {
124 if (g_iter != sm_BiomolKeys.end()) {
125 biomol_name = g_iter->first;
SStaticPair< const char *, CMolInfo::EBiomol > TBiomolKey
DEFINE_STATIC_ARRAY_MAP(TBiomolMap, sm_BiomolKeys, biomol_key_to_subtype)
CStaticPairArrayMap< const char *, CMolInfo::EBiomol, PNocase_CStr > TBiomolMap
static const TBiomolKey biomol_key_to_subtype[]
void GetLabel(string *label) const
static string GetBiomolName(CMolInfo::TBiomol biomol)
class CStaticArrayMap<> is an array adaptor that provides an STLish interface to statically-defined a...
TBase::const_iterator const_iterator
const string & FindName(TEnumValueType value, bool allowBadValue) const
Find name of the enum by its numeric value.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
static const char label[]
bool IsSetCompleteness(void) const
Check if a value has been assigned to Completeness data member.
bool IsSetTechexp(void) const
explanation if tech not enough
bool IsSetBiomol(void) const
Check if a value has been assigned to Biomol data member.
TTech GetTech(void) const
Get the Tech member data.
const TTechexp & GetTechexp(void) const
Get the Techexp member data.
TBiomol GetBiomol(void) const
Get the Biomol member data.
bool IsSetTech(void) const
Check if a value has been assigned to Tech data member.
TCompleteness GetCompleteness(void) const
Get the Completeness member data.
@ eBiomol_pre_RNA
precursor RNA of any sort really
@ eBiomol_cRNA
viral RNA genome copy intermediate
@ eBiomol_snoRNA
small nucleolar RNA
@ eBiomol_genomic_mRNA
reported a mix of genomic and cdna sequence
@ eBiomol_transcribed_RNA
transcribed RNA other than existing classes
@ eBiomol_other_genetic
other genetic material
Template structure SStaticPair is simlified replacement of STL pair<> Main reason of introducing this...