Search Toolkit Book for CStringConstraintPanel
#include <gui/packages/pkg_sequence_edit/string_constraint_panel.hpp>
Definition at line 133 of file string_constraint_panel.hpp.
◆ EMatchType Enumerator eMatchType_Contains eMatchType_DoesNotContain eMatchType_Equals eMatchType_DoesNotEqual eMatchType_StartsWith eMatchType_EndsWith eMatchType_IsOneOf eMatchType_IsNotOneOf eMatchType_DoesNotStartWith eMatchType_DoesNotEndWith eMatchType_Is_all_caps eMatchType_Is_first_each_cap eMatchType_IsFirstCapDefinition at line 143 of file string_constraint_panel.hpp.
◆ CStringConstraintPanel() [1/2] CStringConstraintPanel::CStringConstraintPanel ( ) ◆ CStringConstraintPanel() [2/2] CStringConstraintPanel::CStringConstraintPanel ( wxWindow * parent, bool parentAECRDlg =false
, wxWindowID id = ID_CSTRINGCONSTRAINTPANEL
, const wxPoint & pos = wxDefaultPosition
, const wxSize & size = wxSize(400,300)
, long style = wxTAB_TRAVERSAL
, bool cap_constraints = false
) ◆ ~CStringConstraintPanel() CStringConstraintPanel::~CStringConstraintPanel ( ) ◆ ClearValues() void CStringConstraintPanel::ClearValues ( void ) ◆ Create() bool CStringConstraintPanel::Create ( wxWindow * parent, wxWindowID id = ID_CSTRINGCONSTRAINTPANEL
, const wxPoint & pos = wxDefaultPosition
, const wxSize & size = wxSize(400,300)
, long style = wxTAB_TRAVERSAL
) ◆ CreateControls() void CStringConstraintPanel::CreateControls ( )
Creates the controls and sizers.
Control creation for CStringConstraintPanel
Definition at line 131 of file string_constraint_panel.cpp.
References _, ID_STRING_CONSTRAINT_CHECKBOX5, ID_STRING_CONSTRAINT_CHECKBOX6, ID_STRING_CONSTRAINT_CLEAR_BUTTON, ID_STRING_CONSTRAINT_MATCH_CHOICE, ID_STRING_CONSTRAINT_MATCH_TEXT, m_CapConstraints, m_IgnoreCase, m_IgnoreSpace, m_MatchChoice, m_MatchText, m_MatchType, m_ParentAECRDlg, m_TextSizer, and wxID_ANY.
Referenced by Create().
◆ GetBitmapResource() wxBitmap CStringConstraintPanel::GetBitmapResource ( const wxString & name ) ◆ GetIconResource() wxIcon CStringConstraintPanel::GetIconResource ( const wxString & name ) ◆ GetMacroStringConstraint() string CStringConstraintPanel::GetMacroStringConstraint ( const string & field_name )Definition at line 374 of file string_constraint_panel.cpp.
References eMatchType_Contains, eMatchType_DoesNotContain, eMatchType_DoesNotEndWith, eMatchType_DoesNotEqual, eMatchType_DoesNotStartWith, eMatchType_EndsWith, eMatchType_Equals, eMatchType_IsNotOneOf, eMatchType_IsOneOf, eMatchType_StartsWith, ctll::empty(), kEmptyStr, m_IgnoreCase, m_IgnoreSpace, m_is_choice, m_MatchChoice, m_MatchText, m_MatchType, NStr::Replace(), ToStdString(), and x_ReplaceChoices().
Referenced by CConstraintPanel::GetMacroStringConstraint().
◆ GetStringConstraint() CRef< edit::CStringConstraint > CStringConstraintPanel::GetStringConstraint ( void )Definition at line 304 of file string_constraint_panel.cpp.
References eMatchType_Contains, eMatchType_DoesNotContain, eMatchType_DoesNotEndWith, eMatchType_DoesNotEqual, eMatchType_DoesNotStartWith, eMatchType_EndsWith, eMatchType_Equals, eMatchType_IsNotOneOf, eMatchType_IsOneOf, eMatchType_StartsWith, m_IgnoreCase, m_IgnoreSpace, m_is_choice, m_MatchChoice, m_MatchText, m_MatchType, not_found, NULL, NStr::Replace(), CRef< C, Locker >::Reset(), ToStdString(), and val.
Referenced by CClearKeywords::ApplyToCSeq_entry(), CApplyIndexerComments::ApplyToCSeq_entry(), CCdsFromGeneMrnaExon::GetCommand(), CConvertCdsWithGapsToMiscFeat::GetCommand(), CConvertFeatDlg::GetCommand(), CEditPubDlg::GetCommand(), CExonFromCds::GetCommand(), CExtendPartialFeatDlg::GetCommand(), CFuseFeaturesDlg::GetCommand(), CGeneFeatFromOtherFeatDlg::GetCommand(), CmRNAFromGeneCdsExon::GetCommand(), CRmDupFeaturesDlg::GetCommand(), CRemoveGeneXrefs::GetCommand(), CResolveIntersectingFeats::GetCommand(), CSuppressGenes::GetCommand(), CtRNAFromGene::GetCommand(), CAddFeatureBetweenDlg::GetFeatureLocations(), CEditPubDlg::GetStringConstraint(), CFieldConstraintPanel::GetStringConstraint(), CConstraintPanel::GetStringConstraint(), Match(), CCdsToMatPeptide::MergeConvert(), CSelectFeatures::OnAccept(), CBarcodeTool::OnSelect(), CRemoveSequencesDlg::OnSelect(), CRevCompSequencesDlg::OnSelect(), CIDSubpanel::OnSelectButton(), CEditSeqId::x_CollectChangedIds(), and CRemoveGeneralId::x_CollectChangedIds().
◆ Init() void CStringConstraintPanel::Init ( void ) ◆ Match()Definition at line 445 of file string_constraint_panel.cpp.
References eMatchType_Is_all_caps, eMatchType_Is_first_each_cap, eMatchType_IsFirstCap, GetStringConstraint(), m_MatchType, CString_constraint::Match(), not_found, CString_constraint_Base::SetIs_all_caps(), CString_constraint_Base::SetIs_first_cap(), CString_constraint_Base::SetIs_first_each_cap(), str(), and val.
Referenced by CStringConstraintSelect::OnApply().
◆ OnClear() void CStringConstraintPanel::OnClear ( wxCommandEvent & event ) ◆ OnMatchTypeSelected() void CStringConstraintPanel::OnMatchTypeSelected ( wxCommandEvent & event ) ◆ SetChoices() ◆ SetStringSelection() void CStringConstraintPanel::SetStringSelection ( const wxString & str ) inline ◆ ShowChoiceOrText() void CStringConstraintPanel::ShowChoiceOrText ( void ) ◆ ShowToolTips() bool CStringConstraintPanel::ShowToolTips ( ) static ◆ x_ReplaceChoices() ◆ m_CapConstraints bool CStringConstraintPanel::m_CapConstraints private ◆ m_ChoiceToValue ◆ m_IgnoreCase wxCheckBox* CStringConstraintPanel::m_IgnoreCase private ◆ m_IgnoreSpace wxCheckBox* CStringConstraintPanel::m_IgnoreSpace private ◆ m_is_choice bool CStringConstraintPanel::m_is_choice private ◆ m_MatchChoice wxComboBox* CStringConstraintPanel::m_MatchChoice private ◆ m_MatchText wxTextCtrl* CStringConstraintPanel::m_MatchText private ◆ m_MatchType wxChoice* CStringConstraintPanel::m_MatchType private ◆ m_ParentAECRDlg bool CStringConstraintPanel::m_ParentAECRDlg private ◆ m_TextSizer wxBoxSizer* CStringConstraintPanel::m_TextSizer privateThe documentation for this class was generated from the following files:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4