NCBI C++ ToolKit
|
#include <corelib/ncbistd.hpp>
#include <objects/seq/Seqdesc.hpp>
#include <objects/biblio/Cit_sub.hpp>
#include <objects/biblio/Auth_list.hpp>
#include <objects/biblio/Author.hpp>
#include <objects/biblio/Imprint.hpp>
#include <objects/pub/Pub.hpp>
#include <objects/seq/Pubdesc.hpp>
#include <objects/general/User_object.hpp>
#include <objects/general/User_field.hpp>
#include <objmgr/scope.hpp>
#include <objtools/edit/loc_edit.hpp>
#include <objtools/edit/parse_text_options.hpp>
#include <objtools/cleanup/capitalization_string.hpp>
#include <gui/objutils/cmd_composite.hpp>
#include <gui/widgets/wx/wx_utils.hpp>
#include <gui/packages/pkg_sequence_edit/featedit_util.hpp>
#include <gui/packages/pkg_sequence_edit/srcedit_util.hpp>
#include <gui/packages/pkg_sequence_edit/seqtable_util.hpp>
Go to the source code of this file.
Go to the SVN repository for this file.
Classes | |
class | CFieldHandlerFactory |
class | CTextDescriptorField |
class | CCommentDescField |
class | CDefinitionLineField |
class | CGenbankKeywordField |
class | CGenomeProjectField |
class | CBankITCommentField |
class | CGeneralCommentField |
class | CSeqIdField |
class | CFileIDField |
class | CGeneralIDField |
class | CLocalIDField |
class | CStructCommFieldValuePair |
class | CStructCommDBName |
class | CStructCommFieldName |
class | CFlatFileField |
class | CMiscSeqTableColumn |
Typedefs | |
typedef vector< CRef< CMiscSeqTableColumn > > | TMiscSeqTableColumnList |
Functions | |
CRef< CCmdComposite > | ConvertValCmd (CConstRef< CObject > object, CRef< CMiscSeqTableColumn > col1, CRef< CMiscSeqTableColumn > col2, objects::edit::EExistingText existing_text, objects::CScope &scope) |
CRef< objects::CSeq_table > | GetMiscTableFromSeqEntry (const vector< string > &fields, objects::CSeq_entry_Handle entry) |
void | AddMiscColumnsToTable (CRef< objects::CSeq_table > table, const vector< string > &fields, objects::CSeq_entry_Handle entry) |
string | MakeTableMetaInfoString (objects::edit::EExistingText rule, bool erase_blanks) |
CRef< objects::CUser_field > | MakeTableMetaInfoField (objects::edit::EExistingText rule, bool erase_blanks) |
int | CountColumnConflicts (CRef< CMiscSeqTableColumn > col, vector< CConstRef< CObject > > objs, const string &val) |
bool | DoesObjectMatchFieldConstraint (const CObject &object, const string &field_name, CRef< objects::edit::CStringConstraint > string_constraint, CRef< objects::CScope > scope) |
bool | DoesApplyObjectMatchFieldConstraint (const objects::edit::CApplyObject &object, const string &field_name, CRef< objects::edit::CStringConstraint > string_constraint) |
CRef< CCmdComposite > | GetPropagateDBLinkCmd (objects::CSeq_entry_Handle entry) |
CRef< CCmdComposite > | GetCommandFromApplyObject (objects::edit::CApplyObject &obj) |
void | GetViewObjects (IWorkbench *workbench, TConstScopedObjects &objects) |
int | GetNumberOfViewedBioseqs (TConstScopedObjects &objects) |
bool | FocusedOnNucleotides (TConstScopedObjects &objects, const objects::CSeq_entry_Handle &tse) |
bool | FocusedOnAll (TConstScopedObjects &objects, const objects::CSeq_entry_Handle &tse) |
typedef vector< CRef<CMiscSeqTableColumn> > TMiscSeqTableColumnList |
Definition at line 407 of file miscedit_util.hpp.
void AddMiscColumnsToTable | ( | CRef< objects::CSeq_table > | table, |
const vector< string > & | fields, | ||
objects::CSeq_entry_Handle | entry | ||
) |
CRef<CCmdComposite> ConvertValCmd | ( | CConstRef< CObject > | object, |
CRef< CMiscSeqTableColumn > | col1, | ||
CRef< CMiscSeqTableColumn > | col2, | ||
objects::edit::EExistingText | existing_text, | ||
objects::CScope & | scope | ||
) |
int CountColumnConflicts | ( | CRef< CMiscSeqTableColumn > | col, |
vector< CConstRef< CObject > > | objs, | ||
const string & | val | ||
) |
bool DoesApplyObjectMatchFieldConstraint | ( | const objects::edit::CApplyObject & | object, |
const string & | field_name, | ||
CRef< objects::edit::CStringConstraint > | string_constraint | ||
) |
bool FocusedOnAll | ( | TConstScopedObjects & | objects, |
const objects::CSeq_entry_Handle & | tse | ||
) |
Definition at line 3805 of file miscedit_util.cpp.
References CSeq_inst_Base::eMol_na, and GetNumberOfViewedBioseqs().
Referenced by s_Create5ColFeatTable().
bool FocusedOnNucleotides | ( | TConstScopedObjects & | objects, |
const objects::CSeq_entry_Handle & | tse | ||
) |
Referenced by CApplyRNAITSDlg::GetCommand(), and s_Create5ColFeatTable().
CRef<CCmdComposite> GetCommandFromApplyObject | ( | objects::edit::CApplyObject & | obj | ) |
Referenced by CLowerQuals::GetCommand(), and CRemoveTextInsideStrDlg::GetCommand().
CRef<objects::CSeq_table> GetMiscTableFromSeqEntry | ( | const vector< string > & | fields, |
objects::CSeq_entry_Handle | entry | ||
) |
Referenced by x_TestList(), and x_TestPair().
int GetNumberOfViewedBioseqs | ( | TConstScopedObjects & | objects | ) |
Definition at line 3775 of file miscedit_util.cpp.
References ITERATE.
Referenced by FocusedOnAll(), and FocusedOnNucleotides().
CRef<CCmdComposite> GetPropagateDBLinkCmd | ( | objects::CSeq_entry_Handle | entry | ) |
Referenced by CSequenceEditingEventHandler::PropagateDBLink().
void GetViewObjects | ( | IWorkbench * | workbench, |
TConstScopedObjects & | objects | ||
) |
Definition at line 3744 of file miscedit_util.cpp.
References IProjectView::eType, ISelectionClient::GetActiveObjects(), IProjectView::GetLabel(), ISelectionClient::GetMainObject(), CProjectTreeView::GetSelection(), IServiceLocator::GetServiceByType(), CProjectTreeView::GetSingleObject(), IViewManagerService::GetViews(), and NON_CONST_ITERATE.
Referenced by CMRnaForCDS::apply(), CEditingBtnsPanel::EditSequence(), CSequenceEditingEventHandler::EditSequence(), CSelectFeatures::GetMainObject(), CSUCRefreshCntrl::GetRefreshedText(), CBulkCmdDlg::GetSelectedObjects(), CRemoveSet::GetSelectedObjects(), CBulkCmdDlg::GetTopLevelSeqEntryAndProcessor(), CFixForTransSplicing::Init(), CSUCRefreshCntrl::CSUCRefreshCntrlHelper::LoadData(), CClickableSortUniqueCount::LoadData(), CAddFeatureBetweenDlg::OnApplyButton(), CEditingBtnsPanel::OnDataChange(), CUnculTaxTool::OnRefreshBtn(), CEditingBtnsPanel::OnReverseAuthorNamesClick(), CSelectTargetDlg::OnSelTargetAcceptClick(), CEditingBtnsPanel::Save(), CGuiCoreHelper::Sync(), CValidatePanel::x_GetObjectsFromProjectItem(), CEditingBtnsPanel::x_GetSelectedLocations(), CCorrectGenesDialog::x_GetSelectedPair(), CEditingBtnsPanel::x_GetSelectedSeq(), CTableViewWithTextViewNav::x_GetViewObjects(), CSequinDesktopView::x_OnRefreshData(), CSequenceEditingEventHandler::x_OnSelectionEvent(), CFeatureTblFr::x_RefreshTable(), CSuspectProductRulesEditor::x_SetUpTSEandUnDoManager(), and CSequenceEditingEventHandler::x_SetUpTSEandUnDoManager().
CRef<objects::CUser_field> MakeTableMetaInfoField | ( | objects::edit::EExistingText | rule, |
bool | erase_blanks | ||
) |
Referenced by x_MakeDefaultTextOptions().
string MakeTableMetaInfoString | ( | objects::edit::EExistingText | rule, |
bool | erase_blanks | ||
) |