NCBI C++ ToolKit
Enumerations | Functions
flat_qual_slots.hpp File Reference
#include <corelib/ncbistd.hpp>
#include <objects/seqfeat/OrgMod.hpp>
#include <objects/seqfeat/SubSource.hpp>
+ Include dependency graph for flat_qual_slots.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Go to the SVN repository for this file.

Enumerations

enum  EFeatureQualifier {
  eFQ_none , eFQ_allele , eFQ_anticodon , eFQ_artificial_location ,
  eFQ_bond , eFQ_bond_type , eFQ_bound_moiety , eFQ_calculated_mol_wt ,
  eFQ_cds_product , eFQ_circular_RNA , eFQ_citation , eFQ_clone ,
  eFQ_coded_by , eFQ_codon , eFQ_codon_start , eFQ_compare ,
  eFQ_cons_splice , eFQ_cyt_map , eFQ_db_xref , eFQ_derived_from ,
  eFQ_direction , eFQ_EC_number , eFQ_encodes , eFQ_estimated_length ,
  eFQ_evidence , eFQ_experiment , eFQ_exception , eFQ_exception_note ,
  eFQ_figure , eFQ_frequency , eFQ_function , eFQ_gap_type ,
  eFQ_gen_map , eFQ_gene , eFQ_gene_desc , eFQ_gene_allele ,
  eFQ_gene_map , eFQ_gene_syn , eFQ_gene_syn_refseq , eFQ_gene_note ,
  eFQ_gene_xref , eFQ_go_component , eFQ_go_function , eFQ_go_process ,
  eFQ_heterogen , eFQ_illegal_qual , eFQ_inference , eFQ_insertion_seq ,
  eFQ_label , eFQ_linkage_evidence , eFQ_locus_tag , eFQ_map ,
  eFQ_maploc , eFQ_mobile_element , eFQ_mobile_element_type , eFQ_mod_base ,
  eFQ_modelev , eFQ_mol_wt , eFQ_ncRNA_class , eFQ_nomenclature ,
  eFQ_non_std_residue , eFQ_number , eFQ_old_locus_tag , eFQ_operon ,
  eFQ_organism , eFQ_partial , eFQ_PCR_conditions , eFQ_peptide ,
  eFQ_phenotype , eFQ_product , eFQ_product_quals , eFQ_prot_activity ,
  eFQ_prot_comment , eFQ_prot_EC_number , eFQ_prot_note , eFQ_prot_method ,
  eFQ_prot_conflict , eFQ_prot_desc , eFQ_prot_missing , eFQ_prot_name ,
  eFQ_prot_names , eFQ_protein_id , eFQ_pseudo , eFQ_pseudogene ,
  eFQ_pyrrolysine , eFQ_pyrrolysine_note , eFQ_rad_map , eFQ_region ,
  eFQ_region_name , eFQ_recombination_class , eFQ_regulatory_class , eFQ_replace ,
  eFQ_ribosomal_slippage , eFQ_rpt_family , eFQ_rpt_type , eFQ_rpt_unit ,
  eFQ_rpt_unit_range , eFQ_rpt_unit_seq , eFQ_rrna_its , eFQ_satellite ,
  eFQ_sec_str_type , eFQ_selenocysteine , eFQ_selenocysteine_note , eFQ_seqfeat_note ,
  eFQ_site , eFQ_site_type , eFQ_standard_name , eFQ_tag_peptide ,
  eFQ_trans_splicing , eFQ_transcription , eFQ_transcript_id , eFQ_transcript_id_note ,
  eFQ_transl_except , eFQ_transl_table , eFQ_translation , eFQ_transposon ,
  eFQ_trna_aa , eFQ_trna_codons , eFQ_UniProtKB_evidence , eFQ_usedin ,
  eFQ_xtra_prod_quals , eFQ_NUM_SOURCE_QUALIFIERS
}
 
