NCBI C++ ToolKit
|
Search Toolkit Book for CMacroEditorContext
#include <gui/widgets/edit/macro_editor_context.hpp>
Public Types | |
using | TBimapStrings = boost::bimap< boost::bimaps::set_of< string, PNocase >, boost::bimaps::set_of< string, PNocase > > |
Static Public Member Functions | |
static CMacroEditorContext & | GetInstance () |
static string | FindInBimapOrEmpty (const string &type, const TBimapStrings &str_bimap) |
static string | s_GetGUIMappedMiscDescr (const string &value) |
static string | s_GetGUIMappedStructCommField (const string &value) |
static bool | s_IsGeneQualifier (const string &field) |
Private Attributes | |
string | m_Field |
string | m_MacroField |
TBimapStrings | m_DescriptorMap |
map< string, pair< int, int > > | m_FeatureMap |
vector< string > | m_Featuretypes |
vector< string > | m_SourceTextKeys {"strain", "host", "isolate", "isolation-source"} |
vector< string > | m_SourceTaxKeys { "taxname", "common", "lineage" } |
vector< string > | m_SourceKeywords |
vector< string > | m_MolinfoKeywords |
vector< string > | m_PubdescKeywords |
vector< string > | m_DBLinkKeywords |
vector< string > | m_MiscKeywords { "Definition line", "Comment descriptor", "Keyword" } |
vector< string > | m_MiscKeywordsToRmv { "Definition line", "Comment descriptor", "Keyword", "Genome Project ID"} |
vector< string > | m_DescrKeywords { "Biosource", "molinfo", "publication", "structured comment", "title" } |
vector< string > | m_GeneKeywords |
vector< string > | m_RnaKeywords |
vector< string > | m_ProteinKeywords |
vector< string > | m_FeatQualKeywords { "cds product", "product name", "cds interference", "anticodon", "note", "EC", "rna", "misc-feature", "gene" } |
vector< string > | m_CdsGeneProtKeywords |
vector< string > | m_ParseToBsrcKeywords { "local id", "definition line", "defline", "taxname", "strain", "isolate"} |
vector< string > | m_ParseTpCdsGeneProtKeywords { "local id", "definition line", "cds comment", "gene locus", "protein name", "mRNA product", "mat_peptide" } |
vector< string > | m_BsrcAutodefWords { "clone", "cultivar", "culture-collection", "haplogroup", "isolate", "strain", "specimen-voucher" } |
vector< string > | m_EmptyKeywords |
Definition at line 89 of file macro_editor_context.hpp.
using CMacroEditorContext::TBimapStrings = boost::bimap<boost::bimaps::set_of<string, PNocase>, boost::bimaps::set_of<string, PNocase> > |
Definition at line 97 of file macro_editor_context.hpp.
|
delete |
|
private |
Definition at line 57 of file macro_editor_context.cpp.
References copy(), CSeqdesc_Base::e_Comment, CSeqdesc_Base::e_Create_date, CSeqdesc_Base::e_Dbxref, CSeqdesc_Base::e_Embl, CSeqdesc_Base::e_Genbank, CSeqdesc_Base::e_Het, CSeqdesc_Base::e_Maploc, CSeqdesc_Base::e_Name, CSeqdesc_Base::e_Num, CSeqdesc_Base::e_Pdb, CSeqdesc_Base::e_Pir, CSeqdesc_Base::e_Prf, CSeqdesc_Base::e_Region, CSeqdesc_Base::e_Sp, CSeqdesc_Base::e_Title, CSeqdesc_Base::e_Update_date, set< Key, Compare >::end(), set< Key, Compare >::find(), CFeatListItem::GetDescription(), CDBLinkFieldType::GetFieldNames(), CMolInfoFieldType::GetFieldNames(), CPubFieldType::GetFieldNames(), GetSortedFeatList(), CCDSGeneProtFieldNamePanel::GetStrings(), CFeatListItem::GetSubtype(), CFeatListItem::GetType(), map_checker< Container >::insert(), set< Key, Compare >::insert(), ITERATE, kEmptyStr, m_CdsGeneProtKeywords, m_DBLinkKeywords, m_DescriptorMap, m_FeatureMap, m_Featuretypes, m_MolinfoKeywords, m_PubdescKeywords, m_SourceKeywords, m_SourceTaxKeys, m_SourceTextKeys, and CSeqdesc_Base::SelectionName().
|
static |
Definition at line 115 of file macro_editor_context.cpp.
References kEmptyStr.
Referenced by NMItemData::GetCapitalizationType(), NMItemData::GetCapitalizationTypeFromChoice(), NMItemData::GetDelimiterChar(), GetGUIDescriptor(), NMItemData::GetHandleOldValue(), s_GetGeneField(), s_GetGUIMappedMiscDescr(), s_GetGUIMappedStructCommField(), s_GetProteinField(), s_MapStrandValues(), x_GetGUIFieldForBsrcTax(), x_GetGUIFieldForBsrcText(), x_GetGUIFieldForMolinfo(), and x_IsDescriptor().
string CMacroEditorContext::GetAsnMolinfoValue | ( | const string & | molinfo_field, |
const string & | choice | ||
) |
Definition at line 1669 of file macro_editor_context.cpp.
References CMolInfoFieldType::e_Class, CMolInfoFieldType::e_Completedness, CMolInfoFieldType::e_MoleculeType, CMolInfoFieldType::e_Repr, CMolInfoFieldType::e_Strand, CMolInfoFieldType::e_Technique, CMolInfoFieldType::e_Topology, ENUM_METHOD_NAME, Error(), CMolInfoFieldType::GetFieldType(), kEmptyStr, LOG_POST, and s_MapStrandValues().
Referenced by CMacroFeatsOnSeqPanel::GetFuncWithArgs(), CMacroFeatsOnSeqPanel::GetLocationConstraint(), CApplyMolinfoQualTreeItemData::GetMacroDescription(), CApplyMolinfoQualTreeItemData::GetVariables(), and CEditMolinfoFieldsTreeItemData::x_GetFunctionFor().
Definition at line 634 of file macro_editor_context.cpp.
References NStr::FindNoCase(), NPOS, and val.
Referenced by CApplyPubQualTreeItemData::GetFunction(), NMItemData::GetResolveFuncForApplyAuthors(), and CApplyPubTableTreeItemData::s_GetFunction().
Definition at line 605 of file macro_editor_context.cpp.
References CSeqFeatData::eSubtype_biosrc, CSeqFeatData::eSubtype_bond, CSeqFeatData::eSubtype_cdregion, CSeqFeatData::eSubtype_comment, CSeqFeatData::eSubtype_gene, CSeqFeatData::eSubtype_mat_peptide_aa, CSeqFeatData::eSubtype_mRNA, CSeqFeatData::eSubtype_preprotein, CSeqFeatData::eSubtype_preRNA, CSeqFeatData::eSubtype_prot, CSeqFeatData::eSubtype_psec_str, CSeqFeatData::eSubtype_pub, CSeqFeatData::eSubtype_region, CSeqFeatData::eSubtype_sig_peptide_aa, CSeqFeatData::eSubtype_site, CSeqFeatData::eSubtype_transit_peptide_aa, NMacroUtil::GetFeatSubtype(), and CSeqFeatData::SubtypeValueToName().
Referenced by CAddFeatureTreeItemData::GetFunction().
Definition at line 513 of file macro_editor_context.cpp.
References x_GetAsnPathToFeatQuals().
string CMacroEditorContext::GetAsnPathToFieldName | ( | const string & | field, |
EMacroFieldType | type, | ||
const string & | target = kEmptyStr |
||
) |
Definition at line 673 of file macro_editor_context.cpp.
References eBiosourceAll, eBiosourceLocation, eBiosourceOrigin, eBiosourceTax, eBiosourceText, eBiosourceTextAll, eCds, eCdsGeneProt, eDBLink, eDescriptors, eFeatQualifiers, eGene, eMiscDescriptors, eMiscDescriptorsToRmv, eMolinfo, eOther, eProtein, ePubAffil, ePubAffilCountry, ePubAffilExcept, ePubAffilFields, ePubAuthors, ePubdesc, ePubTitle, eRNA, eSeqID, eSetFrom, eSetTo, kEmptyStr, m_Field, x_GetAsnPathToAffilFields(), x_GetAsnPathToAllBsrc(), x_GetAsnPathToBsrcTax(), x_GetAsnPathToBsrcText(), x_GetAsnPathToCDS(), x_GetAsnPathToCdsGeneProt(), x_GetAsnPathToDBLinkField(), x_GetAsnPathToDescriptors(), x_GetAsnPathToFeatQuals(), x_GetAsnPathtoGene(), x_GetAsnPathToMiscDescr(), x_GetAsnPathToMiscFields(), x_GetAsnPathToMolinfo(), x_GetAsnPathToProtein(), x_GetAsnPathToPub(), x_GetAsnPathToRna(), and x_GetAsnPathToSet().
Referenced by CSingleQualPanel::GetField(), CApplyQualTreeItemData::GetFunction(), CApplyProteinQualTreeItemData::GetFunction(), CApplyBsrcQualTreeItemData::GetFunction(), CApplyPubQualTreeItemData::GetFunction(), CApplyFeatQualTreeItemData::GetFunction(), CApplyRNAQualTreeItemData::GetFunction(), CConvertRNAQualTreeItemData::GetFunction(), CConvertCdsGeneProtTreeItemData::GetFunction(), CConvertFeatQualTreeItemData::GetFunction(), CConvertBsrcTreeItemData::GetFunction(), CCopyBsrcTreeItemData::GetFunction(), CCopyRNAQualTreeItemData::GetFunction(), CCopyCdsGeneProtTreeItemData::GetFunction(), CCopyFeatQualTreeItemData::GetFunction(), CEditQualTreeItemData::GetFunction(), CEditProteinQualTreeItemData::GetFunction(), CEditFeatQualTreeItemData::GetFunction(), CEditRNAQualTreeItemData::GetFunction(), CFixSrcQualsTreeItemData::GetFunction(), CConvertClassTreeItemData::GetFunction(), CParseBsrcTreeItemData::GetFunction(), CParseToBsrcTreeItemData::GetFunction(), CParseToDBLinkTreeItemData::GetFunction(), CParseToCdsGeneProtTreeItemData::GetFunction(), CParseRNAQualTreeItemData::GetFunction(), CParseFeatQualTreeItemData::GetFunction(), CParseCdsGeneProtTreeItemdata::GetFunction(), CParseBsrcToStructCommTreeItemData::GetFunction(), CRmvQualTreeItemData::GetFunction(), CRmvBsrcQualTreeItemData::GetFunction(), CRmvMiscQualTreeItemData::GetFunction(), CRmvProteinQualTreeItemData::GetFunction(), CRmvFeatQualTreeItemData::GetFunction(), CRmvRNAQualTreeItemData::GetFunction(), CRemoveDescrTreeItemData::GetFunction(), CRmvOrgNameTreeItemData::GetFunction(), CRmvOutsideQualTreeItemData::GetFunction(), CRmvOutsideBsrcTreeItemData::GetFunction(), CRmvOutsideRNAQualTreeItemData::GetFunction(), CRmvOutsideProteinQualTreeItemData::GetFunction(), CRmvOutsideFeatQualTreeItemData::GetFunction(), CSwapBsrcTreeItemData::GetFunction(), CSwapRNAQualTreeItemData::GetFunction(), CSwapCdsGeneProtTreeItemData::GetFunction(), CSwapFeatQualTreeItemData::GetFunction(), NMItemData::GetResolveFuncForDestCdsGeneProtQuals(), NMItemData::GetResolveFuncForDestFeatQuals(), NMItemData::GetResolveFuncForMultiValuedQuals(), NMItemData::GetResolveFuncForPubQual(), NMItemData::GetResolveFuncForPubQualConst(), NMItemData::GetResolveFuncForRNAQuals(), NMItemData::GetResolveFuncForSrcCdsGeneProtQuals(), NMItemData::GetResolveFuncForSrcFeatQuals(), NMItemData::GetResolveFuncForSwapFeatQuals(), NMItemData::GetResolveFuncForSwapQuals(), CParseToBsrcTreeItemData::GetVariables(), CParseToDBLinkTreeItemData::GetVariables(), CParseToCdsGeneProtTreeItemData::GetVariables(), CApplyFeatTableTreeItemData::s_GetFunction(), CApplyCDSGeneProtTableTreeItemData::s_GetFunction(), CApplyRNATableTreeItemData::s_GetFunction(), CApplySrcTableTreeItemData::s_GetFunction(), CApplyPubTableTreeItemData::s_GetFunction(), CApplyMolinfoTableTreeItemData::s_GetFunction(), CApplyMiscTableTreeItemData::s_GetFunction(), CRNAFieldNamePanel::s_GetMacroFieldName(), CApplyTableItemData::s_GetMatchFieldConstraint(), NMItemData::UpdateConstraintsForMisc(), CEditMolinfoFieldsTreeItemData::x_GetFunctionFor(), CTableReaderMacro::x_GetMatchFieldConstraint(), and CParseQualTreeItemData::x_GetResolveFuncForMultValQuals().
vector< string > CMacroEditorContext::GetBondTypes | ( | ) | const |
Definition at line 448 of file macro_editor_context.cpp.
References CBondList::begin(), CBondList::end(), and CSeqFeatData::GetBondList().
Referenced by CMacroPanelLoader::x_UpdateCtrlsOnLBoxSelChange().
Definition at line 123 of file macro_editor_context.hpp.
References m_SourceKeywords.
Referenced by CApplyBsrcQualTreeItemData::GetKeywords(), CConvertBsrcTreeItemData::GetKeywords(), CCopyBsrcTreeItemData::GetKeywords(), CParseBsrcTreeItemData::GetKeywords(), CRmvBsrcQualTreeItemData::GetKeywords(), CRmvOutsideBsrcTreeItemData::GetKeywords(), and CSwapBsrcTreeItemData::GetKeywords().
Definition at line 468 of file macro_editor_context.cpp.
References CConvertFeatureBaseFactory::Create(), CConvertFeatureBase::GetDescription(), and NMacroUtil::GetFeatSubtype().
Referenced by CMacroPanelLoader::x_UpdateCtrlsOnLBoxSelChange().
vector< string > CMacroEditorContext::GetFeatQualifiers | ( | ) | const |
Definition at line 370 of file macro_editor_context.cpp.
References CSeqFeatData::eSubtype_any, FromArrayString(), names, and CFeatureFieldNamePanel::s_FillFeatQualList().
Referenced by CApplyFeatQualTreeItemData::x_AddParamPanel(), CConvertFeatQualTreeItemData::x_AddParamPanel(), CCopyFeatQualTreeItemData::x_AddParamPanel(), CEditFeatQualTreeItemData::x_AddParamPanel(), CParseFeatQualTreeItemData::x_AddParamPanel(), CRmvFeatQualTreeItemData::x_AddParamPanel(), CRmvOutsideFeatQualTreeItemData::x_AddParamPanel(), and CSwapFeatQualTreeItemData::x_AddParamPanel().
Definition at line 353 of file macro_editor_context.cpp.
References map_checker< Container >::end(), map_checker< Container >::find(), and m_FeatureMap.
Referenced by NMItemData::UpdateConstraintsForFeatures(), NMItemData::UpdateTargetForDualFeatures(), and NMItemData::UpdateTargetForFeatures().
vector< string > CMacroEditorContext::GetFeatureTypes | ( | bool | for_removal = false , |
bool | to_create = false , |
||
bool | include_all = false |
||
) | const |
Definition at line 322 of file macro_editor_context.cpp.
References CSeqFeatData_Base::e_Imp, CSeqFeatData::GetTypeFromSubtype(), CSeqFeatData::IsRegulatory(), m_Featuretypes, CFeatureTypePanel::s_IsRarelyUsedOrDiscouragedFeatureType(), and CSeqFeatData::SubtypeNameToValue().
Referenced by CApplyFeatQualTreeItemData::x_AddParamPanel(), CAddFeatureTreeItemData::x_AddParamPanel(), CConvertFeatQualTreeItemData::x_AddParamPanel(), CConvertFeatureTreeItemData::x_AddParamPanel(), CCopyFeatQualTreeItemData::x_AddParamPanel(), CEditFeatQualTreeItemData::x_AddParamPanel(), CEditFeatLocTreeItemData::x_AddParamPanel(), CAddGeneXrefTreeItemData::x_AddParamPanel(), CRemoveGeneXrefTreeItemData::x_AddParamPanel(), CSetExceptionsTreeItemData::x_AddParamPanel(), CParseFeatQualTreeItemData::x_AddParamPanel(), CRmvFeatQualTreeItemData::x_AddParamPanel(), CRemoveFeatureTreeItemData::x_AddParamPanel(), CRemoveDuplFeatsTreeItemData::x_AddParamPanel(), CRemoveDbXrefTreeItemData::x_AddParamPanel(), CRmvOutsideFeatQualTreeItemData::x_AddParamPanel(), and CSwapFeatQualTreeItemData::x_AddParamPanel().
vector< string > CMacroEditorContext::GetFieldNames | ( | EMacroFieldType | type | ) | const |
Definition at line 129 of file macro_editor_context.cpp.
References CMolInfoFieldType::e_Class, CMolInfoFieldType::e_Completedness, CMolInfoFieldType::e_MoleculeType, CMolInfoFieldType::e_Strand, CMolInfoFieldType::e_Technique, CMolInfoFieldType::e_Topology, eBiosourceAll, eBiosourceAutodef, eBiosourceLocation, eBiosourceOrigin, eBiosourceTax, eBiosourceText, eBiosourceTextAll, eCdsGeneProt, eDBLink, eDescriptors, eGene, eMiscDescriptors, eMiscDescriptorsToRmv, eMolinfo, eMolinfoClass, eMolinfoCompleteness, eMolinfoMolecule, eMolinfoStrand, eMolinfoTech, eMolinfoTopology, eOther, eProtein, ePubdesc, CPubFieldType::ePubFieldType_Status, ePubStatus, eRNA, eSetFrom, eSetTo, eStructComment, CMolInfoFieldType::GetChoicesForField(), CPubFieldType::GetChoicesForField(), CPubFieldType::GetFieldNames(), CRNAFieldNamePanel::GetRNAFields(), m_BsrcAutodefWords, m_CdsGeneProtKeywords, m_DBLinkKeywords, m_GeneKeywords, m_MiscKeywords, m_MiscKeywordsToRmv, m_MolinfoKeywords, CSourceFieldNamePanel::s_GetSourceLocationOptions(), CSourceFieldNamePanel::s_GetSourceOriginOptions(), x_GetAllBsrcFieldnames(), x_GetBsrcTaxFieldnames(), x_GetBsrcTextFieldnames(), x_GetDescriptorFieldnames(), x_GetProteinFieldnames(), x_GetSetClassFieldnames(), and x_GetStrCommFieldnames().
Referenced by NMItemData::GetRNASpecificFields(), CApplyQualTreeItemData::x_AddParamPanel(), CApplyProteinQualTreeItemData::x_AddParamPanel(), CApplyBsrcQualTreeItemData::x_AddParamPanel(), CApplyMolinfoQualTreeItemData::x_AddParamPanel(), CApplyPubQualTreeItemData::x_AddParamPanel(), CApplyDBLinkQualTreeItemData::x_AddParamPanel(), CApplyStrCommQualTreeItemData::x_AddParamPanel(), CApplyRNAQualTreeItemData::x_AddParamPanel(), CConvertQualTreeItemData::x_AddParamPanel(), CConvertProteinQualTreeItemData::x_AddParamPanel(), CConvertRNAQualTreeItemData::x_AddParamPanel(), CConvertCdsGeneProtTreeItemData::x_AddParamPanel(), CConvertBsrcTreeItemData::x_AddParamPanel(), CCopyQualTreeItemData::x_AddParamPanel(), CCopyBsrcTreeItemData::x_AddParamPanel(), CCopyProteinQualTreeItemData::x_AddParamPanel(), CCopyRNAQualTreeItemData::x_AddParamPanel(), CCopyCdsGeneProtTreeItemData::x_AddParamPanel(), CEditQualTreeItemData::x_AddParamPanel(), CEditProteinQualTreeItemData::x_AddParamPanel(), CEditRNAQualTreeItemData::x_AddParamPanel(), CEditStrCommQualTreeItemData::x_AddParamPanel(), CEditMolinfoFieldsTreeItemData::x_AddParamPanel(), CConvertClassTreeItemData::x_AddParamPanel(), CAutodefTreeItemData::x_AddParamPanel(), CParseQualTreeItemData::x_AddParamPanel(), CParseBsrcTreeItemData::x_AddParamPanel(), CParseToBsrcTreeItemData::x_AddParamPanel(), CParseToDBLinkTreeItemData::x_AddParamPanel(), CParseToCdsGeneProtTreeItemData::x_AddParamPanel(), CParseProteinQualTreeItemData::x_AddParamPanel(), CParseRNAQualTreeItemData::x_AddParamPanel(), CParseCdsGeneProtTreeItemdata::x_AddParamPanel(), CParseBsrcToStructCommTreeItemData::x_AddParamPanel(), CRmvQualTreeItemData::x_AddParamPanel(), CRmvBsrcQualTreeItemData::x_AddParamPanel(), CRmvStrCommQualTreeItemData::x_AddParamPanel(), CRmvProteinQualTreeItemData::x_AddParamPanel(), CRmvRNAQualTreeItemData::x_AddParamPanel(), CRemoveDescrTreeItemData::x_AddParamPanel(), CRmvOrgNameTreeItemData::x_AddParamPanel(), CRmvOutsideQualTreeItemData::x_AddParamPanel(), CRmvOutsideBsrcTreeItemData::x_AddParamPanel(), CRmvOutsideStrCommQualTreeItemData::x_AddParamPanel(), CRmvOutsideRNAQualTreeItemData::x_AddParamPanel(), CRmvOutsideProteinQualTreeItemData::x_AddParamPanel(), CSwapQualTreeItemData::x_AddParamPanel(), CSwapBsrcTreeItemData::x_AddParamPanel(), CSwapProteinQualTreeItemData::x_AddParamPanel(), CSwapRNAQualTreeItemData::x_AddParamPanel(), CSwapCdsGeneProtTreeItemData::x_AddParamPanel(), CMacroInterpreter::x_AutodefCompleteValidateArgs(), CMacroInterpreter::x_AutodefValidateArgs(), CSingleQualPanel::x_LoadChoices(), CMacroPanelLoader::x_UpdateCtrlsOnLBoxSelChange(), and CMacroPanelLoader::x_UpdateCtrlsOnRdButtonChange().
Definition at line 1286 of file macro_editor_context.cpp.
References eNotSet, m_MacroField, and x_GetGUIFieldForPubdesc().
Referenced by CMacroInterpreter::x_PubAffilValidateArgs().
Definition at line 650 of file macro_editor_context.cpp.
References CPubFieldType::ePubFieldType_AuthorConsortium, CPubFieldType::ePubFieldType_AuthorFirstName, CPubFieldType::ePubFieldType_AuthorLastName, CPubFieldType::ePubFieldType_AuthorMiddleInitial, CPubFieldType::ePubFieldType_AuthorSuffix, CPubFieldType::ePubFieldType_Unknown, NStr::EqualNocase(), and GetGUIPubField().
Referenced by CMacroInterpreter::x_PubAuthorConstrValidateArgs(), CMacroInterpreter::x_PubAuthorValidateArgs(), and CMacroInterpreter::x_SetPubAuthorValidateArgs().
Definition at line 1295 of file macro_editor_context.cpp.
References CPubFieldType::GetLabelForType(), CPubFieldType::GetTypeForLabel(), CPubFieldType::NormalizePubFieldName(), and rapidjson::value.
Referenced by CMacroInterpreter::x_PubDateConstrValidateArgs(), and CMacroInterpreter::x_PubDateValidateArgs().
Definition at line 1403 of file macro_editor_context.cpp.
References FindInBimapOrEmpty(), and m_DescriptorMap.
Referenced by CMacroInterpreter::x_RmvDescrValidateArgs(), and CMacroInterpreter::x_UpdateTargetFieldForSeqdesc().
Definition at line 1067 of file macro_editor_context.cpp.
Referenced by CMacroInterpreter::x_ApplyFeatureValidateArgs().
string CMacroEditorContext::GetGUIFieldName | ( | const string & | macro_field, |
const string & | target, | ||
EMacroFieldType & | type, | ||
EMSection | clause = EMSection::eDoSection |
||
) |
Definition at line 805 of file macro_editor_context.cpp.
References eBiosourceLocation, eBiosourceOrigin, eCdsGeneProt, eFeatQualifiers, eGene, eMiscDescriptors, NStr::eNocase, eNotSet, ENUM_METHOD_NAME, eOther, eProtein, CSeqFeatData::eQual_bad, NStr::EqualNocase(), eRNA, eSeqID, CSeqFeatData::GetQualifierType(), NMacroUtil::IsMobileElementTSubfield(), NMacroUtil::IsSatelliteSubfield(), m_MacroField, NPOS, NStr::ReplaceInPlace(), s_GetGUIMappedMiscDescr(), s_IsGeneQualifier(), NStr::StartsWith(), NMacroUtil::StringsAreEquivalent(), tmp, x_GetGUIFieldForBsrcTax(), x_GetGUIFieldForBsrcText(), x_GetGUIFieldForCDS(), x_GetGUIFieldForCdsGeneProtRna(), x_GetGUIFieldForDBLink(), x_GetGUIFieldForGene(), x_GetGUIFieldForMiscDescr(), x_GetGUIFieldForMolinfo(), x_GetGUIFieldForProtein(), x_GetGUIFieldForPubdesc(), x_GetGUIFieldForRNA(), x_GetGUIFieldForStructComm(), and x_IsDescriptor().
Referenced by CMacroInterpreter::InterpretDoFunctions(), CMacroInterpreter::x_InterpretWhereFunctions(), and CMacroInterpreter::x_UpdateTargetFieldForSeqdesc().
string CMacroEditorContext::GetGUIMolinfoValue | ( | const string & | macro_field, |
const string & | molinfo_field | ||
) |
Definition at line 1745 of file macro_editor_context.cpp.
References CMolInfoFieldType::e_Class, CMolInfoFieldType::e_Completedness, CMolInfoFieldType::e_MoleculeType, CMolInfoFieldType::e_Repr, CMolInfoFieldType::e_Strand, CMolInfoFieldType::e_Technique, CMolInfoFieldType::e_Topology, map_checker< Container >::end(), ENUM_METHOD_NAME, map_checker< Container >::find(), CMolInfoFieldType::GetBiomolLabel(), CMolInfoFieldType::GetCompletenessLabel(), CMolInfoFieldType::GetFieldType(), CMolInfoFieldType::GetMolLabel(), CMolInfoFieldType::GetReprLabel(), CMolInfoFieldType::GetStrandLabel(), CMolInfoFieldType::GetTechLabel(), CMolInfoFieldType::GetTopologyLabel(), and s_MapStrandValues().
Referenced by CMacroInterpreter::InterpretDoFunctions(), CMacroFeatsOnSeqPanel::SetMatcher(), and CMacroInterpreter::x_PostProcessEditMolinfo().
string CMacroEditorContext::GetGUIPubField | ( | CPubFieldType::EPubFieldType | type | ) |
Definition at line 667 of file macro_editor_context.cpp.
References CPubFieldType::GetLabelForType(), CPubFieldType::NormalizePubFieldName(), and rapidjson::value.
Referenced by GetGUIAuthorName(), CMacroInterpreter::x_AddAuthorsValidateArgs(), CMacroInterpreter::x_FixPubAffilCountryValidateArgs(), CMacroInterpreter::x_FixPubAuthorsValidateArgs(), CMacroInterpreter::x_FixPubTitleValidateArgs(), CMacroInterpreter::x_PubAuthorConstrValidateArgs(), CMacroInterpreter::x_PubAuthorValidateArgs(), CMacroInterpreter::x_PubCitConstrValidateArgs(), CMacroInterpreter::x_PubCitValidateArgs(), CMacroInterpreter::x_PubIssueConstrValidateArgs(), CMacroInterpreter::x_PubIssueValidateArgs(), CMacroInterpreter::x_PubJournalConstrValidateArgs(), CMacroInterpreter::x_PubJournalValidateArgs(), CMacroInterpreter::x_PubPagesConstrValidateArgs(), CMacroInterpreter::x_PubPagesValidateArgs(), CMacroInterpreter::x_PubPMIDConstrValidateArgs(), CMacroInterpreter::x_PubPMIDValidateArgs(), CMacroInterpreter::x_PubSerialNrConstrValidateArgs(), CMacroInterpreter::x_PubSerialNrValidateArgs(), CMacroInterpreter::x_PubStatusConstrValidateArgs(), CMacroInterpreter::x_PubStatusValidateArgs(), CMacroInterpreter::x_PubTitleConstrValidateArgs(), CMacroInterpreter::x_PubTitleValidateArgs(), CMacroInterpreter::x_PubVolConstrValidateArgs(), CMacroInterpreter::x_PubVolValidateArgs(), CMacroInterpreter::x_RemoveAuthorsValidateArgs(), CMacroInterpreter::x_RemoveMInitialsValidateArgs(), CMacroInterpreter::x_SetDateFieldValidateArgs(), CMacroInterpreter::x_SetPmidValidateArgs(), CMacroInterpreter::x_SetPubAuthMIValidateArgs(), CMacroInterpreter::x_SetPubDateValidateArgs(), CMacroInterpreter::x_SetStatusValidateArgs(), and CMacroInterpreter::x_ValidateMultiArgs().
|
inlinestatic |
Definition at line 92 of file macro_editor_context.hpp.
Referenced by CMacroInterpreter::ActionHasCdsGeneProtQuals(), CSingleQualPanel::GetField(), CApplyQualTreeItemData::GetFunction(), CApplyProteinQualTreeItemData::GetFunction(), CApplyBsrcQualTreeItemData::GetFunction(), CApplyPubQualTreeItemData::GetFunction(), CApplyFeatQualTreeItemData::GetFunction(), CApplyRNAQualTreeItemData::GetFunction(), CAddFeatureTreeItemData::GetFunction(), CConvertRNAQualTreeItemData::GetFunction(), CConvertCdsGeneProtTreeItemData::GetFunction(), CConvertFeatQualTreeItemData::GetFunction(), CConvertBsrcTreeItemData::GetFunction(), CCopyBsrcTreeItemData::GetFunction(), CCopyRNAQualTreeItemData::GetFunction(), CCopyCdsGeneProtTreeItemData::GetFunction(), CCopyFeatQualTreeItemData::GetFunction(), CEditQualTreeItemData::GetFunction(), CEditProteinQualTreeItemData::GetFunction(), CEditFeatQualTreeItemData::GetFunction(), CEditRNAQualTreeItemData::GetFunction(), CFixSrcQualsTreeItemData::GetFunction(), CConvertClassTreeItemData::GetFunction(), CParseBsrcTreeItemData::GetFunction(), CParseToBsrcTreeItemData::GetFunction(), CParseToDBLinkTreeItemData::GetFunction(), CParseToCdsGeneProtTreeItemData::GetFunction(), CParseRNAQualTreeItemData::GetFunction(), CParseFeatQualTreeItemData::GetFunction(), CParseCdsGeneProtTreeItemdata::GetFunction(), CParseBsrcToStructCommTreeItemData::GetFunction(), CRmvQualTreeItemData::GetFunction(), CRmvBsrcQualTreeItemData::GetFunction(), CRmvMiscQualTreeItemData::GetFunction(), CRmvProteinQualTreeItemData::GetFunction(), CRmvFeatQualTreeItemData::GetFunction(), CRmvRNAQualTreeItemData::GetFunction(), CRemoveDescrTreeItemData::GetFunction(), CRmvOrgNameTreeItemData::GetFunction(), CRmvOutsideQualTreeItemData::GetFunction(), CRmvOutsideBsrcTreeItemData::GetFunction(), CRmvOutsideRNAQualTreeItemData::GetFunction(), CRmvOutsideProteinQualTreeItemData::GetFunction(), CRmvOutsideFeatQualTreeItemData::GetFunction(), CSwapBsrcTreeItemData::GetFunction(), CSwapRNAQualTreeItemData::GetFunction(), CSwapCdsGeneProtTreeItemData::GetFunction(), CSwapFeatQualTreeItemData::GetFunction(), CMacroFeatsOnSeqPanel::GetFuncWithArgs(), CApplyBsrcQualTreeItemData::GetKeywords(), CConvertBsrcTreeItemData::GetKeywords(), CCopyBsrcTreeItemData::GetKeywords(), CParseBsrcTreeItemData::GetKeywords(), CParseToBsrcTreeItemData::GetKeywords(), CParseToCdsGeneProtTreeItemData::GetKeywords(), CParseBsrcToStructCommTreeItemData::GetKeywords(), CRmvBsrcQualTreeItemData::GetKeywords(), CRmvOutsideBsrcTreeItemData::GetKeywords(), CSwapBsrcTreeItemData::GetKeywords(), CMacroActionItemData::GetKeywords(), CMacroFeatsOnSeqPanel::GetLocationConstraint(), CApplyMolinfoQualTreeItemData::GetMacroDescription(), NMItemData::GetResolveFuncForApplyAuthors(), NMItemData::GetResolveFuncForDestCdsGeneProtQuals(), NMItemData::GetResolveFuncForDestFeatQuals(), NMItemData::GetResolveFuncForMultiValuedQuals(), NMItemData::GetResolveFuncForPubQual(), NMItemData::GetResolveFuncForPubQualConst(), NMItemData::GetResolveFuncForRNAQuals(), NMItemData::GetResolveFuncForSrcCdsGeneProtQuals(), NMItemData::GetResolveFuncForSrcFeatQuals(), NMItemData::GetResolveFuncForSwapFeatQuals(), NMItemData::GetResolveFuncForSwapQuals(), NMItemData::GetRNASpecificFields(), CApplyMolinfoQualTreeItemData::GetVariables(), CParseToBsrcTreeItemData::GetVariables(), CParseToDBLinkTreeItemData::GetVariables(), CParseToCdsGeneProtTreeItemData::GetVariables(), CMacroInterpreter::InterpretDoFunctions(), CApplyFeatTableTreeItemData::s_GetFunction(), CApplyCDSGeneProtTableTreeItemData::s_GetFunction(), CApplyRNATableTreeItemData::s_GetFunction(), CApplySrcTableTreeItemData::s_GetFunction(), CApplyPubTableTreeItemData::s_GetFunction(), CApplyMolinfoTableTreeItemData::s_GetFunction(), CApplyMiscTableTreeItemData::s_GetFunction(), CRNAFieldNamePanel::s_GetMacroFieldName(), CApplyTableItemData::s_GetMatchFieldConstraint(), CMacroCompoundConstraintPanel::SetConstraints(), CMacroFeatsOnSeqPanel::SetMatcher(), NMItemData::UpdateConstraintsForFeatures(), NMItemData::UpdateConstraintsForMisc(), NMItemData::UpdateTargetForDualFeatures(), NMItemData::UpdateTargetForFeatures(), CMacroInterpreter::x_AddAuthorsValidateArgs(), CApplyQualTreeItemData::x_AddParamPanel(), CApplyProteinQualTreeItemData::x_AddParamPanel(), CApplyBsrcQualTreeItemData::x_AddParamPanel(), CApplyMolinfoQualTreeItemData::x_AddParamPanel(), CApplyPubQualTreeItemData::x_AddParamPanel(), CApplyDBLinkQualTreeItemData::x_AddParamPanel(), CApplyStrCommQualTreeItemData::x_AddParamPanel(), CApplyFeatQualTreeItemData::x_AddParamPanel(), CApplyRNAQualTreeItemData::x_AddParamPanel(), CAddRNAFeatTreeItemData::x_AddParamPanel(), CAddFeatureTreeItemData::x_AddParamPanel(), CConvertQualTreeItemData::x_AddParamPanel(), CConvertProteinQualTreeItemData::x_AddParamPanel(), CConvertRNAQualTreeItemData::x_AddParamPanel(), CConvertCdsGeneProtTreeItemData::x_AddParamPanel(), CConvertFeatQualTreeItemData::x_AddParamPanel(), CConvertBsrcTreeItemData::x_AddParamPanel(), CConvertFeatureTreeItemData::x_AddParamPanel(), CCopyQualTreeItemData::x_AddParamPanel(), CCopyBsrcTreeItemData::x_AddParamPanel(), CCopyProteinQualTreeItemData::x_AddParamPanel(), CCopyRNAQualTreeItemData::x_AddParamPanel(), CCopyCdsGeneProtTreeItemData::x_AddParamPanel(), CCopyFeatQualTreeItemData::x_AddParamPanel(), CEditQualTreeItemData::x_AddParamPanel(), CEditProteinQualTreeItemData::x_AddParamPanel(), CEditFeatQualTreeItemData::x_AddParamPanel(), CEditRNAQualTreeItemData::x_AddParamPanel(), CEditStrCommQualTreeItemData::x_AddParamPanel(), CEditMolinfoFieldsTreeItemData::x_AddParamPanel(), CEditFeatLocTreeItemData::x_AddParamPanel(), CAddGeneXrefTreeItemData::x_AddParamPanel(), CRemoveGeneXrefTreeItemData::x_AddParamPanel(), CConvertClassTreeItemData::x_AddParamPanel(), CAutodefTreeItemData::x_AddParamPanel(), CSetExceptionsTreeItemData::x_AddParamPanel(), CParseQualTreeItemData::x_AddParamPanel(), CParseBsrcTreeItemData::x_AddParamPanel(), CParseToBsrcTreeItemData::x_AddParamPanel(), CParseToDBLinkTreeItemData::x_AddParamPanel(), CParseToCdsGeneProtTreeItemData::x_AddParamPanel(), CParseProteinQualTreeItemData::x_AddParamPanel(), CParseRNAQualTreeItemData::x_AddParamPanel(), CParseFeatQualTreeItemData::x_AddParamPanel(), CParseCdsGeneProtTreeItemdata::x_AddParamPanel(), CParseBsrcToStructCommTreeItemData::x_AddParamPanel(), CRmvQualTreeItemData::x_AddParamPanel(), CRmvBsrcQualTreeItemData::x_AddParamPanel(), CRmvStrCommQualTreeItemData::x_AddParamPanel(), CRmvProteinQualTreeItemData::x_AddParamPanel(), CRmvFeatQualTreeItemData::x_AddParamPanel(), CRmvRNAQualTreeItemData::x_AddParamPanel(), CRemoveDescrTreeItemData::x_AddParamPanel(), CRemoveFeatureTreeItemData::x_AddParamPanel(), CRemoveDuplFeatsTreeItemData::x_AddParamPanel(), CRemoveDbXrefTreeItemData::x_AddParamPanel(), CRmvOrgNameTreeItemData::x_AddParamPanel(), CRmvOutsideQualTreeItemData::x_AddParamPanel(), CRmvOutsideBsrcTreeItemData::x_AddParamPanel(), CRmvOutsideStrCommQualTreeItemData::x_AddParamPanel(), CRmvOutsideRNAQualTreeItemData::x_AddParamPanel(), CRmvOutsideProteinQualTreeItemData::x_AddParamPanel(), CRmvOutsideFeatQualTreeItemData::x_AddParamPanel(), CSwapQualTreeItemData::x_AddParamPanel(), CSwapBsrcTreeItemData::x_AddParamPanel(), CSwapProteinQualTreeItemData::x_AddParamPanel(), CSwapRNAQualTreeItemData::x_AddParamPanel(), CSwapCdsGeneProtTreeItemData::x_AddParamPanel(), CSwapFeatQualTreeItemData::x_AddParamPanel(), CMacroInterpreter::x_ApplyFeatureValidateArgs(), CMacroInterpreter::x_AutodefCompleteValidateArgs(), CMacroInterpreter::x_AutodefValidateArgs(), CMacroInterpreter::x_FixPubAffilCountryValidateArgs(), CMacroInterpreter::x_FixPubAuthorsValidateArgs(), CMacroInterpreter::x_FixPubTitleValidateArgs(), CEditMolinfoFieldsTreeItemData::x_GetFunctionFor(), CTableReaderMacro::x_GetMatchFieldConstraint(), CParseQualTreeItemData::x_GetResolveFuncForMultValQuals(), CMacroInterpreter::x_InterpretWhereFunctions(), CSingleQualPanel::x_LoadChoices(), CMacroInterpreter::x_PostProcessConvertSetClass(), CMacroInterpreter::x_PostProcessEditMolinfo(), CMacroInterpreter::x_PubAffilValidateArgs(), CMacroInterpreter::x_PubAuthorConstrValidateArgs(), CMacroInterpreter::x_PubAuthorValidateArgs(), CMacroInterpreter::x_PubCitConstrValidateArgs(), CMacroInterpreter::x_PubCitValidateArgs(), CMacroInterpreter::x_PubDateConstrValidateArgs(), CMacroInterpreter::x_PubDateValidateArgs(), CMacroInterpreter::x_PubIssueConstrValidateArgs(), CMacroInterpreter::x_PubIssueValidateArgs(), CMacroInterpreter::x_PubJournalConstrValidateArgs(), CMacroInterpreter::x_PubJournalValidateArgs(), CMacroInterpreter::x_PubPagesConstrValidateArgs(), CMacroInterpreter::x_PubPagesValidateArgs(), CMacroInterpreter::x_PubPMIDConstrValidateArgs(), CMacroInterpreter::x_PubPMIDValidateArgs(), CMacroInterpreter::x_PubSerialNrConstrValidateArgs(), CMacroInterpreter::x_PubSerialNrValidateArgs(), CMacroInterpreter::x_PubStatusConstrValidateArgs(), CMacroInterpreter::x_PubStatusValidateArgs(), CMacroInterpreter::x_PubTitleConstrValidateArgs(), CMacroInterpreter::x_PubTitleValidateArgs(), CMacroInterpreter::x_PubVolConstrValidateArgs(), CMacroInterpreter::x_PubVolValidateArgs(), CMacroInterpreter::x_RemoveAuthorsValidateArgs(), CMacroInterpreter::x_RemoveMInitialsValidateArgs(), CMacroInterpreter::x_RmvDescrValidateArgs(), CMacroInterpreter::x_SetDateFieldValidateArgs(), CMacroInterpreter::x_SetPmidValidateArgs(), CMacroInterpreter::x_SetPubAuthMIValidateArgs(), CMacroInterpreter::x_SetPubAuthorValidateArgs(), CMacroInterpreter::x_SetPubDateValidateArgs(), CMacroInterpreter::x_SetStatusValidateArgs(), CMacroPanelLoader::x_UpdateCtrlsOnChoiceSelChange(), CMacroPanelLoader::x_UpdateCtrlsOnLBoxSelChange(), CMacroPanelLoader::x_UpdateCtrlsOnRdButtonChange(), CMacroInterpreter::x_UpdateTargetFieldForSeqdesc(), and CMacroInterpreter::x_ValidateMultiArgs().
const vector< string > & CMacroEditorContext::GetKeywords | ( | EMacroFieldType | type | ) | const |
Definition at line 476 of file macro_editor_context.cpp.
References eBiosourceAutodef, eBiosourceTax, eBiosourceText, eCdsGeneProt, eDBLink, eDescriptors, eFeatQualifiers, eGene, eMiscDescriptors, eMiscDescriptorsToRmv, eMolinfo, eProtein, ePubdesc, eRNA, m_BsrcAutodefWords, m_CdsGeneProtKeywords, m_DBLinkKeywords, m_DescrKeywords, m_EmptyKeywords, m_FeatQualKeywords, m_GeneKeywords, m_MiscKeywords, m_MiscKeywordsToRmv, m_MolinfoKeywords, m_ProteinKeywords, m_PubdescKeywords, m_RnaKeywords, m_SourceTaxKeys, and m_SourceTextKeys.
Referenced by CMacroInterpreter::ActionHasCdsGeneProtQuals(), CMacroActionItemData::GetKeywords(), and CMacroCompoundConstraintPanel::SetConstraints().
Definition at line 359 of file macro_editor_context.cpp.
References NMacroUtil::GetFeatSubtype(), CSeqFeatData::GetLegalQualifiers(), and CSeqFeatData::GetQualifierAsString().
Referenced by CMacroPanelLoader::x_UpdateCtrlsOnLBoxSelChange().
Definition at line 383 of file macro_editor_context.cpp.
References copy(), CRNA_gen::GetncRNAClassList(), and types.
Referenced by CApplyRNAQualTreeItemData::x_AddParamPanel(), CAddRNAFeatTreeItemData::x_AddParamPanel(), CConvertRNAQualTreeItemData::x_AddParamPanel(), CCopyRNAQualTreeItemData::x_AddParamPanel(), CEditRNAQualTreeItemData::x_AddParamPanel(), CParseRNAQualTreeItemData::x_AddParamPanel(), CRmvRNAQualTreeItemData::x_AddParamPanel(), CRmvOutsideRNAQualTreeItemData::x_AddParamPanel(), CSwapRNAQualTreeItemData::x_AddParamPanel(), and CMacroPanelLoader::x_UpdateCtrlsOnLBoxSelChange().
Definition at line 124 of file macro_editor_context.hpp.
References m_ParseToBsrcKeywords.
Referenced by CParseToBsrcTreeItemData::GetKeywords(), and CParseBsrcToStructCommTreeItemData::GetKeywords().
Definition at line 125 of file macro_editor_context.hpp.
References m_ParseTpCdsGeneProtKeywords.
Referenced by CParseToCdsGeneProtTreeItemData::GetKeywords().
Definition at line 396 of file macro_editor_context.cpp.
References NStr::EqualNocase().
Referenced by CAddRNAFeatTreeItemData::x_AddParamPanel(), and CMacroPanelLoader::x_UpdateCtrlsOnChoiceSelChange().
vector< string > CMacroEditorContext::GetRNATypes | ( | ) | const |
Definition at line 378 of file macro_editor_context.cpp.
References CRNAFieldNamePanel::GetRNATypes().
Referenced by NMItemData::GetRNASpecificFields(), CApplyRNAQualTreeItemData::x_AddParamPanel(), CAddRNAFeatTreeItemData::x_AddParamPanel(), CConvertRNAQualTreeItemData::x_AddParamPanel(), CCopyRNAQualTreeItemData::x_AddParamPanel(), CEditRNAQualTreeItemData::x_AddParamPanel(), CParseRNAQualTreeItemData::x_AddParamPanel(), CRmvRNAQualTreeItemData::x_AddParamPanel(), CRmvOutsideRNAQualTreeItemData::x_AddParamPanel(), and CSwapRNAQualTreeItemData::x_AddParamPanel().
vector< string > CMacroEditorContext::GetSiteTypes | ( | ) | const |
Definition at line 458 of file macro_editor_context.cpp.
References CSiteList::begin(), CSiteList::end(), and CSeqFeatData::GetSiteList().
Referenced by CMacroPanelLoader::x_UpdateCtrlsOnLBoxSelChange().
|
delete |
Definition at line 1302 of file macro_editor_context.cpp.
References data, FindInBimapOrEmpty(), kCommentDescriptorLabel, kDefinitionLineLabel, kGenbankBlockKeyword, and rapidjson::value.
Referenced by GetGUIFieldName(), and x_GetGUIFieldForMiscDescr().
Definition at line 1169 of file macro_editor_context.cpp.
References data, FindInBimapOrEmpty(), kStrCommDbname, kStrCommFieldName, kStrCommFieldValue, and rapidjson::value.
Referenced by CParseBsrcToStructCommTreeItemData::GetFunction(), and x_GetGUIFieldForStructComm().
Definition at line 1082 of file macro_editor_context.cpp.
References NMacroUtil::StringsAreEquivalent().
Referenced by CEditFeatQualTreeItemData::GetFunction(), CRmvFeatQualTreeItemData::GetFunction(), CRmvOutsideFeatQualTreeItemData::GetFunction(), GetGUIFieldName(), NMItemData::GetResolveFuncForDestFeatQuals(), NMItemData::GetResolveFuncForSrcFeatQuals(), NMItemData::GetResolveFuncForSwapFeatQuals(), NMItemData::UpdateFeatureType(), and NMItemData::UpdateTargetForDualFeatures().
|
private |
Definition at line 257 of file macro_editor_context.cpp.
References x_GetBsrcTaxFieldnames(), and x_GetBsrcTextFieldnames().
Referenced by GetFieldNames().
|
private |
Definition at line 1375 of file macro_editor_context.cpp.
References CPubFieldType::ePubFieldType_AffilAffil, CPubFieldType::ePubFieldType_AffilDept, CPubFieldType::ePubFieldType_AffilPostalCode, CPubFieldType::ePubFieldType_AffilState, CPubFieldType::GetTypeForLabel(), m_Field, and CPubFieldType::NormalizePubFieldName().
Referenced by GetAsnPathToFieldName().
|
private |
Definition at line 790 of file macro_editor_context.cpp.
References NStr::EqualNocase(), m_Field, x_GetAsnPathToBsrcTax(), and x_GetAsnPathToBsrcText().
Referenced by GetAsnPathToFieldName().
|
private |
Definition at line 734 of file macro_editor_context.cpp.
References NStr::EqualNocase(), and m_Field.
Referenced by GetAsnPathToFieldName(), and x_GetAsnPathToAllBsrc().
|
private |
Definition at line 752 of file macro_editor_context.cpp.
References NStr::EqualNocase(), COrgMod::eVocabulary_insdc, CSubSource::eVocabulary_insdc, COrgMod::IsValidSubtypeName(), CSubSource::IsValidSubtypeName(), kDbXref, kFwdPrimerName, kFwdPrimerSeq, kHost, kNatHost, kOrgModNote, kRevPrimerName, kRevPrimerSeq, kSubSourceNote, m_Field, and QualifierNamesAreEquivalent().
Referenced by GetAsnPathToFieldName(), and x_GetAsnPathToAllBsrc().
|
private |
Definition at line 1454 of file macro_editor_context.cpp.
References NStr::EqualNocase(), m_Field, and NMacroUtil::StringsAreEquivalent().
Referenced by GetAsnPathToFieldName(), and x_GetAsnPathToCdsGeneProt().
|
private |
Definition at line 1528 of file macro_editor_context.cpp.
References NStr::eNocase, kEmptyStr, m_Field, NStr::ReplaceInPlace(), NStr::StartsWith(), NMacroUtil::StringsAreEquivalent(), x_GetAsnPathToCDS(), x_GetAsnPathtoGene(), x_GetAsnPathToProtein(), and x_GetAsnPathToRnaFieldName().
Referenced by GetAsnPathToFieldName().
Definition at line 1361 of file macro_editor_context.cpp.
References m_Field.
Referenced by GetAsnPathToFieldName().
|
private |
Definition at line 1394 of file macro_editor_context.cpp.
References kEmptyStr, m_DescriptorMap, and m_Field.
Referenced by GetAsnPathToFieldName().
|
private |
Definition at line 1551 of file macro_editor_context.cpp.
References kEmptyStr, m_Field, and NStr::Split().
Referenced by GetAsnPathToFieldName().
|
private |
Definition at line 518 of file macro_editor_context.cpp.
References NStr::EqualNocase(), NPOS, NStr::ReplaceInPlace(), and NMacroUtil::StringsAreEquivalent().
|
private |
Definition at line 1425 of file macro_editor_context.cpp.
References NStr::eNocase, m_Field, s_GetGeneField(), and NStr::StartsWith().
Referenced by GetAsnPathToFieldName(), x_GetAsnPathToCdsGeneProt(), and x_GetAsnPathToRna().
Definition at line 1328 of file macro_editor_context.cpp.
References NStr::EqualNocase(), kCommentDescriptorLabel, kDefinitionLineLabel, kGenbankBlockKeyword, and m_Field.
Referenced by GetAsnPathToFieldName().
|
private |
Definition at line 1349 of file macro_editor_context.cpp.
References NStr::EqualNocase(), m_Field, and NMacroUtil::StringsAreEquivalent().
Referenced by GetAsnPathToFieldName().
Definition at line 1193 of file macro_editor_context.cpp.
References NStr::EqualNocase(), and m_Field.
Referenced by GetAsnPathToFieldName().
|
private |
Definition at line 1515 of file macro_editor_context.cpp.
References m_Field, and s_GetProteinField().
Referenced by GetAsnPathToFieldName(), and x_GetAsnPathToCdsGeneProt().
|
private |
Definition at line 1369 of file macro_editor_context.cpp.
References CPubFieldType::GetMacroLabelForType(), CPubFieldType::GetTypeForLabel(), and m_Field.
Referenced by GetAsnPathToFieldName().
|
private |
Definition at line 1487 of file macro_editor_context.cpp.
References NStr::eNocase, kEmptyStr, m_Field, NPOS, NStr::StartsWith(), x_GetAsnPathtoGene(), and x_GetAsnPathToRnaFieldName().
Referenced by GetAsnPathToFieldName().
|
private |
Definition at line 1561 of file macro_editor_context.cpp.
References NStr::EqualNocase(), and NMacroUtil::StringsAreEquivalent().
Referenced by x_GetAsnPathToCdsGeneProt(), and x_GetAsnPathToRna().
|
private |
Definition at line 1814 of file macro_editor_context.cpp.
References m_Field, and tolower().
Referenced by GetAsnPathToFieldName().
|
private |
Definition at line 252 of file macro_editor_context.cpp.
Referenced by GetFieldNames(), and x_GetAllBsrcFieldnames().
|
private |
Definition at line 195 of file macro_editor_context.cpp.
References NStr::EqualNocase(), COrgMod_Base::eSubtype_bio_material, COrgMod_Base::eSubtype_culture_collection, COrgMod_Base::eSubtype_other, CSubSource_Base::eSubtype_other, COrgMod_Base::eSubtype_specimen_voucher, CSubSource::GetSubtypeName(), COrgMod::GetSubtypeName(), i, NStr::IsBlank(), CSubSource::IsDiscouraged(), kColl_suffix, kDbXref, kFwdPrimerName, kFwdPrimerSeq, kHost, kInst_suffix, kNatHost, kOrgModNote, kRevPrimerName, kRevPrimerSeq, kSpecid_suffix, kSubSourceNote, and ct::sort().
Referenced by GetFieldNames(), and x_GetAllBsrcFieldnames().
|
private |
Definition at line 273 of file macro_editor_context.cpp.
References m_DescriptorMap, and ct::sort().
Referenced by GetFieldNames().
|
private |
Definition at line 1103 of file macro_editor_context.cpp.
References data, eBiosourceTax, FindInBimapOrEmpty(), and m_MacroField.
Referenced by GetGUIFieldName().
|
private |
Definition at line 1120 of file macro_editor_context.cpp.
References data, eBiosourceText, FindInBimapOrEmpty(), NMacroUtil::IsStructVoucherPart(), COrgMod::IsValidSubtypeName(), CSubSource::IsValidSubtypeName(), kDbXref, kFwdPrimerName, kFwdPrimerSeq, kHost, kOrgModNote, kRevPrimerName, kRevPrimerSeq, kSubSourceNote, m_MacroField, NPOS, NStr::StartsWith(), and tmp.
Referenced by GetGUIFieldName().
|
private |
Definition at line 1469 of file macro_editor_context.cpp.
References NStr::eNocase, NStr::EqualNocase(), m_MacroField, NPOS, and NStr::StartsWith().
Referenced by GetGUIFieldName(), and x_GetGUIFieldForCdsGeneProtRna().
|
private |
Definition at line 1033 of file macro_editor_context.cpp.
References eCdsGeneProt, NStr::eNocase, m_MacroField, NPOS, NStr::ReplaceInPlace(), NStr::StartsWith(), x_GetGUIFieldForCDS(), x_GetGUIFieldForGene(), x_GetGUIFieldForProtein(), and x_GetGUIFieldForRNA().
Referenced by GetGUIFieldName().
|
private |
Definition at line 1244 of file macro_editor_context.cpp.
References eDBLink, m_DBLinkKeywords, and m_MacroField.
Referenced by GetGUIFieldName().
|
private |
Definition at line 1436 of file macro_editor_context.cpp.
References NStr::eNocase, NStr::EqualNocase(), m_MacroField, NPOS, s_GetGeneField(), and NStr::StartsWith().
Referenced by GetGUIFieldName(), x_GetGUIFieldForCdsGeneProtRna(), and x_GetGUIFieldForRNA().
|
private |
Definition at line 1313 of file macro_editor_context.cpp.
References eMiscDescriptors, m_MacroField, NPOS, s_GetGUIMappedMiscDescr(), NStr::StartsWith(), and tmp.
Referenced by GetGUIFieldName().
|
private |
Definition at line 1225 of file macro_editor_context.cpp.
References data, eMolinfo, FindInBimapOrEmpty(), and m_MacroField.
Referenced by GetGUIFieldName().
|
private |
Definition at line 1520 of file macro_editor_context.cpp.
References NStr::eNocase, m_MacroField, NPOS, s_GetProteinField(), and NStr::StartsWith().
Referenced by GetGUIFieldName(), and x_GetGUIFieldForCdsGeneProtRna().
|
private |
Definition at line 1257 of file macro_editor_context.cpp.
References ePubdesc, CPubFieldType::ePubFieldType_AffilAffil, CPubFieldType::ePubFieldType_AffilDept, CPubFieldType::ePubFieldType_AffilPostalCode, CPubFieldType::ePubFieldType_AffilState, CPubFieldType::GetFieldNames(), CPubFieldType::GetLabelForType(), m_MacroField, and CPubFieldType::NormalizePubFieldName().
Referenced by GetGUIAffilField(), and GetGUIFieldName().
|
private |
Definition at line 1623 of file macro_editor_context.cpp.
References NStr::EndsWith(), NStr::eNocase, kEmptyStr, m_MacroField, NPOS, NStr::StartsWith(), tmp, and x_GetGUIFieldForGene().
Referenced by GetGUIFieldName(), and x_GetGUIFieldForCdsGeneProtRna().
|
private |
Definition at line 1180 of file macro_editor_context.cpp.
References eStructComment, eWhereSection, m_MacroField, and s_GetGUIMappedStructCommField().
Referenced by GetGUIFieldName().
|
private |
Definition at line 283 of file macro_editor_context.cpp.
Referenced by GetFieldNames().
Definition at line 294 of file macro_editor_context.cpp.
References all, CBioseq_set_Base::eClass_eco_set, CBioseq_set_Base::eClass_genbank, CBioseq_set_Base::eClass_mut_set, CBioseq_set_Base::eClass_phy_set, CBioseq_set_Base::eClass_pop_set, CBioseq_set_Base::eClass_small_genome_set, CBioseq_set_Base::eClass_wgs_set, ENUM_METHOD_NAME, and toupper().
Referenced by GetFieldNames().
|
private |
Definition at line 268 of file macro_editor_context.cpp.
Referenced by GetFieldNames().
|
private |
Definition at line 1092 of file macro_editor_context.cpp.
References eDescriptors, FindInBimapOrEmpty(), m_DescriptorMap, and m_MacroField.
Referenced by GetGUIFieldName().
|
private |
Definition at line 221 of file macro_editor_context.hpp.
Referenced by GetFieldNames(), and GetKeywords().
|
private |
Definition at line 218 of file macro_editor_context.hpp.
Referenced by CMacroEditorContext(), GetFieldNames(), and GetKeywords().
|
private |
Definition at line 207 of file macro_editor_context.hpp.
Referenced by CMacroEditorContext(), GetFieldNames(), GetKeywords(), and x_GetGUIFieldForDBLink().
|
private |
Definition at line 198 of file macro_editor_context.hpp.
Referenced by CMacroEditorContext(), GetGUIDescriptor(), x_GetAsnPathToDescriptors(), x_GetDescriptorFieldnames(), and x_IsDescriptor().
|
private |
Definition at line 210 of file macro_editor_context.hpp.
Referenced by GetKeywords().
|
private |
Definition at line 222 of file macro_editor_context.hpp.
Referenced by GetKeywords().
|
private |
Definition at line 217 of file macro_editor_context.hpp.
Referenced by GetKeywords().
Definition at line 200 of file macro_editor_context.hpp.
Referenced by CMacroEditorContext(), and GetFeatureType().
|
private |
Definition at line 201 of file macro_editor_context.hpp.
Referenced by CMacroEditorContext(), and GetFeatureTypes().
|
private |
Definition at line 195 of file macro_editor_context.hpp.
Referenced by GetAsnPathToFieldName(), x_GetAsnPathToAffilFields(), x_GetAsnPathToAllBsrc(), x_GetAsnPathToBsrcTax(), x_GetAsnPathToBsrcText(), x_GetAsnPathToCDS(), x_GetAsnPathToCdsGeneProt(), x_GetAsnPathToDBLinkField(), x_GetAsnPathToDescriptors(), x_GetAsnPathToFeatQuals(), x_GetAsnPathtoGene(), x_GetAsnPathToMiscDescr(), x_GetAsnPathToMiscFields(), x_GetAsnPathToMolinfo(), x_GetAsnPathToProtein(), x_GetAsnPathToPub(), x_GetAsnPathToRna(), and x_GetAsnPathToSet().
|
private |
Definition at line 211 of file macro_editor_context.hpp.
Referenced by GetFieldNames(), and GetKeywords().
|
private |
Definition at line 196 of file macro_editor_context.hpp.
Referenced by GetGUIAffilField(), GetGUIFieldName(), x_GetGUIFieldForBsrcTax(), x_GetGUIFieldForBsrcText(), x_GetGUIFieldForCDS(), x_GetGUIFieldForCdsGeneProtRna(), x_GetGUIFieldForDBLink(), x_GetGUIFieldForGene(), x_GetGUIFieldForMiscDescr(), x_GetGUIFieldForMolinfo(), x_GetGUIFieldForProtein(), x_GetGUIFieldForPubdesc(), x_GetGUIFieldForRNA(), x_GetGUIFieldForStructComm(), and x_IsDescriptor().
|
private |
Definition at line 208 of file macro_editor_context.hpp.
Referenced by GetFieldNames(), and GetKeywords().
|
private |
Definition at line 209 of file macro_editor_context.hpp.
Referenced by GetFieldNames(), and GetKeywords().
|
private |
Definition at line 205 of file macro_editor_context.hpp.
Referenced by CMacroEditorContext(), GetFieldNames(), and GetKeywords().
|
private |
Definition at line 219 of file macro_editor_context.hpp.
Referenced by GetParseToBsrcKeywords().
|
private |
Definition at line 220 of file macro_editor_context.hpp.
Referenced by GetParseToCdsGeneProtKeywords().
|
private |
Definition at line 215 of file macro_editor_context.hpp.
Referenced by GetKeywords().
|
private |
Definition at line 206 of file macro_editor_context.hpp.
Referenced by CMacroEditorContext(), and GetKeywords().
|
private |
Definition at line 213 of file macro_editor_context.hpp.
Referenced by GetKeywords().
|
private |
Definition at line 204 of file macro_editor_context.hpp.
Referenced by CMacroEditorContext(), and GetBsrcKeywords().
|
private |
Definition at line 203 of file macro_editor_context.hpp.
Referenced by CMacroEditorContext(), and GetKeywords().
|
private |
Definition at line 202 of file macro_editor_context.hpp.
Referenced by CMacroEditorContext(), and GetKeywords().