NCBI C++ ToolKit
Namespaces | Typedefs | Functions
macro_treeitemdata.cpp File Reference
#include <ncbi_pch.hpp>
#include <objects/seqfeat/OrgMod.hpp>
#include <util/xregexp/regexp.hpp>
#include <gui/objutils/macro_biodata.hpp>
#include <gui/objutils/macro_fn_do.hpp>
#include <gui/objutils/macro_fn_aecr.hpp>
#include <gui/objutils/macro_fn_pubfields.hpp>
#include <gui/objutils/macro_fn_feature.hpp>
#include <gui/objutils/macro_fn_entry.hpp>
#include <gui/objutils/macro_fn_string_constr.hpp>
#include <gui/objutils/macro_fn_where.hpp>
#include <gui/objutils/macro_fn_lookup.hpp>
#include <gui/objutils/macro_util.hpp>
#include <gui/objutils/pub_fieldtype.hpp>
#include <gui/widgets/wx/message_box.hpp>
#include <gui/widgets/edit/macro_editor_context.hpp>
#include <gui/widgets/edit/field_type_constants.hpp>
#include <gui/widgets/edit/macro_panel_args.hpp>
#include <gui/widgets/edit/macro_apply_itemdata.hpp>
#include <gui/widgets/edit/macro_applytbl_itemdata.hpp>
#include <gui/widgets/edit/macro_edit_itemdata.hpp>
#include <gui/widgets/edit/macro_convert_itemdata.hpp>
#include <gui/widgets/edit/macro_copy_itemdata.hpp>
#include <gui/widgets/edit/macro_parse_itemdata.hpp>
#include <gui/widgets/edit/macro_swap_itemdata.hpp>
#include <gui/widgets/edit/macro_rmv_itemdata.hpp>
#include <gui/widgets/edit/macro_rmvoutside_itemdata.hpp>
#include <gui/widgets/edit/macro_featloc_itemdata.hpp>
#include <gui/widgets/edit/macro_general_itemdata.hpp>
#include <gui/widgets/edit/macro_parse_functions.hpp>
#include <gui/widgets/edit/macro_treeitemdata.hpp>
+ Include dependency graph for macro_treeitemdata.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Namespaces

 NMItemData
 

Typedefs

using NMItemData::TBimapStrings = CMacroEditorContext::TBimapStrings
 

Functions

 USING_SCOPE (objects)
 
 USING_SCOPE (NMacroArgs)
 
static bool s_AreGoodPair (const vector< CFuncWithArgs > &func_info)
 
void NMItemData::WrapInQuotes (string &str)
 
void NMItemData::GetFeatureAndField (const string &field_name, string &feature, string &field)
 
void NMItemData::GetRNASpecificFields (const string &field_name, string &rna_type, string &ncRNA_type, string &rna_qual)
 
void NMItemData::GetRNASpecificFieldsForTableReader (const string &field_name, string &rna_type, string &ncRNA_type, string &rna_qual)
 
string NMItemData::GetRNAFieldname (const string &rna_type, const string &ncRNA_type, const string &rna_qual)
 
void NMItemData::UpdateFeatureType (string &feature, const string &field)
 
void NMItemData::GetMemberNames (const string &container, const string &field, string &member_type, string &member_name, string &main_qual_name)
 
string NMItemData::GetResolveFuncForQual (const string &container, const string &field, const string &rt_var, TConstraints &constraints, bool remove_constraint=true)
 Generates the definition of rt_var based on input "field". More...
 
string NMItemData::GetResolveFuncForMultiValuedQual (const string &field, const string &rt_var, TConstraints &constraints, bool remove_constraint)
 
pair< string, stringNMItemData::GetResolveFuncForMultiValuedQuals (EMacroFieldType type, const string &fieldname, const string &rt_var, TConstraints &constraints, bool remove_constraint)
 
pair< string, stringNMItemData::GetResolveFuncForSrcFeatQuals (const string &feature, const string &field, const string &rt_var, TConstraints &constraints, bool remove_constraint)
 
pair< string, stringNMItemData::GetResolveFuncForDestFeatQuals (const string &feature, const string &field, const string &rt_var, TConstraints &constraints, bool remove_constraint)
 