enum  ESourceQualifier {
  eSQ_none , eSQ_acronym , eSQ_altitude , eSQ_anamorph ,
  eSQ_authority , eSQ_bio_material , eSQ_biotype , eSQ_biovar ,
  eSQ_breed , eSQ_cell_line , eSQ_cell_type , eSQ_chemovar ,
  eSQ_chromosome , eSQ_citation , eSQ_clone , eSQ_clone_lib ,
  eSQ_collected_by , eSQ_collection_date , eSQ_common , eSQ_common_name ,
  eSQ_country , eSQ_cultivar , eSQ_culture_collection , eSQ_db_xref ,
  eSQ_org_xref , eSQ_dev_stage , eSQ_dosage , eSQ_ecotype ,
  eSQ_endogenous_virus_name , eSQ_environmental_sample , eSQ_extrachrom , eSQ_focus ,
  eSQ_forma , eSQ_forma_specialis , eSQ_frequency , eSQ_fwd_primer_name ,
  eSQ_fwd_primer_seq , eSQ_gb_acronym , eSQ_gb_anamorph , eSQ_gb_synonym ,
  eSQ_genotype , eSQ_germline , eSQ_group , eSQ_haplogroup ,
  eSQ_haplotype , eSQ_identified_by , eSQ_insertion_seq_name , eSQ_isolate ,
  eSQ_isolation_source , eSQ_lab_host , eSQ_label , eSQ_lat_lon ,
  eSQ_linkage_group , eSQ_macronuclear , eSQ_mating_type , eSQ_map ,
  eSQ_metagenome_source , eSQ_metagenomic , eSQ_mobile_element , eSQ_mol_type ,
  eSQ_old_lineage , eSQ_old_name , eSQ_organism , eSQ_organelle ,
  eSQ_orgmod_note , eSQ_pathovar , eSQ_PCR_primers , eSQ_pcr_primer_note ,
  eSQ_plasmid_name , eSQ_plastid_name , eSQ_pop_variant , eSQ_rearranged ,
  eSQ_rev_primer_name , eSQ_rev_primer_seq , eSQ_segment , eSQ_seqfeat_note ,
  eSQ_sequenced_mol , eSQ_serogroup , eSQ_serotype , eSQ_serovar ,
  eSQ_sex , eSQ_spec_or_nat_host , eSQ_specimen_voucher , eSQ_strain ,
  eSQ_subclone , eSQ_subgroup , eSQ_sub_species , eSQ_substrain ,
  eSQ_subtype , eSQ_subsource_note , eSQ_synonym , eSQ_teleomorph ,
  eSQ_tissue_lib , eSQ_tissue_type , eSQ_transgenic , eSQ_transposon_name ,
  eSQ_type , eSQ_type_material , eSQ_unstructured , eSQ_usedin ,
  eSQ_variety , eSQ_whole_replicon , eSQ_zero_orgmod , eSQ_one_orgmod ,
  eSQ_zero_subsrc , eSQ_submitter_seqid , eSQ_NUM_SOURCE_QUALIFIERS
}
 

Functions

CTempString GetStringOfFeatQual (EFeatureQualifier eFeatureQualifier)
 Given a EFeatureQualifier, this returns the qualifier name. More...
 
CTempString GetStringOfSourceQual (ESourceQualifier eSourceQualifier)
 Given a ESourceQualifier, this returns the qualifier name. More...
 
ESourceQualifier GetSourceQualOfOrgMod (COrgMod::ESubtype eOrgModSubtype)
 Translate an org-mod subtype into a sourcequalifier. More...
 
ESourceQualifier GetSourceQualOfSubSource (CSubSource::ESubtype eSubSourceSubtype)
 Translate a subsource subtype into a sourcequalifier. More...
 

Enumeration Type Documentation

◆ EFeatureQualifier

