NCBI C++ ToolKit
|
#include <ncbi_pch.hpp>
#include <objmgr/seqdesc_ci.hpp>
#include <objmgr/seq_entry_ci.hpp>
#include <objtools/edit/autodef_with_tax.hpp>
#include <objects/seqfeat/BioSource.hpp>
#include <objects/seqfeat/Org_ref.hpp>
#include <gui/objutils/cmd_create_desc.hpp>
#include <gui/objutils/descriptor_change.hpp>
#include <objects/misc/sequence_macros.hpp>
#include <gui/packages/pkg_sequence_edit/autodef_params.hpp>
#include <gui/packages/pkg_sequence_edit/prefix_deflinedlg.hpp>
#include <gui/widgets/wx/wx_utils.hpp>
#include <wx/arrstr.h>
#include <wx/string.h>
Go to the source code of this file.
Go to the SVN repository for this file.
Functions | |
USING_SCOPE (ncbi::objects) | |
bool | AddOrgToDefline (CSeq_entry_Handle seh, CCmdComposite *composite) |
bool | FindModifierOnBioseq (const objects::CBioseq_CI &bioseq_ci, const CAutoDefAvailableModifier &mod, string &modifier, bool show_label) |
bool | AddModToDefline (CSeq_entry_Handle entry, CCmdComposite *composite, const CAutoDefAvailableModifier &mod, bool show_label) |
bool | AddModVectorToDefline (CSeq_entry_Handle entry, CCmdComposite *composite, const CAutoDefSourceDescription::TAvailableModifierVector &mod_vector, bool show_label, bool show_org) |
bool AddModToDefline | ( | CSeq_entry_Handle | entry, |
CCmdComposite * | composite, | ||
const CAutoDefAvailableModifier & | mod, | ||
bool | show_label | ||
) |
Definition at line 400 of file prefix_deflinedlg.cpp.
References CCmdComposite::AddCommand(), cmd, CSeqdesc_Base::e_Title, CSeq_inst_Base::eMol_na, FindModifierOnBioseq(), CBioseq_Handle::GetSeq_entry_Handle(), CSeqdesc_CI::GetSeq_entry_Handle(), CSeqdesc_Base::GetTitle(), NStr::IsBlank(), mod(), and CSeqdesc_Base::SetTitle().
bool AddModVectorToDefline | ( | CSeq_entry_Handle | entry, |
CCmdComposite * | composite, | ||
const CAutoDefSourceDescription::TAvailableModifierVector & | mod_vector, | ||
bool | show_label, | ||
bool | show_org | ||
) |
Definition at line 443 of file prefix_deflinedlg.cpp.
References CCmdComposite::AddCommand(), cmd, CSeqdesc_Base::e_Source, CSeqdesc_Base::e_Title, CSeq_inst_Base::eMol_na, FindModifierOnBioseq(), CBioseq_Handle::GetSeq_entry_Handle(), CSeqdesc_CI::GetSeq_entry_Handle(), CSeqdesc_Base::GetTitle(), NStr::IsBlank(), and CSeqdesc_Base::SetTitle().
Referenced by CPrefixDeflinedlg::GetCommand().
bool AddOrgToDefline | ( | CSeq_entry_Handle | seh, |
CCmdComposite * | composite | ||
) |
Definition at line 287 of file prefix_deflinedlg.cpp.
References CCmdComposite::AddCommand(), cmd, CSeqdesc_Base::e_Source, CSeqdesc_Base::e_Title, CSeq_entry_CI::fIncludeGivenEntry, CSeq_entry_CI::fRecursive, CBioseq_set_Handle::GetClass(), CAutoDefWithTaxonomy::GetDocsumOrgDescription(), CSeq_entry_Handle::GetSeq(), CSeqdesc_CI::GetSeq_entry_Handle(), CSeq_entry_Handle::GetSet(), CSeqdesc_Base::GetTitle(), NStr::IsBlank(), CBioseq_Handle::IsNa(), CSeq_entry_Handle::IsSeq(), CSeq_entry_Handle::IsSet(), CBioseq_set_Handle::IsSetClass(), CBioseq_set::NeedsDocsumTitle(), and CSeqdesc_Base::SetTitle().
bool FindModifierOnBioseq | ( | const objects::CBioseq_CI & | bioseq_ci, |
const CAutoDefAvailableModifier & | mod, | ||
string & | modifier, | ||
bool | show_label | ||
) |
Definition at line 355 of file prefix_deflinedlg.cpp.
References CSeqdesc_Base::e_Source, NStr::IsBlank(), and mod().
Referenced by AddModToDefline(), and AddModVectorToDefline().
USING_SCOPE | ( | ncbi::objects | ) |