NCBI C++ ToolKit
Typedefs | Functions | Variables
molinfo_fieldtype.cpp File Reference
#include <ncbi_pch.hpp>
#include <util/static_set.hpp>
#include <util/static_map.hpp>
#include <objtools/edit/field_handler.hpp>
#include <gui/widgets/edit/molinfo_fieldtype.hpp>
+ Include dependency graph for molinfo_fieldtype.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Typedefs

typedef CStaticPairArrayMap< const char *, CMolInfo::TBiomol, PCase_CStrTCStringBiomolPairsMap
 
typedef CStaticPairArrayMap< const char *, CMolInfo::TBiomol, PCase_CStrTCStringTechPairsMap
 
typedef CStaticPairArrayMap< const char *, CMolInfo::TCompleteness, PCase_CStrTCStringCompletenessPairsMap
 
typedef CStaticPairArrayMap< const char *, CSeq_inst::TMol, PCase_CStrTCStringMolPairsMap
 
typedef CStaticPairArrayMap< const char *, CSeq_inst::TTopology, PCase_CStrTCStringTopologyPairsMap
 
typedef CStaticPairArrayMap< const char *, CSeq_inst::TStrand, PCase_CStrTCStringStrandPairsMap
 
typedef CStaticPairArrayMap< const char *, CSeq_inst::TRepr, PCase_CStrTCStringReprPairsMap
 

Functions

 USING_SCOPE (objects)
 
 DEFINE_STATIC_ARRAY_MAP (TCStringBiomolPairsMap, k_biomol_names, s_map_biomol_names)
 
 DEFINE_STATIC_ARRAY_MAP (TCStringTechPairsMap, k_tech_names, s_map_tech_names)
 
 DEFINE_STATIC_ARRAY_MAP (TCStringCompletenessPairsMap, k_completeness_names, s_map_completeness_names)
 
 DEFINE_STATIC_ARRAY_MAP (TCStringMolPairsMap, k_mol_names, s_map_mol_names)
 
 DEFINE_STATIC_ARRAY_MAP (TCStringTopologyPairsMap, k_topology_names, s_map_topology_names)
 
 DEFINE_STATIC_ARRAY_MAP (TCStringStrandPairsMap, k_strand_names, s_map_strand_names)
 
 DEFINE_STATIC_ARRAY_MAP (TCStringReprPairsMap, k_repr_names, s_map_repr_names)
 

Variables

static const SStaticPair< const char *, CMolInfo::TBiomols_map_biomol_names []
 
static const SStaticPair< const char *, CMolInfo::TTechs_map_tech_names []
 
static const SStaticPair< const char *, CMolInfo::TCompletenesss_map_completeness_names []
 
static const SStaticPair< const char *, CSeq_inst::TMols_map_mol_names []
 
static const SStaticPair< const char *, CSeq_inst::TTopologys_map_topology_names []
 
static const SStaticPair< const char *, CSeq_inst::TStrands_map_strand_names []
 
static const SStaticPair< const char *, CSeq_inst::TReprs_map_repr_names []
 

Typedef Documentation

◆ TCStringBiomolPairsMap

Definition at line 153 of file molinfo_fieldtype.cpp.

◆ TCStringCompletenessPairsMap

Definition at line 256 of file molinfo_fieldtype.cpp.

◆ TCStringMolPairsMap

Definition at line 298 of file molinfo_fieldtype.cpp.

◆ TCStringReprPairsMap

Definition at line 424 of file molinfo_fieldtype.cpp.

◆ TCStringStrandPairsMap

Definition at line 380 of file molinfo_fieldtype.cpp.

◆ TCStringTechPairsMap

Definition at line 209 of file molinfo_fieldtype.cpp.

◆ TCStringTopologyPairsMap

Definition at line 339 of file molinfo_fieldtype.cpp.

Function Documentation

◆ DEFINE_STATIC_ARRAY_MAP() [1/7]

DEFINE_STATIC_ARRAY_MAP ( TCStringBiomolPairsMap  ,
k_biomol_names  ,
s_map_biomol_names   
)

◆ DEFINE_STATIC_ARRAY_MAP() [2/7]

DEFINE_STATIC_ARRAY_MAP ( TCStringCompletenessPairsMap  ,
k_completeness_names  ,
s_map_completeness_names   
)

◆ DEFINE_STATIC_ARRAY_MAP() [3/7]

DEFINE_STATIC_ARRAY_MAP ( TCStringMolPairsMap  ,
k_mol_names  ,
s_map_mol_names   
)

◆ DEFINE_STATIC_ARRAY_MAP() [4/7]

DEFINE_STATIC_ARRAY_MAP ( TCStringReprPairsMap  ,
k_repr_names  ,
s_map_repr_names   
)

◆ DEFINE_STATIC_ARRAY_MAP() [5/7]

DEFINE_STATIC_ARRAY_MAP ( TCStringStrandPairsMap  ,
k_strand_names  ,
s_map_strand_names   
)