pair< string, stringNMItemData::GetResolveFuncForSwapFeatQuals (const string &feature, const string &field, const string &rt_var, TConstraints &constraints, bool remove_constraint, bool &is_gbqual)
 
pair< string, stringNMItemData::GetResolveFuncForSrcCdsGeneProtQuals (const string &fieldname, const string &rt_var, TConstraints &constraints, bool remove_constraint)
 
pair< string, stringNMItemData::GetResolveFuncForDestCdsGeneProtQuals (const string &fieldname, const string &rt_var, TConstraints &constraints, bool remove_constraint)
 
pair< string, stringNMItemData::GetResolveFuncForRNAQuals (const string &fieldname, const string &rt_var, TConstraints &constraints, bool remove_constraint)
 
pair< string, stringNMItemData::GetResolveFuncForSwapQuals (EMacroFieldType fieldtype, const string &fieldname, const string &rt_var, TConstraints &constraints, bool remove_constraint, bool &is_gbqual)
 
string NMItemData::GetEditableFieldForPair (const string &field, const string &rt_var, bool is_feature)
 
string NMItemData::GetResolveFuncForPubQual (const string &field, string &rt_var, TConstraints &constraints)
 
string NMItemData::GetResolveFuncForPubQualConst (const string &field, const string &rt_var, TConstraints &constraints, EMacroFieldType field_type)
 
string NMItemData::GetResolveFuncForApplyAuthors (CPubFieldType::EPubFieldType type, const string &rt_var, TConstraints &constraints)
 
string NMItemData::GetResolveFuncForDBLink (const string &field, string &rt_var, TConstraints &constraints, bool &found_constraint)
 
string NMItemData::GetResolveFuncForDbXref (const string &path, const string &rt_var, TConstraints &constraints)
 
string NMItemData::GetResolveFuncForSVPart (const string &field, const string &rt_var, TConstraints &constraints, bool &found_constraint)
 
string NMItemData::GetFuncFromTable_Depr (const string &rt_var, const string &filename, const string &col, TConstraints &constraints, string &warning)
 
void NMItemData::CheckTableNameAndColumns (const string &filename, const TStringPairsVector &values, TConstraints &constraints, string &warning)
 
string NMItemData::GetFuncFromTable (const string &rt_var, const string &col)
 
string NMItemData::GetPropertyFromInfo (const string &info, const string &property)
 
bool NMItemData::MultipleValuesAllowed (const string &field)
 
bool NMItemData::IsGeneField (const string &field_name)
 
string NMItemData::GetResolveFuncForGeneQuals (const string &container, const string &field, const string &rt_var, TConstraints &constraints, bool remove_constraint=true)
 
string NMItemData::GetResolveFuncForStrCommQual (const string &field, const string &field_name, const string &rt_var, TConstraints &constraints)
 
string NMItemData::GetDelimiterDescr (const string &del)
 
string NMItemData::GetExistingTextDescr (const CArgumentList &arg_list)
 
string NMItemData::GetHandleOldValue (const string &type)
 
string NMItemData::GetDelimiterChar (const string &del)
 
string NMItemData::GetHandleBlank (const string &str)
 
string NMItemData::GetBlankGUIText (const string &str)
 
string NMItemData::GetStructCommQualDescr (const CArgumentList &arg_list)
 
void NMItemData::UpdateConstraintsForMisc (TConstraints &constraints, const string &fieldname, const string &target)
 
CTempString NMItemData::UpdateTargetForMisc (const string &fieldname)
 
CTempString NMItemData::UpdateTargetForMolinfo (const string &molinfo_type)
 
CTempString NMItemData::UpdateTargetForRnas (const string &rna_type)
 
CTempString NMItemData::UpdateTargetForDualRnas (const string &rna_type, const string &from_field)
 
CTempString NMItemData::UpdateTargetForFeatures (const string &feature, const string &qualifier, bool for_removal=false)
 
CTempString NMItemData::UpdateTargetForDualFeatures (const string &feature, const string &from_field)
 
CTempString NMItemData::UpdateTargetForCdsGeneProt (const string &fieldname)
 
