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

NCBI C++ ToolKit: src/objtools/readers/acc_pattern.cpp Source File

Go to the documentation of this file.

Go to the SVN repository for this file.

127  return min_str

.substr(0,prefix_len) +

"["

+

128  min_str

.substr(prefix_len) + sep +

129  max_str

.substr(prefix_len) +

"]"

;

159

(*runs)[

i

].AddString(runs_str[

i

]);

169  string

res = pattern;

173  if

(pos==

NPOS

)

break

;

175

res.replace( pos, 1, (*

runs

)[

i

].GetString() );

187

s.reserve(name.size());

191  bool

prev_digit=

false

;

192

vector<string> digrun;

200

digrun.back() += name[

i

];

202  else if

( name[

i

]==

'#'

) {

227

runsOfDigits->clear();

228  for

(vector<string>::iterator it = digrun.begin(); it != digrun.end(); ++it) {

240  return

p->second->ExpandPattern(p->first);

246  return

p->second->acc_count;

vector< CRunOfDigits > TRunsOfDigits

vector< double > TDoubleVec

static string GetExpandedPattern(value_type *p)

iterator AddName(const string &name, TDoubleVec *runsOfDigits=nullptr)

void GetSortedPatterns(TMapCountToString &dst)

static int GetCount(value_type *p)

void AddAccRuns(TStrVec &runs_str)

CPatternStats(int runs_count)

string ExpandPattern(const string &pattern) const

void AddString(const string &s)

container_type::iterator iterator

const_iterator begin() const

const_iterator end() const

iterator_bool insert(const value_type &val)

container_type::value_type value_type

const_iterator find(const key_type &key) const

iterator insert(const value_type &val)

container_type::value_type value_type

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

NCBI_NS_STD::string::size_type SIZE_TYPE

static double StringToDouble(const CTempStringEx str, TStringToNumFlags flags=0)

Convert string to double.

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.


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