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/merge__tool_8cpp_source.html below:

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

60  "Basic merge tool - performs some trivial data composition"

,

61  "https://www.ncbi.nlm.nih.gov/tools/gbench/"

,

146  const CObject

* ptr = it2->object.GetPointer();

147  if

(

dynamic_cast<const CSeq_entry

*

>

(ptr) ||

150  dynamic_cast<const CSeq_id

*

>

(ptr))

232 

const CSeq_entry* seqEntry = dynamic_cast<const CSeq_entry*>(ptr);

235

CSeq_entry& obj_ref = const_cast<CSeq_entry&>(*seqEntry);

236

CConstRef<CCleanupChange> changes =

237

(m_Params.GetCleanupMode() == 0) ?

238

cleanup.BasicCleanup(obj_ref) : cleanup.ExtendedCleanup(obj_ref);

239

s_ListChanges(changes, changelist);

241

catch (CException& e) {

242

error_occurred = true;

243

errmsg += "error in basic cleanup: ";

244

errmsg += e.GetMsg();

251 

const CSeq_annot* seqAnnot = dynamic_cast<const CSeq_annot*>(ptr);

254

CSeq_annot& obj_ref = const_cast<CSeq_annot&>(*seqAnnot);

255

CConstRef<CCleanupChange> changes =

256

(m_Params.GetCleanupMode() == 0) ?

257

cleanup.BasicCleanup(obj_ref) : cleanup.ExtendedCleanup(obj_ref);

258

s_ListChanges(changes, changelist);

260

catch (CException& e) {

261

error_occurred = true;

262

errmsg += "error in basic cleanup: ";

263

errmsg += e.GetMsg();

270 

const CSeq_submit* seqSubmit = dynamic_cast<const CSeq_submit*>(ptr);

273

CSeq_submit& obj_ref = const_cast<CSeq_submit&>(*seqSubmit);

274

CConstRef<CCleanupChange> changes =

275

(m_Params.GetCleanupMode() == 0) ?

276

cleanup.BasicCleanup(obj_ref) : cleanup.ExtendedCleanup(obj_ref);

277

s_ListChanges(changes, changelist);

279

catch (CException& e) {

280

error_occurred = true;

281

errmsg += "error in basic cleanup: ";

282

errmsg += e.GetMsg();

289 

const CSeq_id* seqId = dynamic_cast<const CSeq_id*>(ptr);

292

CSeq_id& obj_ref = const_cast<CSeq_id&>(*seqId);

293

CBioseq_Handle bh = scope->GetBioseqHandle(obj_ref);

294

CConstRef<CCleanupChange> changes;

296

if (m_Params.GetCleanupMode() == 0)

297

changes = cleanup.BasicCleanup(bh);

299

changes = cleanup.ExtendedCleanup(const_cast <CSeq_entry&>

300

(*(bh.GetSeq_entry_Handle().GetCompleteSeq_entry())));

302

s_ListChanges(changes, changelist);

304

catch (CException& e) {

305

error_occurred = true;

306

errmsg += "error in basic cleanup: ";

307

errmsg += e.GetMsg();

User-defined methods of the data storage class.

CDataLoadingAppJob - a base class for Jobs loading data into projects.

CDataLoadingAppTask - a task that executes CDataLoadingAppJob.

virtual void x_CreateProjectItems()

override this function in derived classes and populate m_Items.

CMergeItemsJob(const CMergeParams &params)

void SetData(const CMergeParams &data)

virtual void SetRegistryPath(const string &reg_path)

CAlgoToolManagerParamsPanel.

virtual void LoadSettings()

CMergeParams & GetData()

Data access.

void SetObjects(map< string, TConstScopedObjects > &masters, map< string, TConstScopedObjects > &kids)

bool Create(wxWindow *parent, wxWindowID id=ID_CMERGEPANEL, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(400, 300), long style=wxTAB_TRAVERSAL)

Creation.

CProjectService - a service providing API for operations with Workspaces and Projects.

CProjectSelectOptions - describes how new Project Items shall be added to a workspace.

IRegSettings An interface for objects that save / restore settings using CGuiRegistry.

#define NON_CONST_ITERATE(Type, Var, Cont)

Non constant version of ITERATE macro.

CIRef< T > GetServiceByType()

retrieves a typed reference to a service, the name of C++ type is used as the name of the service.

virtual bool IsFinalState()

True if Tool Manager has reached its final state, i.e.

virtual bool DoTransition(EAction action)

Performs transition if possible and returns true, otherwise the function shall warn the user about th...

virtual IRegSettings * x_GetParamsAsRegSetting()

return a pointer to Parameters object as IRegSettings interface

virtual void CleanUI()

override this function in a derived class and clean extra members

virtual void InitUI()

override this function in a derived class and initialize extra members

virtual void x_SelectCompatibleInputObjects()

map< string, TConstScopedObjects > m_Objects

virtual string GetExtensionLabel() const

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

virtual bool x_ValidateParams()

validates user input in Parameters panel, report errors if any

CMergeTool()

CCleanupTool.

virtual IAppTask * GetTask()

Once parameters are gathered and validated this function is called to produce the final Task object t...

virtual CAlgoToolManagerParamsPanel * x_GetParamsPanel()

returns a pointer to the parameters panel, override in derived classes

virtual CDataLoadingAppJob * x_CreateLoadingJob()

factory method for creating the job that executes the tool algorithm override 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 x_CreateParamsPanelIfNeeded()

returns / creates Parameters panel, override in derived classes see cpp file for example

string m_Descr

mutex to sync our internals

vector< SConstScopedObject > TConstScopedObjects

TObjectType * Release(void)

Release a reference to the object and return a pointer to the object.

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.


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