Enumerator
eFQ_none 
eFQ_allele 
eFQ_anticodon 
eFQ_artificial_location 
eFQ_bond 
eFQ_bond_type 
eFQ_bound_moiety 
eFQ_calculated_mol_wt 
eFQ_cds_product 
eFQ_circular_RNA 
eFQ_citation 
eFQ_clone 
eFQ_coded_by 
eFQ_codon 
eFQ_codon_start 
eFQ_compare 
eFQ_cons_splice 
eFQ_cyt_map 
eFQ_db_xref 
eFQ_derived_from 
eFQ_direction 
eFQ_EC_number 
eFQ_encodes 
eFQ_estimated_length 
eFQ_evidence 
eFQ_experiment 
eFQ_exception 
eFQ_exception_note 
eFQ_figure 
eFQ_frequency 
eFQ_function 
eFQ_gap_type 
eFQ_gen_map 
eFQ_gene 
eFQ_gene_desc 
eFQ_gene_allele 
eFQ_gene_map 
eFQ_gene_syn 
eFQ_gene_syn_refseq 
eFQ_gene_note 
eFQ_gene_xref 
eFQ_go_component 
eFQ_go_function 
eFQ_go_process 
eFQ_heterogen 
eFQ_illegal_qual 
eFQ_inference 
eFQ_insertion_seq 
eFQ_label 
eFQ_linkage_evidence 
eFQ_locus_tag 
eFQ_map 
eFQ_maploc 
eFQ_mobile_element 
eFQ_mobile_element_type 
eFQ_mod_base 
eFQ_modelev 
eFQ_mol_wt 
eFQ_ncRNA_class 
eFQ_nomenclature 
eFQ_non_std_residue 
eFQ_number 
eFQ_old_locus_tag 
eFQ_operon 
eFQ_organism 
eFQ_partial 
eFQ_PCR_conditions 
eFQ_peptide 
eFQ_phenotype 
eFQ_product 
eFQ_product_quals 
eFQ_prot_activity 
eFQ_prot_comment 
eFQ_prot_EC_number 
eFQ_prot_note 
eFQ_prot_method 
eFQ_prot_conflict 
eFQ_prot_desc 
eFQ_prot_missing 
eFQ_prot_name 
eFQ_prot_names 
eFQ_protein_id 
eFQ_pseudo 
eFQ_pseudogene 
eFQ_pyrrolysine 
eFQ_pyrrolysine_note 
eFQ_rad_map 
eFQ_region 
eFQ_region_name 
eFQ_recombination_class 
eFQ_regulatory_class 
eFQ_replace 
eFQ_ribosomal_slippage 
eFQ_rpt_family 
eFQ_rpt_type 
eFQ_rpt_unit 
eFQ_rpt_unit_range 
eFQ_rpt_unit_seq 
eFQ_rrna_its 
eFQ_satellite 
eFQ_sec_str_type 
eFQ_selenocysteine 
eFQ_selenocysteine_note 
eFQ_seqfeat_note 
eFQ_site 
eFQ_site_type 
eFQ_standard_name 
eFQ_tag_peptide 
eFQ_trans_splicing 
eFQ_transcription 
eFQ_transcript_id 
eFQ_transcript_id_note 
eFQ_transl_except 
eFQ_transl_table 
eFQ_translation 
eFQ_transposon 
eFQ_trna_aa 
eFQ_trna_codons 
eFQ_UniProtKB_evidence 
eFQ_usedin 
eFQ_xtra_prod_quals 
eFQ_NUM_SOURCE_QUALIFIERS 

Definition at line 50 of file flat_qual_slots.hpp.

◆ ESourceQualifier

Enumerator
eSQ_none 
eSQ_acronym 
eSQ_altitude 
eSQ_anamorph 
eSQ_authority 
eSQ_bio_material 
eSQ_biotype 
eSQ_biovar 
eSQ_breed 
eSQ_cell_line 
eSQ_cell_type 
eSQ_chemovar 
eSQ_chromosome 
eSQ_citation 
eSQ_clone 
eSQ_clone_lib 
eSQ_collected_by 
eSQ_collection_date 
eSQ_common 
eSQ_common_name 
eSQ_country 
eSQ_cultivar 
eSQ_culture_collection 
eSQ_db_xref 
eSQ_org_xref 
eSQ_dev_stage 
eSQ_dosage 
eSQ_ecotype 
eSQ_endogenous_virus_name 
eSQ_environmental_sample 
eSQ_extrachrom 
eSQ_focus 
eSQ_forma 
eSQ_forma_specialis 
eSQ_frequency 
eSQ_fwd_primer_name 
eSQ_fwd_primer_seq 
eSQ_gb_acronym 
eSQ_gb_anamorph 
eSQ_gb_synonym 
eSQ_genotype 
eSQ_germline 
eSQ_group 
eSQ_haplogroup 
eSQ_haplotype 
eSQ_identified_by 
eSQ_insertion_seq_name 
eSQ_isolate 
eSQ_isolation_source 
eSQ_lab_host 
eSQ_label 
eSQ_lat_lon 
eSQ_linkage_group 
eSQ_macronuclear 
eSQ_mating_type 
eSQ_map 
eSQ_metagenome_source 
eSQ_metagenomic 
eSQ_mobile_element 
eSQ_mol_type 
eSQ_old_lineage 
eSQ_old_name 
eSQ_organism 
eSQ_organelle 
eSQ_orgmod_note 
eSQ_pathovar 
eSQ_PCR_primers 
eSQ_pcr_primer_note 
eSQ_plasmid_name 
eSQ_plastid_name 
eSQ_pop_variant 
eSQ_rearranged 
eSQ_rev_primer_name 
eSQ_rev_primer_seq 
eSQ_segment 
eSQ_seqfeat_note 
eSQ_sequenced_mol 
eSQ_serogroup 
eSQ_serotype 
eSQ_serovar 
eSQ_sex 
eSQ_spec_or_nat_host 
eSQ_specimen_voucher 
eSQ_strain 
eSQ_subclone 
eSQ_subgroup 
eSQ_sub_species 
eSQ_substrain 
eSQ_subtype 
eSQ_subsource_note 
eSQ_synonym 
eSQ_teleomorph 
eSQ_tissue_lib 
eSQ_tissue_type 
eSQ_transgenic 
eSQ_transposon_name 
eSQ_type 
eSQ_type_material 
eSQ_unstructured 
eSQ_usedin 
eSQ_variety 
eSQ_whole_replicon 
eSQ_zero_orgmod 
eSQ_one_orgmod 
eSQ_zero_subsrc 
eSQ_submitter_seqid 
eSQ_NUM_SOURCE_QUALIFIERS 

