96 feat_field->SetField(*f_qual);
104 "Trace Assembly Archive",
107 "Sequence Read Archive",
118 if ( (*it)->GetLabel().IsStr()
119 && ((*it)->GetLabel().GetStr() == field_name) ) {
120 if ( (*it)->GetData().IsStrs()) {
121 ITERATE (vector <CStringUTF8>, sit, (*it)->GetData().GetStrs()) {
129 else if ( (*it)->GetData().IsInts() ) {
130 ITERATE (vector <int>, iit, (*it)->GetData().GetInts()) {
struct s_cgp2feattype_featqual Cgp2FeatType_FeatQual
static const char * dblink_name[]
static const s_cgp2feattype_featqual cgp_ftype_fqual[]
User-defined methods of the data storage class.
static string GetDBLinkFieldFromUserObject(const CUser_object &user_obj, EDBLink_field_type dblink_tp, const CString_constraint &str_cons)
static CRef< CFeature_field > FeatureFieldFromCDSGeneProtField(ECDSGeneProt_field cgp_field)
bool Match(const CMatchString &str) const
CTempString implements a light-weight string on top of a storage buffer whose lifetime management is ...
constexpr size_t ArraySize(const Element(&)[Size])
#define ITERATE(Type, Var, Cont)
ITERATE macro to sequence through container elements.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
static string AsSingleByteString(const CTempString &src, EEncoding encoding, const char *substitute_on_error=0, EValidate validate=eNoValidate)
Convert UTF8 string into a single-byte character representation.
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.
const TData & GetData(void) const
Get the Data member data.
const TType & GetType(void) const
Get the Type member data.
TLegal_qual & SetLegal_qual(void)
Select the variant.
EMacro_feature_type
feature values
ECDSGeneProt_field
Access to ECDSGeneProt_field's attributes (values, names) as defined in spec.
EFeat_qual_legal
Access to EFeat_qual_legal's attributes (values, names) as defined in spec.
EDBLink_field_type
dblink fields
@ eMacro_feature_type_mat_peptide_aa
@ eMacro_feature_type_gene
@ eMacro_feature_type_mRNA
@ eMacro_feature_type_prot
@ eMacro_feature_type_cds
@ eCDSGeneProt_field_gene_allele
@ eCDSGeneProt_field_gene_description
@ eCDSGeneProt_field_prot_description
@ eCDSGeneProt_field_mrna_product
@ eCDSGeneProt_field_mat_peptide_description
@ eCDSGeneProt_field_gene_synonym
@ eCDSGeneProt_field_cds_inference
@ eCDSGeneProt_field_gene_old_locus_tag
@ eCDSGeneProt_field_mat_peptide_comment
@ eCDSGeneProt_field_mat_peptide_ec_number
@ eCDSGeneProt_field_mat_peptide_activity
@ eCDSGeneProt_field_prot_activity
@ eCDSGeneProt_field_prot_ec_number
@ eCDSGeneProt_field_prot_name
@ eCDSGeneProt_field_gene_maploc
@ eCDSGeneProt_field_prot_comment
@ eCDSGeneProt_field_codon_start
@ eCDSGeneProt_field_mat_peptide_name
@ eCDSGeneProt_field_gene_inference
@ eCDSGeneProt_field_gene_locus
@ eCDSGeneProt_field_mrna_comment
@ eCDSGeneProt_field_gene_locus_tag
@ eCDSGeneProt_field_gene_comment
@ eCDSGeneProt_field_cds_comment
@ eFeat_qual_legal_locus_tag
@ eFeat_qual_legal_inference
@ eFeat_qual_legal_codon_start
@ eFeat_qual_legal_ec_number
@ eFeat_qual_legal_synonym
@ eFeat_qual_legal_activity
@ eFeat_qual_legal_product
@ eFeat_qual_legal_gene_description
@ eFeat_qual_legal_allele
@ eFeat_qual_legal_old_locus_tag
@ eFeat_qual_legal_description
static const char * str(char *buf, int n)
EFeat_qual_legal legal_qual
EMacro_feature_type feat_type