A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/vcf__search__tool_8cpp_source.html below:

NCBI C++ ToolKit: src/gui/packages/pkg_sequence/vcf_search_tool.cpp Source File

55 #include <wx/stattext.h> 56 #include <wx/choice.h> 57 #include <wx/srchctrl.h> 60 #define ID_COMBOBOX 10003 76  static string

name(

"VCF Search"

);

102  bool

isCompatible(

false

);

106

isCompatible = vcf_data !=

NULL

;

128  return "search_tool::vcf_search_tool"

;

133  return "Datamining Tool - VCF search"

;

140

: m_VcfContexts(VcfContexts),

193

wxFlexGridSizer * sz =

new

wxFlexGridSizer(1, 4, 0, 0);

194

sz->AddGrowableCol(3);

197  m_Sizer

->Add(

new

wxStaticText( parent, wxID_STATIC,

wxT

(

"Search Context:"

), wxDefaultPosition, wxDefaultSize, 0 ),

198

0, wxALIGN_CENTER_VERTICAL|wxALL, 5);

201

wxDefaultPosition, wxDefaultSize,

202

0, (

const

wxString*)

NULL

);

206  m_Sizer

->Add(

new

wxStaticText( parent, wxID_STATIC,

wxT

(

"Search Expression:"

), wxDefaultPosition, wxDefaultSize, 0 ),

207

0, wxALIGN_CENTER_VERTICAL|wxALL, 5);

210  m_Sizer

->Add(

m_Text

,1, wxGROW|wxALIGN_CENTER_VERTICAL|wxALL, 5);

225

vector<ISeqLocSearchContext*> VcfContexts;

233

VcfContexts.push_back(seq_ctx);

280  for

(

auto

vcf_context: vcf_contexts) {

288

NonAsnData->

DoSearch

(vcf_context->GetSearchLoc()->GetId(), ids,

results

);

CAppJobError Default implementation for IAppJobError - encapsulates a text error message.

CObjectList * GetObjectList()

CObjectList Data structure representing a list of CObjects with associated Scopes and other optional ...

int AddRow(CObject *obj, objects::CScope *scope)

virtual void UpdateContexts()

updates m_ContextCombo

void UpdateContextCombo(wxChoice *combo)

CRef< CDMSearchResult > m_TempResult

holds temporary results, guarded by Mutex

string m_Descr

human-readable description of the Job

virtual void x_SetupColumns(CObjectList &obj_list)

add custom columns if needed

CMutex m_Mutex

synchronizes access to the Job members

CRef< CAppJobError > m_Error

IDMSearchQuery - abstract data mining query.

IDataMiningContext IDataMiningContext represents an abstract context for a Search.

virtual INonAsnTrackData * GetNonAsnData()

virtual void DoSearch(const objects::CSeq_id *seq_id, const string &sSearchTerm, list< CRef< CObject >> &results) const =0

virtual CIRef< IDMSearchQuery > ConstructQuery()

CVcfSearchForm(CVcfSearchTool &tool)

CVcfSearchForm.

CRef< CVcfSearchQuery > m_Query

virtual void x_CreateWidgets()

virtual void x_SetupColumns(CObjectList &obj_list)

add custom columns if needed

virtual CRef< CSearchJobBase > x_CreateJob(IDMSearchQuery &query)

implementing CSearchToolBase pure virtual function

CRef< CVcfSearchTool > m_Tool

virtual wxSizer * GetWidget(wxWindow *parent)

return a widget associated with the form; the form controls the lifetime of the widget (do not delete...

virtual string GetDescription() const

returns a detailed description of the method that is used in UI

virtual string GetExtensionLabel() const

returns a displayable label for this extension ( please capitalize the key words - "My Extension" )

virtual IDMSearchTool * x_GetTool()

CVcfSearchJob(CVcfSearchQuery &query)

CVcfSearchJob.

virtual string GetName() const

returns unique name of the method that is used in UI to identify it

CVcfSearchQuery(vector< ISeqLocSearchContext * > VcfContexts, const string &ids)

CVcfSearchQuery.

virtual CIRef< IDMSearchForm > CreateSearchForm()

factory method for creating a form representing the tool

virtual EJobState x_DoSearch()

performs searching, assuming that params are correct; Implement in derived classes

virtual string GetExtensionIdentifier() const

returns the unique human-readable identifier for the extension the id should use lowercase letters se...

virtual bool IsCompatible(IDataMiningContext *context)

retuns true if the tool is compatible with the provided Search Context

const vector< ISeqLocSearchContext * > & GetVcfContexts() const

virtual bool x_ValidateParams()

returns true if Job params are correct, implement in derived classes

virtual IUITool * Clone() const

CVcfSearchTool()

IDMSearchTool.

virtual void UpdateContexts()

updates m_ContextCombo

virtual bool IsCanceled() const override

EJobState

Job states (describe FSM)

TObjectType * GetPointer(void) THROWS_NONE

Get pointer,.

void Reset(void)

Reset reference object.

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

void Start(void)

Start the timer.

Defines: CTimeFormat - storage class for time format.

static CS_CONTEXT * context

string ToStdString(const wxString &s)


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