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

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

46 #include <wx/filename.h> 55

: m_Params(params), m_FileNames(

filenames

)

66  return "Loading BED Files"

;

99  const

wxString& fn = *it;

111

TAnnotRef& annot = *a_iter;

115  bool

has_name =

false

;

116  if

(annot->CanGetDesc()) {

120

CSeq_annot::TDesc::Tdata::const_iterator desc_iter =

data

.begin();

121  for

( ; desc_iter !=

data

.end(); ++desc_iter) {

122  if

((*desc_iter)->IsTitle() ) {

123  label

= (*desc_iter)->GetTitle();

126  if

((*desc_iter)->IsName() ) {

127  label

= (*desc_iter)->GetName();

139  if

(

label

.empty()) {

141  if

(annots.size() > 1) {

143

ostr <<

" (BED Seq-annot "

<< index <<

")"

;

149

annot->SetNameDesc(

label

);

162  catch

(

const

exception& e) {

User-defined methods of the data storage class.

User-defined methods of the data storage class.

CMapAssemblyParams GetMapAssembly() const

CReaderBase implementation that reads BED data files, either a single object or all objects found.

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)

CNcbiOstrstreamToString class helps convert CNcbiOstrstream to a string Sample usage:

virtual void ReadSeqAnnots(TAnnots &annots, CNcbiIstream &istr, ILineErrorListener *pErrors=nullptr)

Read all objects from given insput stream, returning them as a vector of Seq-annots.

void SetCanceler(ICanceled *=nullptr)

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:"))

Simple implementation of ILineReader for i(o)streams.

Interface for testing cancellation request in a long lasting operation.

vector< SObject > TObjects

#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.

const string & GetMsg(void) const

Get message string.

virtual const char * what(void) const noexcept

Standard report (includes full backlog).

virtual TObjects & GetObjects()

vector< wxString > m_FileNames

virtual bool PreExecute()

virtual string GetDescription() const

virtual bool Execute(ICanceled &canceled)

virtual bool PostExecute()

CBedObjectLoader(const CBedLoadParams &params, const vector< wxString > &filenames)

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

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.

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[]

const Tdata & Get(void) const

Get the member data.

bool CanGet(void) const

Check if it is safe to call Get method.

list< CRef< CAnnotdesc > > Tdata

Lightweight interface for getting lines of data with minimal memory copying.

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