NCBI C++ ToolKit
|
#include <corelib/ncbistd.hpp>
#include <objmgr/seq_entry_handle.hpp>
#include <objects/seqfeat/OrgMod.hpp>
#include <objects/seqfeat/SubSource.hpp>
#include <objects/seqtable/Seq_table.hpp>
#include <objects/seqtable/SeqTable_column.hpp>
#include <objects/seqtable/SeqTable_multi_data.hpp>
#include <objects/seqtable/SeqTable_column_info.hpp>
#include <gui/widgets/wx/wx_utils.hpp>
#include <gui/widgets/grid_widget/grid_widget.hpp>
#include <gui/packages/pkg_sequence_edit/srcedit_util.hpp>
#include <gui/packages/pkg_sequence_edit/seqtable_util.hpp>
#include <gui/packages/pkg_sequence_edit/featedit_util.hpp>
#include <gui/objutils/table_data.hpp>
#include <gui/packages/pkg_sequence_edit/seq_table_grid.hpp>
#include <gui/objutils/cmd_composite.hpp>
Go to the source code of this file.
Go to the SVN repository for this file.
Typedefs | |
typedef pair< CSourceRequirements::EWizardType, string > | TWizardName |
typedef vector< TWizardName > | TWizardNameList |
Functions | |
TWizardNameList | GetWizardNameList () |
CSourceRequirements::EWizardType | GetWizardTypeFromName (string wizard_name) |
void | FixTableAfterImport (CRef< objects::CSeq_table > input_table) |
string | FindBadRows (CRef< objects::CSeq_table > src, CRef< objects::CSeq_table > dst, objects::CSeq_entry_Handle seh) |
CRef< objects::CSeqTable_column > | FindSeqIDColumn (const objects::CSeq_table &table) |
int | FindRowForSeqId (CRef< objects::CSeqTable_column > id_col, CRef< objects::CSeq_id > id) |
int | CountColumnRowConflicts (CRef< objects::CSeqTable_column > dst_id, CRef< objects::CSeqTable_column > dst_col, CRef< objects::CSeqTable_column > src_id, CRef< objects::CSeqTable_column > src_col) |
int | CountTableColumnConflicts (CRef< objects::CSeq_table > dst, const objects::CSeq_table &src) |
void | DeleteTableRow (CRef< objects::CSeq_table > table, int row) |
int | CombineTables (CRef< objects::CSeq_table > dst, const objects::CSeq_table &src) |
bool | SaveTableFile (wxWindow *parent, wxString &save_file_dir, wxString &save_file_name, CRef< objects::CSeq_table > values_table) |
bool | AreAllColumnValuesTheSame (CRef< objects::CSeqTable_column > col, string default_val="") |
bool | AreAnyColumnValuesMissing (CRef< objects::CSeqTable_column > col) |
bool | AreAnyColumnValuesPresent (CRef< objects::CSeqTable_column > col, string default_val="") |
bool | DoesColumnHaveValue (CRef< objects::CSeqTable_column > col, string val) |
bool | AddSeqEntryToSeqEntry (const objects::CSeq_entry *entry, objects::CSeq_entry_Handle seh, CRef< CCmdComposite > cmd, bool &has_nuc, bool &has_prot, bool create_general_only) |
string | CheckFeatureAnnotation (objects::CSeq_entry_Handle entry, bool &is_ok) |
int | AddFeatureToSeqTable (const objects::CSeq_feat &f, CRef< objects::CSeq_table > table) |
CRef< objects::CSeq_table > | GetFeaturesFromSeqEntry (objects::CSeq_entry_Handle entry, const objects::CSeq_feat &feat, const TFeatureSeqTableColumnList &reqs) |
void | MergeStringVectors (vector< string > &problems, vector< string > add) |
void | RemoveProblemsColumn (CRef< objects::CSeq_table > values_table) |
void | AddProblemsColumnToFeatureSeqTable (CRef< objects::CSeq_table > table, const TFeatureSeqTableColumnList &reqs, const TFeatureSeqTableColumnList &opts) |
CRef< CCmdComposite > | AddFeatureSeqTableToSeqEntry (CRef< objects::CSeq_table > table, objects::CSeq_entry_Handle entry, objects::CSeqFeatData::ESubtype subtype, const TFeatureSeqTableColumnList &reqs, const TFeatureSeqTableColumnList &opts) |
bool | HasLocalIntFeatureId (const objects::CSeq_feat &feat) |
CRef< CCmdComposite > | RemoveMatchingFeaturesWithoutLocalIntFeatureIdsFromSeqEntry (objects::CSeq_entry_Handle entry, const objects::CSeq_feat &feat, const TFeatureSeqTableColumnList &reqs) |
CRef< CFeatureSeqTableColumnBase > | GetColumnRuleForFeatureSeqTable (CRef< objects::CSeqTable_column > col, const TFeatureSeqTableColumnList &reqs, const TFeatureSeqTableColumnList &opts) |
vector< string > | GetTrueFalseList () |
bool | IsSynonymForTrue (const string &val) |
bool | IsSynonymForFalse (const string &val) |
bool | IsTrueFalseList (const vector< string > &choices) |
wxString | GetAsnSqnExtensions () |
bool | IsWizardObject (const objects::CUser_object &user) |
CRef< objects::CUser_object > | MakeWizardObject () |
string | GetFieldFromWizardObject (const objects::CUser_object &user, string field_name) |
void | SetWizardFieldInSeqEntryNoUndo (objects::CSeq_entry_Handle entry, string field_name, string value) |
CRef< objects::CUser_object > | MakeBankItSubmissionObject () |
bool | IsBankItSubmissionObject (const objects::CUser_object &user) |
string | GetDescAlternateEmailAddress (const objects::CSeqdesc &desc) |
string | GetAlternateEmailAddress (objects::CSeq_entry_Handle entry) |
void | SetUserAlternateEmailAddress (objects::CUser_object &u, string alt_email) |
void | SetAlternateEmailAddress (objects::CSeq_entry_Handle entry, string alt_email) |
bool | IsValidEmail (string email) |
CRef< objects::CSeq_table > | GetIdsFromSeqEntry (const objects::CSeq_entry &entry) |
void | AddIdsFromSeqEntryToTable (const objects::CSeq_entry &entry, CRef< objects::CSeq_table > table) |
CRef< objects::CSeqTable_column > | GetSeqIdProblems (CRef< objects::CSeq_table > new_ids, CRef< objects::CSeq_table > old_ids, size_t max_len) |
string | SummarizeIdProblems (CRef< objects::CSeqTable_column > problems) |
CRef< objects::CSeqTable_column > | GetReplacementSeqIds (CRef< objects::CSeq_table > new_ids, CRef< objects::CSeq_table > old_ids, size_t max_len) |
void | ApplyReplacementIds (objects::CSeq_entry &entry, CRef< objects::CSeq_table > table) |
vector< string > | FindNonUniqueStrings (const vector< string > &values) |
vector< string > | SortUniqueStrings (const vector< string > &values) |
bool | AlreadyHasFeature (objects::CBioseq_Handle bh, string key, string comment) |
bool | AlreadyHasFeature (objects::CBioseq_Handle bh, objects::CSeqFeatData::ESubtype subtype) |
Variables | |
const string | kSubmissionPreparationToolVersion = "1.0" |
const string | kWizardLabel = "NCBIWizard" |
typedef pair<CSourceRequirements::EWizardType, string> TWizardName |
Definition at line 58 of file subprep_util.hpp.
typedef vector<TWizardName> TWizardNameList |
Definition at line 59 of file subprep_util.hpp.
CRef<CCmdComposite> AddFeatureSeqTableToSeqEntry | ( | CRef< objects::CSeq_table > | table, |
objects::CSeq_entry_Handle | entry, | ||
objects::CSeqFeatData::ESubtype | subtype, | ||
const TFeatureSeqTableColumnList & | reqs, | ||
const TFeatureSeqTableColumnList & | opts | ||
) |
Definition at line 1278 of file subprep_util.cpp.
References AddFeatureSeqTableRowToSeqEntry(), cmd, ctll::front(), GetColumnRuleForFeatureSeqTable(), i, kSkipColumns, ncbi::grid::netcache::search::fields::size, and table.
Referenced by CFeatureTableCommandConverter::GetCommandFromValuesTable().
Definition at line 1089 of file subprep_util.cpp.
References AddValueToTable(), eExtreme_Biological, NStr::EqualNocase(), f(), i, ITERATE, kFeatureID, kNumSatelliteTypes, kPartialStart, kPartialStop, kSatelliteTypes, kStartColLabel, kStopColLabel, NStr::NumericToString(), row, NStr::StartsWith(), table, NStr::TruncateSpacesInPlace(), and val.
Referenced by GetFeaturesFromSeqEntry(), and CFeatureTableCommandConverter::GetValuesTableFromSeqEntry().
void AddIdsFromSeqEntryToTable | ( | const objects::CSeq_entry & | entry, |
CRef< objects::CSeq_table > | table | ||
) |
Definition at line 1698 of file subprep_util.cpp.
References AddIdsFromSeqEntryToTable(), FindSeqTableColumnByName(), kSequenceIdColLabel, row, s_MakeIdTableIdCol(), s_MakeNpCol(), s_MakePosCol(), s_MakeTitleCol(), and table.
void AddProblemsColumnToFeatureSeqTable | ( | CRef< objects::CSeq_table > | table, |
const TFeatureSeqTableColumnList & | reqs, | ||
const TFeatureSeqTableColumnList & | opts | ||
) |
Definition at line 1367 of file subprep_util.cpp.
References AddProblemsToColumn(), GetColumnRuleForFeatureSeqTable(), i, ITERATE, kProblems, kSkipColumns, RemoveProblemsColumn(), ncbi::grid::netcache::search::fields::size, and table.
Referenced by CFeatureTableCommandConverter::GetValuesTableFromSeqEntry().
bool AddSeqEntryToSeqEntry | ( | const objects::CSeq_entry * | entry, |
objects::CSeq_entry_Handle | seh, | ||
CRef< CCmdComposite > | cmd, | ||
bool & | has_nuc, | ||
bool & | has_prot, | ||
bool | create_general_only | ||
) |
Definition at line 893 of file subprep_util.cpp.
References AddProteinToSeqEntry(), cmd, ITERATE, ParseTitlesToNewSeqEntries(), and s_ReportMixError().
Referenced by CAddSequences::apply(), CSubPrep_panel::OnAddSequenceBtnClick(), and CPromote::x_PromoteCdregion().
bool AlreadyHasFeature | ( | objects::CBioseq_Handle | bh, |
objects::CSeqFeatData::ESubtype | subtype | ||
) |
Definition at line 2051 of file subprep_util.cpp.
References f().
Definition at line 2033 of file subprep_util.cpp.
References NStr::Equal(), NStr::EqualNocase(), f(), NStr::IsBlank(), and ncbi::grid::netcache::search::fields::key.
Referenced by CBulkOtherAddPanel::AddOneCommand(), CBulkRNAAddPanel::AddOneCommand(), CBulkCDSAddPanel::AddOneCommand(), CIGSPanel::GetCommand(), CRNANamePanel::GetCommand(), CVirusNonCodingFeaturesPanel::GetCommand(), and CBulkFeatureAddDlgStd::x_CreateImportFeatures().
void ApplyReplacementIds | ( | objects::CSeq_entry & | entry, |
CRef< objects::CSeq_table > | table | ||
) |
Definition at line 1999 of file subprep_util.cpp.
References FindSeqTableColumnByName(), kNewId, kSequenceIdColLabel, NON_CONST_ITERATE, table, and TransformSeqAnnots().
Referenced by CAddSequences::apply(), and CSubPrep_panel::OnAddSequenceBtnClick().
Definition at line 596 of file subprep_util.cpp.
References NStr::Equal(), NStr::IsBlank(), row, and val.
Referenced by CCommentDescriptorTableCommandConverter::CheckForMixedValues(), CChimeraCommentDescriptorTableCommandConverter::CheckForMixedValues(), CTableCommandConverter::CheckForMixedValues(), CGenomeTableCommandConverter::CheckForMixedValues(), CPrimerTableCommandConverter::CheckForMixedValues(), CSubPrep_panel::OkToBulkEditSeqTech(), CSubPrep_panel::SetWizardType(), CSubmissionPrepMainPanel::UpdateSeqTechCtrls(), and CSubPrepFieldEditor::UpdateValues().
Definition at line 634 of file subprep_util.cpp.
References NStr::IsBlank(), and row.
Referenced by CChimeraCommentDescriptorTableCommandConverter::CheckForMixedValues(), CSubPrep_panel::SetWizardType(), CSubmissionPrepMainPanel::UpdateSeqTechCtrls(), and CSubPrepFieldEditor::UpdateValues().
Definition at line 678 of file subprep_util.cpp.
References NStr::EqualNocase(), NStr::IsBlank(), and row.
Referenced by CSubPrep_panel::x_ClearWizardSpecificData(), and CSubPrepFieldEditor::x_SetOneValue().
Definition at line 968 of file subprep_util.cpp.
References all, and NStr::NumericToString().
Referenced by CSubPrep_panel::x_UpdateFeatureStatus().
Definition at line 505 of file subprep_util.cpp.
References CombineColumns(), FindSeqIDColumn(), FindSeqTableColumnByName(), and ITERATE.
Referenced by CTblEditDlg::OnImportTableClick().
int CountColumnRowConflicts | ( | CRef< objects::CSeqTable_column > | dst_id, |
CRef< objects::CSeqTable_column > | dst_col, | ||
CRef< objects::CSeqTable_column > | src_id, | ||
CRef< objects::CSeqTable_column > | src_col | ||
) |
Definition at line 393 of file subprep_util.cpp.
References NStr::Equal(), FindRowForSeqId(), i, NStr::IsBlank(), and row.
Referenced by CountTableColumnConflicts().
Definition at line 411 of file subprep_util.cpp.
References CountColumnRowConflicts(), FindSeqIDColumn(), FindSeqTableColumnByName(), and ITERATE.
Referenced by CTblEditDlg::OnImportTableClick().
Definition at line 432 of file subprep_util.cpp.
References NON_CONST_ITERATE, row, and table.
Referenced by FixTableAfterImport().
Definition at line 656 of file subprep_util.cpp.
References NStr::Equal(), row, and val.
Referenced by CSubmissionPrepMainPanel::CreateVirusMoleculeOptions().
string FindBadRows | ( | CRef< objects::CSeq_table > | src, |
CRef< objects::CSeq_table > | dst, | ||
objects::CSeq_entry_Handle | seh | ||
) |
Definition at line 327 of file subprep_util.cpp.
References eContent, FindSeqIDColumn(), NStr::IsBlank(), ITERATE, NStr::NumericToString(), OneRowOk(), and row.
Referenced by CTblEditDlg::OnImportTableClick().
Definition at line 1036 of file featedit_util.cpp.
References NStr::Equal().
Referenced by GetReplacementSeqIds(), GetSeqIdProblems(), CSatelliteTypeNameColumn::IsValid(), and CSubPrep_panel::x_NeedUniqueMicrosatelliteNames().
Definition at line 377 of file subprep_util.cpp.
References row.
Referenced by CombineColumns(), and CountColumnRowConflicts().
Definition at line 365 of file subprep_util.cpp.
References ITERATE, NULL, and table.
Referenced by CombineTables(), CountTableColumnConflicts(), FindBadRows(), and FixTableAfterImport().
void FixTableAfterImport | ( | CRef< objects::CSeq_table > | input_table | ) |
Definition at line 219 of file subprep_util.cpp.
References DeleteTableRow(), eContent, NStr::Equal(), NStr::EqualNocase(), FindSeqIDColumn(), NStr::IsBlank(), ITERATE, NON_CONST_ITERATE, NStr::NumericToString(), NStr::ReplaceInPlace(), ncbi::grid::netcache::search::fields::size, and val.
Referenced by CTblEditDlg::OnImportTableClick().
string GetAlternateEmailAddress | ( | objects::CSeq_entry_Handle | entry | ) |
Definition at line 1549 of file subprep_util.cpp.
References GetDescAlternateEmailAddress(), and NStr::IsBlank().
Referenced by CSubPrep_panel::GetAltEmailAddress().
wxString GetAsnSqnExtensions | ( | ) |
Definition at line 1419 of file subprep_util.cpp.
References wxT.
Referenced by CSubmitBlockDlg::OnExportBtnClick(), and CSubPrep_panel::OnSaveBtnClick().
CRef<CFeatureSeqTableColumnBase> GetColumnRuleForFeatureSeqTable | ( | CRef< objects::CSeqTable_column > | col, |
const TFeatureSeqTableColumnList & | reqs, | ||
const TFeatureSeqTableColumnList & | opts | ||
) |
Definition at line 1350 of file subprep_util.cpp.
References CFeatureSeqTableColumnBaseFactory::Create(), ITERATE, and MatchColumnName().
Referenced by AddFeatureSeqTableToSeqEntry(), AddProblemsColumnToFeatureSeqTable(), and CFeatureTableCommandConverter::MakeProblemsColumn().
Definition at line 1535 of file subprep_util.cpp.
References NStr::Find(), GetFieldFromWizardObject(), IsBankItSubmissionObject(), kBankItAltEmailPrefix, kSMARTComment, and str().
Referenced by GetAlternateEmailAddress(), and CSubmitBlockDlg::OnImportBtnClick().
CRef<objects::CSeq_table> GetFeaturesFromSeqEntry | ( | objects::CSeq_entry_Handle | entry, |
const objects::CSeq_feat & | feat, | ||
const TFeatureSeqTableColumnList & | reqs | ||
) |
Definition at line 1159 of file subprep_util.cpp.
References AddFeatureToSeqTable(), AddIntColumnToTable(), AddStringColumnToTable(), fi, kFeatureID, kSequenceIdColLabel, kStartColLabel, kStopColLabel, s_OkToAddFeature(), and table.
Referenced by CFeatureTableCommandConverter::GetValuesTableFromSeqEntry().
Definition at line 1516 of file subprep_util.cpp.
References NStr::EqualNocase(), ITERATE, and rapidjson::value.
Referenced by GetDescAlternateEmailAddress(), CSubPrep_panel::GetWizardFieldFromSeqEntry(), CSubPrep_panel::GetWizardSrcTypeField(), CSubPrep_panel::GetWizardTypeField(), CSubPrep_panel::GetWizardTypefromSeqEntry(), and CSubPrep_panel::x_GetWizardSrcTypefromSeqEntry().
Definition at line 1731 of file subprep_util.cpp.
References AddIdsFromSeqEntryToTable(), row, s_MakeIdTableIdCol(), s_MakeNpCol(), s_MakePosCol(), s_MakeTitleCol(), and table.
Referenced by CAddSequences::apply(), CSeqIdFixDlg::CreateControls(), and CSubPrep_panel::OnAddSequenceBtnClick().
CRef<objects::CSeqTable_column> GetReplacementSeqIds | ( | CRef< objects::CSeq_table > | new_ids, |
CRef< objects::CSeq_table > | old_ids, | ||
size_t | max_len | ||
) |
Definition at line 1873 of file subprep_util.cpp.
References eContent, NStr::EqualNocase(), FindNonUniqueStrings(), FindSeqTableColumnByName(), i, ITERATE, kSequenceIdColLabel, log, NULL, NStr::NumericToString(), offset, CRef< C, Locker >::Reset(), NStr::StartsWith(), str(), and NStr::StringToInt().
CRef<objects::CSeqTable_column> GetSeqIdProblems | ( | CRef< objects::CSeq_table > | new_ids, |
CRef< objects::CSeq_table > | old_ids, | ||
size_t | max_len | ||
) |
Definition at line 1769 of file subprep_util.cpp.
References eContent, NStr::EqualNocase(), FindNonUniqueStrings(), FindSeqTableColumnByName(), GetIdValueFromColumn(), i, NStr::IsBlank(), ITERATE, kIdDuplicate, kIdMissing, kIdTooLong, kNewId, kSequenceIdColLabel, NULL, CRef< C, Locker >::Reset(), str(), and val.
Referenced by CAddSequences::apply(), CSeqIdFixDlg::CreateControls(), CSeqIdFixDlg::GetReplacementTable(), CSubPrep_panel::OnAddSequenceBtnClick(), and CSeqIdFixDlg::x_RefreshProblems().
vector<string> GetTrueFalseList | ( | ) |
Definition at line 1041 of file subprep_util.cpp.
Referenced by CFeatureTableCommandConverter::GetChoices().
TWizardNameList GetWizardNameList | ( | ) |
Definition at line 121 of file subprep_util.cpp.
References i, k_NumWizardNames, and s_WizardNames.
Referenced by CSubPrepIntroPanel::CreateControls(), and CSubPrep_panel::Init().
CSourceRequirements::EWizardType GetWizardTypeFromName | ( | string | wizard_name | ) |
Definition at line 132 of file subprep_util.cpp.
References NStr::EqualNocase(), CSourceRequirements::eWizardType_standard, k_NumWizardNames, and s_WizardNames.
Referenced by CSubPrep_panel::GetWizardTypefromSeqEntry(), and CSubPrepIntroPanel::SetWizardTypeCtrl().
Definition at line 1393 of file subprep_util.cpp.
Referenced by RemoveMatchingFeaturesWithoutLocalIntFeatureIdsFromSeqEntry().
Definition at line 1498 of file subprep_util.cpp.
References NStr::EqualNocase(), and kBankitSubmissionLabel.
Referenced by GetDescAlternateEmailAddress(), CSubmitBlockDlg::OnImportBtnClick(), and SetAlternateEmailAddress().
Definition at line 1061 of file subprep_util.cpp.
References NStr::EqualNocase(), NStr::IsBlank(), and val.
Referenced by IsTrueFalseList(), CSeqTableGridPanel::SetColumnSizesAndChoices(), and CSeqTableGridPanel::UpdateColumnChoices().
Definition at line 1049 of file subprep_util.cpp.
References NStr::EqualNocase(), and val.
Referenced by IsTrueFalseList(), CSeqTableGridPanel::SetColumnSizesAndChoices(), and CSeqTableGridPanel::UpdateColumnChoices().
Definition at line 1074 of file subprep_util.cpp.
References IsSynonymForFalse(), and IsSynonymForTrue().
Definition at line 1602 of file subprep_util.cpp.
References NStr::Find(), NStr::IsBlank(), and tmp.
Referenced by CSubmitBlockDlg::GetBlockProblems(), CSubPrepIntroPanel::RefreshSubmitterInfoStatus(), and CSubPrepIntroPanel::x_LaunchSubmitEditor().
Definition at line 1443 of file subprep_util.cpp.
References NStr::EqualNocase(), and kWizardLabel.
Referenced by CSubPrep_panel::GetWizardFieldFromSeqEntry(), CSubPrep_panel::GetWizardSrcTypeField(), CSubPrep_panel::GetWizardTypeField(), CSubPrep_panel::GetWizardTypefromSeqEntry(), CSubPrep_panel::SetWizardFieldInSeqEntry(), SetWizardFieldInSeqEntryNoUndo(), and CSubPrep_panel::x_GetWizardSrcTypefromSeqEntry().
CRef<objects::CUser_object> MakeBankItSubmissionObject | ( | ) |
Definition at line 1508 of file subprep_util.cpp.
References kBankitSubmissionLabel.
Referenced by CSubmitBlockDlg::OnExportBtnClick(), and SetAlternateEmailAddress().
CRef<objects::CUser_object> MakeWizardObject | ( | ) |
Definition at line 1453 of file subprep_util.cpp.
References kWizardLabel.
Referenced by CSubPrep_panel::SetWizardFieldInSeqEntry(), and SetWizardFieldInSeqEntryNoUndo().
Definition at line 1297 of file subprep_util.cpp.
References NStr::IsBlank().
Referenced by AddProblemsToColumn().
CRef<CCmdComposite> RemoveMatchingFeaturesWithoutLocalIntFeatureIdsFromSeqEntry | ( | objects::CSeq_entry_Handle | entry, |
const objects::CSeq_feat & | feat, | ||
const TFeatureSeqTableColumnList & | reqs | ||
) |
Definition at line 1403 of file subprep_util.cpp.
References cmd, fi, HasLocalIntFeatureId(), and s_OkToAddFeature().
Referenced by CFeatureTableCommandConverter::GetCommandFromValuesTable().
void RemoveProblemsColumn | ( | CRef< objects::CSeq_table > | values_table | ) |
Definition at line 1336 of file subprep_util.cpp.
References NStr::Equal(), and kProblems.
Referenced by AddProblemsColumnToFeatureSeqTable(), and CTblEditDlg::OnUpdateProblems().
bool SaveTableFile | ( | wxWindow * | parent, |
wxString & | save_file_dir, | ||
wxString & | save_file_name, | ||
CRef< objects::CSeq_table > | values_table | ||
) |
Definition at line 533 of file subprep_util.cpp.
References eContent, CCSVExporter::Field(), CFileExtensions::GetDialogFilter(), i, ITERATE, CFileExtensions::kAllFiles, CFileExtensions::kTable, label, CCSVExporter::NewRow(), out(), and wxT.
Referenced by CAssemblyTrackingPanel::OnExportIntervalsBtnClick(), and CTblEditDlg::OnExportTableClick().
void SetAlternateEmailAddress | ( | objects::CSeq_entry_Handle | entry, |
string | alt_email | ||
) |
Definition at line 1572 of file subprep_util.cpp.
References IsBankItSubmissionObject(), MakeBankItSubmissionObject(), and SetUserAlternateEmailAddress().
Referenced by CSubPrep_panel::SetAltEmailAddress().
void SetUserAlternateEmailAddress | ( | objects::CUser_object & | u, |
string | alt_email | ||
) |
Definition at line 1562 of file subprep_util.cpp.
References NStr::eNocase, kBankItAltEmailPrefix, kSMARTComment, and NStr::StartsWith().
Referenced by CSubmitBlockDlg::OnExportBtnClick(), and SetAlternateEmailAddress().
void SetWizardFieldInSeqEntryNoUndo | ( | objects::CSeq_entry_Handle | entry, |
string | field_name, | ||
string | value | ||
) |
Definition at line 1461 of file subprep_util.cpp.
References IsWizardObject(), MakeWizardObject(), and rapidjson::value.
Referenced by CSubPrep_panel::OnSaveBtnClick(), and CSubPrep_panel::UpdateSubmitBlock().
Definition at line 1074 of file featedit_util.cpp.
References NStr::Equal().
Referenced by CSubPrep_panel::x_UpdateFeatureStatus().
Definition at line 1843 of file subprep_util.cpp.
References NStr::FindNoCase(), ITERATE, kIdDuplicate, kIdTooLong, and NStr::NumericToString().
Referenced by CAddSequences::apply(), CSeqIdFixDlg::GetReplacementTable(), and CSubPrep_panel::OnAddSequenceBtnClick().
Definition at line 55 of file subprep_util.hpp.
Referenced by CSubmitBlockDlg::x_CreateBlock().
Definition at line 101 of file subprep_util.hpp.
Referenced by IsWizardObject(), and MakeWizardObject().