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 stringres = pattern;
173 if(pos==
NPOS)
break;
175res.replace( pos, 1, (*
runs)[
i].GetString() );
187s.reserve(name.size());
191 boolprev_digit=
false;
192vector<string> digrun;
200digrun.back() += name[
i];
202 else if( name[
i]==
'#') {
227runsOfDigits->clear();
228 for(vector<string>::iterator it = digrun.begin(); it != digrun.end(); ++it) {
240 returnp->second->ExpandPattern(p->first);
246 returnp->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