◆ DEFINE_STATIC_ARRAY_MAP() [6/7]

DEFINE_STATIC_ARRAY_MAP ( TCStringTechPairsMap  ,
k_tech_names  ,
s_map_tech_names   
)

◆ DEFINE_STATIC_ARRAY_MAP() [7/7]

DEFINE_STATIC_ARRAY_MAP ( TCStringTopologyPairsMap  ,
k_topology_names  ,
s_map_topology_names   
)

◆ USING_SCOPE()

USING_SCOPE ( objects  )

Variable Documentation

◆ s_map_biomol_names

const SStaticPair<const char*, CMolInfo::TBiomol> s_map_biomol_names[]
static
Initial value:
=
{
{ "genomic", CMolInfo::eBiomol_genomic },
{ "genomic mRNA", CMolInfo::eBiomol_genomic_mRNA },
{ "other-genetic", CMolInfo::eBiomol_other_genetic },
{ "peptide", CMolInfo::eBiomol_peptide },
{ "precursor RNA", CMolInfo::eBiomol_pre_RNA },
{ "snoRNA", CMolInfo::eBiomol_snoRNA },
{ "transcribed_RNA", CMolInfo::eBiomol_transcribed_RNA }
}
@ eBiomol_pre_RNA
precursor RNA of any sort really
Definition: MolInfo_.hpp:102
@ eBiomol_cRNA
viral RNA genome copy intermediate
Definition: MolInfo_.hpp:111
@ eBiomol_snoRNA
small nucleolar RNA
Definition: MolInfo_.hpp:112
@ eBiomol_genomic_mRNA
reported a mix of genomic and cdna sequence
Definition: MolInfo_.hpp:110
@ eBiomol_transcribed_RNA
transcribed RNA other than existing classes
Definition: MolInfo_.hpp:113
@ eBiomol_other_genetic
other genetic material
Definition: MolInfo_.hpp:109

Definition at line 132 of file molinfo_fieldtype.cpp.

◆ s_map_completeness_names

const SStaticPair<const char*, CMolInfo::TCompleteness> s_map_completeness_names[]
static
Initial value:
=
{
}
@ eCompleteness_unknown
Definition: MolInfo_.hpp:155
@ eCompleteness_has_left
5' or NH3 end present
Definition: MolInfo_.hpp:161
@ eCompleteness_complete
complete biological entity
Definition: MolInfo_.hpp:156
@ eCompleteness_has_right
3' or COOH end present
Definition: MolInfo_.hpp:162
@ eCompleteness_no_left
missing 5' or NH3 end
Definition: MolInfo_.hpp:158
@ eCompleteness_partial
partial but no details given
Definition: MolInfo_.hpp:157
@ eCompleteness_no_right
missing 3' or COOH end
Definition: MolInfo_.hpp:159
@ eCompleteness_no_ends
missing both ends
Definition: MolInfo_.hpp:160

Definition at line 242 of file molinfo_fieldtype.cpp.

◆ s_map_mol_names

const SStaticPair<const char*, CSeq_inst::TMol> s_map_mol_names[]
static
Initial value:
=
{
{ "DNA", CSeq_inst::eMol_dna },
{ "RNA", CSeq_inst::eMol_rna },
{ "nucleotide", CSeq_inst::eMol_na },
{ "other", CSeq_inst::eMol_other },
{ "protein", CSeq_inst::eMol_aa }
}
@ eMol_not_set
> cdna = rna
Definition: Seq_inst_.hpp:109
@ eMol_na
just a nucleic acid
Definition: Seq_inst_.hpp:113

Definition at line 287 of file molinfo_fieldtype.cpp.

◆ s_map_repr_names

const SStaticPair<const char*, CSeq_inst::TRepr> s_map_repr_names[]
static
Initial value:
=
{
{ "consensus", CSeq_inst::eRepr_consen },
{ "constructed", CSeq_inst::eRepr_const },
{ "delta", CSeq_inst::eRepr_delta },
{ "ordered map", CSeq_inst::eRepr_map },
{ "other", CSeq_inst::eRepr_other },
{ "reference to another", CSeq_inst::eRepr_ref },
{ "segmented", CSeq_inst::eRepr_seg },
{ "virtual", CSeq_inst::eRepr_virtual }
}
@ eRepr_const
constructed sequence
Definition: Seq_inst_.hpp:96
@ eRepr_ref
reference to another sequence
Definition: Seq_inst_.hpp:97
@ eRepr_seg
segmented sequence
Definition: Seq_inst_.hpp:95
@ eRepr_delta
sequence made by changes (delta) to others
Definition: Seq_inst_.hpp:100
@ eRepr_map
ordered map of any kind
Definition: Seq_inst_.hpp:99
@ eRepr_consen
consensus sequence or pattern
Definition: Seq_inst_.hpp:98
@ eRepr_raw
continuous sequence
Definition: Seq_inst_.hpp:94
@ eRepr_virtual
no seq data
Definition: Seq_inst_.hpp:93
@ eRepr_not_set
empty
Definition: Seq_inst_.hpp:92

