NCBI C++ ToolKit
flat_qual_slots.hpp
Go to the documentation of this file.

Go to the SVN repository for this file.

1 #ifndef OBJTOOLS_FLAT___FLAT_QUAL_SLOTS__HPP
2 #define OBJTOOLS_FLAT___FLAT_QUAL_SLOTS__HPP
3 
4 /* $Id: flat_qual_slots.hpp 91366 2020-10-19 16:39:55Z kans $
5 * ===========================================================================
6 *
7 * PUBLIC DOMAIN NOTICE
8 * National Center for Biotechnology Information
9 *
10 * This software/database is a "United States Government Work" under the
11 * terms of the United States Copyright Act. It was written as part of
12 * the author's official duties as a United States Government employee and
13 * thus cannot be copyrighted. This software/database is freely available
14 * to the public for use. The National Library of Medicine and the U.S.
15 * Government have not placed any restriction on its use or reproduction.
16 *
17 * Although all reasonable efforts have been taken to ensure the accuracy
18 * and reliability of the software and data, the NLM and the U.S.
19 * Government do not and cannot warrant the performance or results that
20 * may be obtained by using this software or data. The NLM and the U.S.
21 * Government disclaim all warranties, express or implied, including
22 * warranties of performance, merchantability or fitness for any particular
23 * purpose.
24 *
25 * Please cite the author in any work or product based on this material.
26 *
27 * ===========================================================================
28 *
29 * Author: Aaron Ucko, NCBI
30 *
31 * File Description:
32 * new (early 2003) flat-file formatter -- qualifier slots
33 * (public only because one can't predeclare enums...)
34 *
35 */
36 #include <corelib/ncbistd.hpp>
39 
42 
43 // super set of feature qualifiers defined by the consortium and genbank
44 // specific qualifiers.
45 // (The first qualifier must have value 0 and
46 // the rest must increment by one, with the last one
47 // being eFQ_NUM_SOURCE_QUALIFIERS. This makes
48 // it easy for other places to iterate through all
49 // possible EFeatureQualifier's.)
172 
173  // This must be last
175 };
176 
177 // The first qualifier must have value 0 and
178 // the rest must increment by one, with the last one
179 // being eSQ_NUM_SOURCE_QUALIFIERS. This makes
180 // it easy for other places to iterate through all
181 // possible ESourceQualifier's.
289 
290  // This must be last
292 };
293 
294 /// Given a EFeatureQualifier, this returns the qualifier name.
295 /// Usually, it's the same as the enum name minus the "eFQ_" prefix, but not always.
296 /// @return
297 /// The string correspondnig to the given eFeatureQualifier, or "UNKNOWN_FEAT_QUAL" on error
299 
300 /// Given a ESourceQualifier, this returns the qualifier name.
301 /// Usually, it's the same as the enum name minus the "eSQ_" prefix, but not always.
302 /// @return
303 /// The string correspondnig to the given eSourceQualifier, or "UNKNOWN_SOURCE_QUAL" on error
305 
306 /// Translate an org-mod subtype into a sourcequalifier
307 /// @return
308 /// The equivalent ESourceQualifier, or eSQ_none on error.
310 
311 /// Translate a subsource subtype into a sourcequalifier
312 /// @return
313 /// The equivalent ESourceQualifier, or eSQ_none on error.
315 
318 
319 
320 #endif /* OBJTOOLS_FLAT___FLAT_QUAL_SLOTS__HPP */
CTempString implements a light-weight string on top of a storage buffer whose lifetime management is ...
Definition: tempstr.hpp:65
Include a standard set of the NCBI C++ Toolkit most basic headers.
CTempString GetStringOfSourceQual(ESourceQualifier eSourceQualifier)
Given a ESourceQualifier, this returns the qualifier name.
ESourceQualifier GetSourceQualOfOrgMod(COrgMod::ESubtype eOrgModSubtype)
Translate an org-mod subtype into a sourcequalifier.
ESourceQualifier
@ eSQ_spec_or_nat_host
@ eSQ_focus
@ eSQ_bio_material
@ eSQ_map
@ eSQ_isolation_source
@ eSQ_none
@ eSQ_one_orgmod
@ eSQ_transposon_name
@ eSQ_subtype
@ eSQ_collected_by
@ eSQ_usedin
@ eSQ_mobile_element
@ eSQ_serogroup
@ eSQ_org_xref
@ eSQ_breed
@ eSQ_tissue_type
@ eSQ_common_name
@ eSQ_biotype
@ eSQ_extrachrom
@ eSQ_plasmid_name
@ eSQ_fwd_primer_seq
@ eSQ_orgmod_note
@ eSQ_zero_orgmod
@ eSQ_collection_date
@ eSQ_serotype
@ eSQ_lab_host
@ eSQ_common
@ eSQ_type_material
@ eSQ_pathovar
@ eSQ_synonym
@ eSQ_haplogroup
@ eSQ_rev_primer_name
@ eSQ_country
@ eSQ_metagenomic
@ eSQ_group
@ eSQ_zero_subsrc
@ eSQ_authority
@ eSQ_plastid_name
@ eSQ_fwd_primer_name
@ eSQ_isolate
@ eSQ_lat_lon
@ eSQ_dev_stage
@ eSQ_sex
@ eSQ_cell_line
@ eSQ_insertion_seq_name
@ eSQ_organelle
@ eSQ_clone
@ eSQ_chemovar
@ eSQ_submitter_seqid
@ eSQ_gb_anamorph
@ eSQ_rev_primer_seq
@ eSQ_forma
@ eSQ_cultivar
@ eSQ_clone_lib
@ eSQ_variety
@ eSQ_subclone
@ eSQ_citation
@ eSQ_transgenic
@ eSQ_anamorph
@ eSQ_macronuclear
@ eSQ_tissue_lib
@ eSQ_PCR_primers
@ eSQ_rearranged
@ eSQ_chromosome
@ eSQ_haplotype
@ eSQ_dosage
@ eSQ_gb_acronym
@ eSQ_genotype
@ eSQ_substrain
@ eSQ_sequenced_mol
@ eSQ_whole_replicon
@ eSQ_serovar
@ eSQ_teleomorph
@ eSQ_NUM_SOURCE_QUALIFIERS
@ eSQ_metagenome_source
@ eSQ_biovar
@ eSQ_mol_type
@ eSQ_frequency
@ eSQ_environmental_sample
@ eSQ_culture_collection
@ eSQ_type
@ eSQ_forma_specialis
@ eSQ_organism
@ eSQ_subsource_note
@ eSQ_label
@ eSQ_acronym
@ eSQ_seqfeat_note
@ eSQ_germline
@ eSQ_segment
@ eSQ_strain
@ eSQ_cell_type
@ eSQ_old_lineage
@ eSQ_old_name
@ eSQ_db_xref
@ eSQ_endogenous_virus_name
@ eSQ_pcr_primer_note
@ eSQ_identified_by
@ eSQ_sub_species
@ eSQ_pop_variant
@ eSQ_subgroup
@ eSQ_specimen_voucher
@ eSQ_ecotype
@ eSQ_unstructured
@ eSQ_linkage_group
@ eSQ_mating_type
@ eSQ_altitude
@ eSQ_gb_synonym
ESourceQualifier GetSourceQualOfSubSource(CSubSource::ESubtype eSubSourceSubtype)
Translate a subsource subtype into a sourcequalifier.
CTempString GetStringOfFeatQual(EFeatureQualifier eFeatureQualifier)
Given a EFeatureQualifier, this returns the qualifier name.
EFeatureQualifier
@ eFQ_NUM_SOURCE_QUALIFIERS
@ eFQ_cons_splice
@ eFQ_insertion_seq
@ eFQ_label
@ eFQ_rpt_type
@ eFQ_codon
@ eFQ_PCR_conditions
@ eFQ_pyrrolysine
@ eFQ_rpt_unit
@ eFQ_mobile_element_type
@ eFQ_cds_product
@ eFQ_prot_missing
@ eFQ_transposon
@ eFQ_trans_splicing
@ eFQ_prot_conflict
@ eFQ_rpt_unit_seq
@ eFQ_gene_syn_refseq
@ eFQ_gene
@ eFQ_region_name
@ eFQ_db_xref
@ eFQ_product
@ eFQ_gen_map
@ eFQ_number
@ eFQ_operon
@ eFQ_bond
@ eFQ_gap_type
@ eFQ_phenotype
@ eFQ_pseudo
@ eFQ_prot_activity
@ eFQ_calculated_mol_wt
@ eFQ_translation
@ eFQ_function
@ eFQ_prot_comment
@ eFQ_exception_note
@ eFQ_circular_RNA
@ eFQ_prot_desc
@ eFQ_non_std_residue
@ eFQ_gene_syn
@ eFQ_prot_names
@ eFQ_gene_xref
@ eFQ_site_type
@ eFQ_figure
@ eFQ_UniProtKB_evidence
@ eFQ_tag_peptide
@ eFQ_region
@ eFQ_mobile_element
@ eFQ_transcript_id_note
@ eFQ_mod_base
@ eFQ_regulatory_class
@ eFQ_site
@ eFQ_coded_by
@ eFQ_go_function
@ eFQ_mol_wt
@ eFQ_rpt_family
@ eFQ_partial
@ eFQ_derived_from
@ eFQ_compare
@ eFQ_direction
@ eFQ_anticodon
@ eFQ_rad_map
@ eFQ_rrna_its
@ eFQ_trna_aa
@ eFQ_seqfeat_note
@ eFQ_gene_allele
@ eFQ_xtra_prod_quals
@ eFQ_prot_name
@ eFQ_trna_codons
@ eFQ_protein_id
@ eFQ_transcription
@ eFQ_cyt_map
@ eFQ_pseudogene
@ eFQ_prot_note
@ eFQ_selenocysteine
@ eFQ_clone
@ eFQ_ribosomal_slippage
@ eFQ_EC_number
@ eFQ_recombination_class
@ eFQ_maploc
@ eFQ_citation
@ eFQ_product_quals
@ eFQ_artificial_location
@ eFQ_linkage_evidence
@ eFQ_old_locus_tag
@ eFQ_bond_type
@ eFQ_replace
@ eFQ_gene_desc
@ eFQ_inference
@ eFQ_frequency
@ eFQ_go_component
@ eFQ_transcript_id
@ eFQ_standard_name
@ eFQ_bound_moiety
@ eFQ_pyrrolysine_note
@ eFQ_selenocysteine_note
@ eFQ_exception
@ eFQ_estimated_length
@ eFQ_locus_tag
@ eFQ_encodes
@ eFQ_heterogen
@ eFQ_nomenclature
@ eFQ_prot_EC_number
@ eFQ_transl_except
@ eFQ_map
@ eFQ_evidence
@ eFQ_usedin
@ eFQ_organism
@ eFQ_ncRNA_class
@ eFQ_experiment
@ eFQ_go_process
@ eFQ_peptide
@ eFQ_prot_method
@ eFQ_rpt_unit_range
@ eFQ_gene_note
@ eFQ_codon_start
@ eFQ_illegal_qual
@ eFQ_sec_str_type
@ eFQ_modelev
@ eFQ_transl_table
@ eFQ_allele
@ eFQ_gene_map
@ eFQ_satellite
@ eFQ_none
#define END_NCBI_SCOPE
End previously defined NCBI scope.
Definition: ncbistl.hpp:103
#define END_SCOPE(ns)
End the previously defined scope.
Definition: ncbistl.hpp:75
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
Definition: ncbistl.hpp:100
#define BEGIN_SCOPE(ns)
Define a new scope.
Definition: ncbistl.hpp:72
#define NCBI_FORMAT_EXPORT
Definition: ncbi_export.h:496
Modified on Mon Mar 04 05:09:51 2024 by modify_doxy.py rev. 669887