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

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

50 #include <wx/msgdlg.h> 60

vector<string> format_ids;

61

format_ids.push_back(

"file_loader_fasta"

);

62

format_ids.push_back(

"file_loader_asn"

);

63

format_ids.push_back(

"file_loader_text_align"

);

64

fileManager->LoadFormats(format_ids);

66

vector<CIRef<IOpenObjectsPanelClient> > loadManagers;

70

dlg.SetSize(710, 480);

75  if

(dlg.ShowModal() == wxID_OK) {

78

wxMessageBox(

wxT

(

"Failed to get object loader"

),

wxT

(

"Error"

),

94  bool

has_nuc =

false

;

95  bool

has_prot =

false

;

98

entry_to_add->SetSet().SetClass(objects::CBioseq_set::eClass_genbank);

100  const CObject

& ptr = obj_it->GetObject();

101  const

objects::CSeq_entry* entry =

dynamic_cast<const

objects::CSeq_entry*

>

(&ptr);

105

entry_to_add->SetSet().SetSeq_set().push_back(add);

107  const

objects::CSeq_submit* submit =

dynamic_cast<const

objects::CSeq_submit*

>

(&ptr);

109  ITERATE

(objects::CSeq_submit::TData::TEntrys, sit, submit->GetData().GetEntrys()) {

112

entry_to_add->SetSet().SetSeq_set().push_back(add);

122

wxMessageBox(

wxT

(

"Unable to read from file"

),

wxT

(

"Error"

),

123

wxOK | wxICON_ERROR,

NULL

);

125  if

(entry_to_add->GetSet().IsSetSeq_set() && entry_to_add->GetSet().GetSeq_set().size() > 0) {

131

wxOK | wxCANCEL | wxICON_ERROR,

NULL

) == wxCANCEL) {

137  if

(dlg.ShowModal() == wxID_OK) {

User-defined methods of the data storage class.

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

bool IsGeneralIdProtPresent(objects::CSeq_entry_Handle tse)

void apply(CSeq_entry_Handle tse, ICommandProccessor *cmdProccessor)

virtual void SetRegistryPath(const string &path)

IObjectLoader * GetObjectLoader()

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

CRef< objects::CSeq_table > GetReplacementTable()

Undo/Redo interface for editing operations.

virtual void Execute(IEditCommand *command, wxWindow *window=0)=0

virtual bool PreExecute()=0

virtual bool PostExecute()=0

vector< SObject > TObjects

#define ITERATE(Type, Var, Cont)

ITERATE macro to sequence through container elements.

CConstRef< CSeq_entry > GetCompleteSeq_entry(void) const

Complete and get const reference to the seq-entry.

TObjectType * GetPointer(void) THROWS_NONE

Get pointer,.

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

bool AddSeqEntryToSeqEntry(const objects::CSeq_entry *entry, objects::CSeq_entry_Handle seh, CRef< CCmdComposite > cmd, bool &has_nuc, bool &has_prot, bool create_general_only)

CRef< objects::CSeq_table > GetIdsFromSeqEntry(const objects::CSeq_entry &entry)

string SummarizeIdProblems(CRef< objects::CSeqTable_column > problems)

void ApplyReplacementIds(objects::CSeq_entry &entry, CRef< objects::CSeq_table > table)

CRef< objects::CSeqTable_column > GetSeqIdProblems(CRef< objects::CSeq_table > new_ids, CRef< objects::CSeq_table > old_ids, size_t max_len)

wxString ToWxString(const string &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