Definition at line 410 of file molinfo_fieldtype.cpp.

◆ s_map_strand_names

const SStaticPair<const char*, CSeq_inst::TStrand> s_map_strand_names[]
static
Initial value:
=
{
{ "double", CSeq_inst::eStrand_ds },
{ "single", CSeq_inst::eStrand_ss }
}
@ eStrand_other
default ds for DNA, ss for RNA, pept
Definition: Seq_inst_.hpp:138
@ eStrand_ds
double strand
Definition: Seq_inst_.hpp:136
@ eStrand_ss
single strand
Definition: Seq_inst_.hpp:135

Definition at line 370 of file molinfo_fieldtype.cpp.

◆ s_map_tech_names

const SStaticPair<const char*, CMolInfo::TTech> s_map_tech_names[]
static
Initial value:
=
{
{ "EST", CMolInfo::eTech_est },
{ "FLI_cDNA", CMolInfo::eTech_fli_cdna },
{ "HTC", CMolInfo::eTech_htc },
{ "HTGS 0", CMolInfo::eTech_htgs_0 },
{ "HTGS 1", CMolInfo::eTech_htgs_1 },
{ "HTGS 2", CMolInfo::eTech_htgs_2 },
{ "HTGS 3", CMolInfo::eTech_htgs_3 },
{ "STS", CMolInfo::eTech_sts },
{ "TSA", CMolInfo::eTech_tsa },
{ "WGS", CMolInfo::eTech_wgs },
{ "both", CMolInfo::eTech_both },
{ "composite-WGS-HTGS", CMolInfo::eTech_composite_wgs_htgs },
{ "concept-trans", CMolInfo::eTech_concept_trans },
{ "concept-trans-A", CMolInfo::eTech_concept_trans_a },
{ "derived", CMolInfo::eTech_derived },
{ "genetic map", CMolInfo::eTech_genemap },
{ "physical map", CMolInfo::eTech_physmap },
{ "seq-pept", CMolInfo::eTech_seq_pept },
{ "seq-pept-homol", CMolInfo::eTech_seq_pept_homol },
{ "seq-pept-overlap", CMolInfo::eTech_seq_pept_overlap },
{ "standard", CMolInfo::eTech_standard },
{ "survey", CMolInfo::eTech_survey }
}
@ eTech_htgs_2
ordered High Throughput sequence contig
Definition: MolInfo_.hpp:138
@ eTech_physmap
from physical mapping techniques
Definition: MolInfo_.hpp:129
@ eTech_htc
high throughput cDNA
Definition: MolInfo_.hpp:142
@ eTech_both
concept transl. w/ partial pept. seq.
Definition: MolInfo_.hpp:133
@ eTech_seq_pept_homol
sequenced peptide, ordered by homology
Definition: MolInfo_.hpp:135
@ eTech_composite_wgs_htgs
composite of WGS and HTGS
Definition: MolInfo_.hpp:145
@ eTech_sts
Sequence Tagged Site.
Definition: MolInfo_.hpp:126
@ eTech_htgs_3
finished High Throughput sequence
Definition: MolInfo_.hpp:139
@ eTech_seq_pept_overlap
sequenced peptide, ordered by overlap
Definition: MolInfo_.hpp:134
@ eTech_htgs_1
unordered High Throughput sequence contig
Definition: MolInfo_.hpp:137
@ eTech_concept_trans
conceptual translation
Definition: MolInfo_.hpp:131
@ eTech_tsa
transcriptome shotgun assembly
Definition: MolInfo_.hpp:146
@ eTech_standard
standard sequencing
Definition: MolInfo_.hpp:124
@ eTech_wgs
whole genome shotgun sequencing
Definition: MolInfo_.hpp:143
@ eTech_seq_pept
peptide was sequenced
Definition: MolInfo_.hpp:132
@ eTech_survey
one-pass genomic sequence
Definition: MolInfo_.hpp:127
@ eTech_htgs_0
single genomic reads for coordination
Definition: MolInfo_.hpp:141
@ eTech_derived
derived from other data, not a primary entity
Definition: MolInfo_.hpp:130
@ eTech_fli_cdna
full length insert cDNA
Definition: MolInfo_.hpp:140
@ eTech_est
Expressed Sequence Tag.
Definition: MolInfo_.hpp:125
@ eTech_concept_trans_a
conceptual transl. supplied by author
Definition: MolInfo_.hpp:136
@ eTech_genemap
from genetic mapping techniques
Definition: MolInfo_.hpp:128

Definition at line 182 of file molinfo_fieldtype.cpp.

◆ s_map_topology_names

const SStaticPair<const char*, CSeq_inst::TTopology> s_map_topology_names[]
static
Initial value:
=
{
}
@ eTopology_tandem
some part of tandem repeat
Definition: Seq_inst_.hpp:125

Definition at line 329 of file molinfo_fieldtype.cpp.

Modified on Wed Jun 12 11:12:02 2024 by modify_doxy.py rev. 669887