NCBI C++ ToolKit
|
Search Toolkit Book for CAddCitSubForUpdate
#include <gui/packages/pkg_sequence_edit/add_citsubupdate.hpp>
Public Member Functions | |
bool | apply (objects::CSeq_entry_Handle tse, ICommandProccessor *cmdProcessor, string title) |
void | apply_to_seq_and_feat (objects::CSeq_entry_Handle tse, CCmdComposite *composite) |
void | ApplyToCSeq_entry (objects::CSeq_entry_Handle tse, const objects::CSeq_entry &se, CCmdComposite *composite) |
Definition at line 41 of file add_citsubupdate.hpp.
bool CAddCitSubForUpdate::apply | ( | objects::CSeq_entry_Handle | tse, |
ICommandProccessor * | cmdProcessor, | ||
string | title | ||
) |
Definition at line 42 of file add_citsubupdate.cpp.
References apply_to_seq_and_feat(), ICommandProccessor::Execute(), and CRef< C, Locker >::GetPointer().
Referenced by CSequenceEditingEventHandler::AddCitSubForUpdate(), and CEditingBtnsPanel::OnAddCitSubForUpdate().
void CAddCitSubForUpdate::apply_to_seq_and_feat | ( | objects::CSeq_entry_Handle | tse, |
CCmdComposite * | composite | ||
) |
Definition at line 55 of file add_citsubupdate.cpp.
References ApplyToCSeq_entry(), and CSeq_entry_Handle::GetCompleteSeq_entry().
Referenced by apply().
void CAddCitSubForUpdate::ApplyToCSeq_entry | ( | objects::CSeq_entry_Handle | tse, |
const objects::CSeq_entry & | se, | ||
CCmdComposite * | composite | ||
) |
Definition at line 66 of file add_citsubupdate.cpp.
References _ASSERT, CCmdComposite::AddCommand(), map_checker< Container >::begin(), cmd, CSeq_inst_Base::eMol_na, map_checker< Container >::empty(), map_checker< Container >::end(), NStr::EqualNocase(), CRef< C, Locker >::GetPointer(), NcbiInfoBox(), CConstRef< C, Locker >::Reset(), CCitSubUpdater::s_GetCitSubForUpdatedSequence(), map_checker< Container >::size(), and CCitSubUpdater::sm_ExistingCitSub.
Referenced by apply_to_seq_and_feat().