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

NCBI C++ ToolKit: src/gui/packages/pkg_sequence_edit/restore_local_file.cpp Source File

54

: m_Workbench(workbench)

62  if

(!view_srv)

return

0;

89

vector<string> format_ids;

90

format_ids.push_back(

"file_loader_asn"

);

91

fileManager->LoadFormats(format_ids);

93

vector<CIRef<IOpenObjectsPanelClient> > loadManagers;

97

dlg.SetSize(710, 480);

102  if

(dlg.ShowModal() == wxID_OK) {

104  if

(!object_loader) {

136  if

(!doc_views.empty()) {

138  for

(

auto

it : doc_views) {

194

new_entry =

Ref

(seq_entry);

195

}

else if

(seq_submit) {

206  NcbiMessageBox

(

"New file should contain either a seq-entry or a seq-submit."

);

231  NcbiMessageBox

(

"Failed to find Text View associated with SMART project."

);

255  CScope

* scope = doc->GetScope();

User-defined methods of the data storage class.

bool GUI_AsyncExecUnit(IExecuteUnit &exec_unit, const wxString &msg)

CAppTaskService - Application Task Service.

virtual void SetRegistryPath(const string &path)

virtual const TViews & GetViews(void) const

Retrieve the existing views for this class.

CUndoManager & GetUndoManager()

vector< CIRef< IProjectView > > TViews

CLocalFileRestorer(IWorkbench *workbench)

bool x_DetachOrigObject(CRef< objects::CProjectItem > item, objects::CScope &scope)

IProjectView * FindSMARTPrjTextView() const

CRef< CSerialObject > m_NewSerialObj

bool ReadObjectFromFile()

CIRef< CProjectService > m_PrjService

void RestoreFile(bool convert=false)

bool x_AttachNewObject(CRef< objects::CProjectItem > item, objects::CScope &scope, bool convert)

void CloseOpenViews(CGBDocument *doc)

IObjectLoader * GetObjectLoader()

void SetManagers(vector< CIRef< IOpenObjectsPanelClient > > &managers)

const CSerialObject * GetObject() const

retrieve the object pointed to as a CObject*

void SetObject(CSerialObject &object)

wrapper for setting the object pointed to by this item

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

bool IsEntrys(void) const

Base class for all serializable objects.

virtual bool PreExecute()=0

virtual bool PostExecute()=0

vector< SObject > TObjects

class IProjectView defines the abstract interface for views observing projects.

objects::CGBProjectHandle::TId TProjectId

virtual TProjectId GetProjectId() const =0

virtual string GetLabel(ELabelType type) const =0

returns name of the plug-in created this view (view class name)

virtual void GetMainObject(TConstScopedObjects &objects) const =0

Adds the main data objects represented by the client to "objects".

IViewManagerService IViewManagerService manages views in Workbench.

IWorkbench is the central interface in the application framework.

iterator_bool insert(const value_type &val)

static TDSRET convert(TDSSOCKET *tds, TDSICONV *conv, TDS_ICONV_DIRECTION direction, const char *from, size_t from_len, char *dest, size_t *dest_len)

#define ITERATE(Type, Var, Cont)

ITERATE macro to sequence through container elements.

#define NON_CONST_ITERATE(Type, Var, Cont)

Non constant version of ITERATE macro.

#define LOG_POST(message)

This macro is deprecated and it's strongly recomended to move in all projects (except tests) to macro...

void Error(CExceptionArgs_Base &args)

const string & GetMsg(void) const

Get message string.

CIRef< T > GetServiceByType()

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

void AddTask(IAppTask &task)

Add a task to the queue.

vector< CIRef< IView > > TViews

virtual void GetViews(TViews &views)=0

get all registered views

EDialogReturnValue NcbiMessageBox(const string &message, TDialogType type=eDialog_Ok, EDialogIcon icon=eIcon_Exclamation, const string &title="Error", EDialogTextMode text_mode=eRaw)

vector< SConstScopedObject > TConstScopedObjects

CSeq_entry_Handle AddTopLevelSeqEntry(CSeq_entry &top_entry, TPriority pri=kPriority_Default, EExist action=eExist_Default)

Add seq_entry, default priority is higher than for defaults or loaders Add object to the score with p...

CSeq_entry_Handle GetSeq_entryHandle(CDataLoader *loader, const TBlobId &blob_id, EMissing action=eMissing_Default)

Get Seq-entry handle by its blob-id, with possible loading.

void RemoveTopLevelSeqEntry(const CTSE_Handle &entry)

Revoke TSE previously added using AddTopLevelSeqEntry() or AddBioseq().

@ kPriority_Default

Use default priority for added data.

const CTSE_Handle & GetTSE_Handle(void) const

TObjectType * GetNCPointer(void) const THROWS_NONE

Get pointer,.

CRef< C > Ref(C *object)

Helper functions to get CRef<> and CConstRef<> objects.

TObjectType * GetPointer(void) THROWS_NONE

Get pointer,.

void Reset(void)

Reset reference object.

TObjectType & GetNCObject(void) const

Get object.

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

static SIZE_TYPE Find(const CTempString str, const CTempString pattern, ECase use_case=eCase, EDirection direction=eForwardSearch, SIZE_TYPE occurrence=0)

Find the pattern in the string.

E_Choice

Choice variants.

E_Choice Which(void) const

Which variant is currently selected.

const TItem & GetItem(void) const

Get the Item member data.

@ e_Submit

for submission

@ e_Entry

for projects that contain something else

bool IsSetData(void) const

Check if a value has been assigned to Data data member.

const TEntrys & GetEntrys(void) const

Get the variant data.

const TData & GetData(void) const

Get the Data member data.

CRef< CSeq_entry > SeqEntryFromSeqSubmit(const CSeq_submit &submit)

Create a Seq-entry from a Seq-submit.


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