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

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

63  return "Loading Newick Tree Files"

;

81  const

wxString& fn = *it;

90  if

(is.peek() ==

'#'

) {

95  while

(!is.eof() && is.good()) {

103  while

(!is.eof() && is.good()) {

106  size_t

start_pos = line.find_first_of(

'('

);

107  size_t

stop_pos = line.find_last_of(

';'

);

109  if

(start_pos !=

NPOS

) {

111  string

tree_str = line.substr(start_pos);

112  if

(stop_pos ==

NPOS

) {

113  while

(!is.eof() && is.good()) {

116  if

(

NPOS

!= line.find_last_of(

';'

)) {

125

reg.

Replace

(

"\\)\\[([^]]+)\\]:"

,

"):"

);

167  catch

(

const

exception& e) {

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

Interface for testing cancellation request in a long lasting operation.

vector< SObject > TObjects

The NCBI C++ standard methods for dealing with std::string.

CRef< objects::CBioTreeContainer > MakeDistanceSensitiveBioTreeContainer(const TPhyTreeNode *tree)

Conversion from TPhyTreeNode to CBioTreeContainer, potentially without dist feature key.

#define ITERATE(Type, Var, Cont)

ITERATE macro to sequence through container elements.

const string & GetMsg(void) const

Get message string.

virtual const char * what(void) const noexcept

Standard report (includes full backlog).

virtual bool PreExecute()

vector< wxString > m_FileNames

virtual bool Execute(ICanceled &canceled)

virtual TObjects & GetObjects()

CPhyObjectLoader(const vector< wxString > &filenames)

virtual bool PostExecute()

virtual string GetDescription() const

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.

size_t Replace(CTempStringEx search, CTempString replace, CRegexp::TCompile compile_flags=CRegexp::fCompile_default, CRegexp::TMatch match_flags=CRegexp::fMatch_default, size_t max_replace=0)

Replace occurrences of a substring within a string by pattern.

string GetResult(void)

Get result string.

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

virtual bool IsCanceled(void) const =0

CNcbiIstream & NcbiGetlineEOL(CNcbiIstream &is, string &str, string::size_type *count=NULL)

Read from "is" to "str" the next line (taking into account platform specifics of End-of-Line)

IO_PREFIX::istream CNcbiIstream

Portable alias for istream.

static SIZE_TYPE FindNoCase(const CTempString str, const CTempString pattern, SIZE_TYPE start, SIZE_TYPE end, EOccurrence which=eFirst)

Find the pattern in the specified range of a string using a case insensitive search.

static const char label[]

Defines classes: CDirEntry, CFile, CDir, CSymLink, CMemoryFile, CFileUtil, CFileLock,...

TPhyTreeNode * ReadNewickTree(CNcbiIstream &is)

Newick format input.

C++ wrappers for the Perl-compatible regular expression (PCRE) library.


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