Definition at line 182 of file flat_qual_slots.hpp.

Function Documentation

◆ GetSourceQualOfOrgMod()

ESourceQualifier GetSourceQualOfOrgMod ( COrgMod::ESubtype  eOrgModSubtype)

Translate an org-mod subtype into a sourcequalifier.

Returns
The equivalent ESourceQualifier, or eSQ_none on error.

Definition at line 329 of file flat_qual_slots.cpp.

References CASE_ORGMOD, eSQ_none, eSQ_orgmod_note, eSQ_spec_or_nat_host, COrgMod_Base::eSubtype_nat_host, and COrgMod_Base::eSubtype_other.

Referenced by s_OrgModToSlot().

◆ GetSourceQualOfSubSource()

ESourceQualifier GetSourceQualOfSubSource ( CSubSource::ESubtype  eSubSourceSubtype)

Translate a subsource subtype into a sourcequalifier.

Returns
The equivalent ESourceQualifier, or eSQ_none on error.

Definition at line 387 of file flat_qual_slots.cpp.

References DO_SS, eSQ_none, eSQ_subsource_note, and CSubSource_Base::eSubtype_other.

Referenced by s_SubSourceToSlot().

◆ GetStringOfFeatQual()

CTempString GetStringOfFeatQual ( EFeatureQualifier  eFeatureQualifier)

Given a EFeatureQualifier, this returns the qualifier name.

Usually, it's the same as the enum name minus the "eFQ_" prefix, but not always.

Returns
The string correspondnig to the given eFeatureQualifier, or "UNKNOWN_FEAT_QUAL" on error

Definition at line 47 of file flat_qual_slots.cpp.

References _ASSERT, DEFINE_STATIC_ARRAY_MAP, eFQ_cds_product, eFQ_gene_allele, eFQ_gene_map, eFQ_gene_syn_refseq, eFQ_gene_xref, eFQ_go_component, eFQ_go_function, eFQ_go_process, eFQ_illegal_qual, eFQ_NUM_SOURCE_QUALIFIERS, eFQ_prot_activity, eFQ_prot_EC_number, eFQ_prot_name, eFQ_transcript_id_note, label, number, site, and TYPICAL_FQ.

◆ GetStringOfSourceQual()

CTempString GetStringOfSourceQual ( ESourceQualifier  eSourceQualifier)

Given a ESourceQualifier, this returns the qualifier name.

Usually, it's the same as the enum name minus the "eSQ_" prefix, but not always.

Returns
The string correspondnig to the given eSourceQualifier, or "UNKNOWN_SOURCE_QUAL" on error

Definition at line 195 of file flat_qual_slots.cpp.

References _ASSERT, DEFINE_STATIC_ARRAY_MAP, eSQ_endogenous_virus_name, eSQ_insertion_seq_name, eSQ_NUM_SOURCE_QUALIFIERS, eSQ_one_orgmod, eSQ_org_xref, eSQ_plasmid_name, eSQ_plastid_name, eSQ_spec_or_nat_host, eSQ_subclone, eSQ_substrain, eSQ_transposon_name, eSQ_zero_orgmod, eSQ_zero_subsrc, label, and TYPICAL_SQ.

Modified on Fri Sep 20 14:57:57 2024 by modify_doxy.py rev. 669887