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

NCBI C++ ToolKit: src/gui/widgets/loaders/gff_object_loader.cpp Source File

47 #include <wx/filename.h> 57

: m_Params(params), m_FileNames(

filenames

)

68  return "Loading GFF/GTF Files"

;

78  unsigned int flags

= 0;

95  if

(annot_name.empty()) {

106  const

wxString& fn = *it;

123

fmt =

file

.GuessFormat();

130  string

fileName =

ToStdString

(wxFileName(fn).GetFullName());

146

reader->SetCanceler(&canceled);

148

reader->ReadSeqAnnots(annots,

file

.GetIstream(), errCont.

GetPointer

());

157  if

(annot_name.empty())

165

(*annot_iter)->SetNameDesc(

label

);

166  m_Objects

.emplace_back(**annot_iter,

label

,

"File: "

+ fileName);

171  if

(gff2 && gff2->AtSequenceData()) {

190  catch

(

const

exception& e) {

EFormat

The formats are checked in the same order as declared here.

@ eGff2

GFF2, CGff2Reader, any GFF-like that doesn't fit the others.

@ eGtf

New GTF, CGtfReader.

@ eGff3

GFF3, CGff3Reader.

string GetAssemblyAcc() const

bool GetUseMapping() const

void x_CreateMapper(const string &assembly)

void x_UpdateMap(objects::CSeq_annot &annot)

bool x_ShowMappingDlg(IObjectLoader::TObjects &objects)

@ fNumericIdsAsLocal

numeric identifiers are local IDs

@ fAllIdsAsLocal

all identifiers are local IDs

void x_ShowErrorsDlg(const wxString &title)

void x_UpdateHTMLResults(const wxString &object, objects::ILineErrorListener *errCont, const string &exception="", const string &error_msg="", const wxString &objectName=wxT("File:"))

FASTA sequences reader class that does post-processing: * Overrides the local ids; * Removes the well...

CRef< objects::CSeq_entry > ReadSequences(vector< CConstRef< objects::CSeq_id >> *wellknown_ids=nullptr, int max_seqs=kMax_Int, objects::ILineErrorListener *pMessageListener=0)

Read multiple sequences and remove the well-known sequences from the entry.

Interface for testing cancellation request in a long lasting operation.

vector< SObject > TObjects

void reset(element_type *p=0, EOwnership ownership=eTakeOwnership)

Reset will delete the old pointer (if owned), set content to the new value, and assume the ownership ...

#define ITERATE(Type, Var, Cont)

ITERATE macro to sequence through container elements.

element_type * get(void) const

Get pointer.

#define NON_CONST_ITERATE(Type, Var, Cont)

Non constant version of ITERATE macro.

#define NCBI_THROW(exception_class, err_code, message)

Generic macro to throw an exception, given the exception class, error code and message string.

const string & GetMsg(void) const

Get message string.

virtual const char * what(void) const noexcept

Standard report (includes full backlog).

virtual TObjects & GetObjects()

wxString GetNameFeatSet() const

vector< wxString > m_FileNames

CGffObjectLoader(const CGffLoadParams &params, const vector< wxString > &filenames)

virtual string GetDescription() const

virtual bool Execute(ICanceled &canceled)

virtual bool PostExecute()

CMapAssemblyParams GetMapAssembly() const

int GetParseSeqIds() const

int GetFileFormat() const

virtual bool PreExecute()

static void GetLabel(const CObject &obj, string *label, ELabelType type=eDefault)

@ fQuickIDCheck

Just check local IDs' first characters.

static CRef< CObjectManager > GetInstance(void)

Return the existing object manager or create one.

void AddDefaults(TPriority pri=kPriority_Default)

Add default data loaders from object manager.

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.

virtual bool IsCanceled(void) const =0

static const char label[]

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