void NMItemData::UpdateConstraintsForRnas (TConstraints &constraints, const CArgumentList &arg_list)
 
void NMItemData::UpdateConstraintsForRnas (TConstraints &constraints, const string &rna_type, const string &ncRNA_class)
 
string NMItemData::GetGUIRNAType (const string &rna_type)
 
void NMItemData::UpdateConstraintsForFeatures (TConstraints &constraints, const string &feature)
 
void NMItemData::UpdateConstraintsForDualCdsGeneProt (TConstraints &constraints, const string &src_feat)
 
void NMItemData::AddConstraintIgnoreNewText (const string &field, TConstraints &constraints, const CArgumentList &arg_list, const string &target=kEmptyStr)
 
string NMItemData::GetUpdatemRNADescription (const CArgument &arg)
 
string NMItemData::GetUpdatemRNAVar (const CArgumentList &arg_list)
 
void NMItemData::AppendUpdatemRNAFnc (bool update_mrna, string &function)
 
void NMItemData::OnExistingTextChanged (CArgumentList &list, CArgument &arg)
 
void NMItemData::OnProteinNameSingle (CArgumentList &list, CArgument &arg)
 
void NMItemData::OnProteinNameDouble (CArgumentList &list, CArgument &arg)
 
void NMItemData::OnProductDouble (CArgumentList &list, CArgument &arg)
 
void NMItemData::OnRnaTypeChanged (CArgumentList &list, CArgument &arg)
 
void NMItemData::OnControlsAddRNAPanelSelected (CArgumentList &list, CArgument &arg)
 
void NMItemData::OnRemoveFromParsedField (CArgumentList &list, CArgument &arg)
 
void NMItemData::OnLeftDigitsLettersInParsePanels (CArgumentList &list, CArgument &arg)
 
void NMItemData::OnRightDigitsLettersInParsePanels (CArgumentList &list, CArgument &arg)
 
void NMItemData::OnBeforeCheck (CArgumentList &list, CArgument &arg)
 
void NMItemData::OnAfterCheck (CArgumentList &list, CArgument &arg)
 
void NMItemData::OnStructCommFieldChanged (CArgumentList &list, CArgument &arg)
 
void NMItemData::OnStructCommFieldDblChanged (CArgumentList &list, CArgument &arg)
 
void NMItemData::OnConvertFeatFromCDS (CArgumentList &list, CArgument &arg)
 
void NMItemData::OnConvertFeatToChanged (CArgumentList &list, CArgument &arg)
 
void NMItemData::OnSelectTable (CArgumentList &list, CArgument &arg)
 
void NMItemData::OnSelectFeature (CArgumentList &list, CArgument &arg)
 
void NMItemData::OnMiscFeatRuleSelected (CArgumentList &list, CArgument &arg)
 
void NMItemData::OnAutodefCompleteSelected (CArgumentList &list, CArgument &arg)
 
void NMItemData::OnIllegalDbXrefSelected (CArgumentList &list, CArgument &arg)
 
void NMItemData::OnDOILookupModeChanged (CArgumentList &list, CArgument &arg)
 
EMacroFieldType NMItemData::GetSourceTypeInSinglePanel (const CArgumentList &arg_list)
 
EMacroFieldType NMItemData::GetSourceTypeInDoublePanel (const CArgumentList &arg_list, EDirType dir)
 
string NMItemData::GetSelectedCapType (const CArgumentList &arg_list)
 
string NMItemData::GetCapitalizationType (const string &cap_change)
 
string NMItemData::GetCapitalizationTypeFromChoice (const string &cap_change)
 
void NMItemData::NormalizeFieldForFeatPanel (string &field)
 

Function Documentation

◆ s_AreGoodPair()

static bool s_AreGoodPair ( const vector< CFuncWithArgs > &  func_info)
static

Definition at line 445 of file macro_treeitemdata.cpp.

References NStr::EqualNocase().

Referenced by CMTreeItemDataBuilder::GetMActionType().

◆ USING_SCOPE() [1/2]

USING_SCOPE ( NMacroArgs  )

◆ USING_SCOPE() [2/2]

USING_SCOPE ( objects  )
Modified on Fri Sep 20 14:58:29 2024 by modify_doxy.py rev. 669887