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

NCBI C++ ToolKit: src/gui/objutils/string_matching.cpp Source File

46

m_MatchingAlgorithm(string_matching),

97

metaphoneStr.push_back(sTemp);

103  if

(*itPattern == *itStr) {

static void GetMetaphone(const string &in, string *out, size_t max_chars=eMaxMetaphone)

Compute the Metaphone key for a given word Metaphone is a more advanced algorithm than Soundex; inste...

CStringMatching()

Default constructor - declared, but not defined.

unique_ptr< TStringVector > m_MetaphonePattern

Metaphone pattern(s)

unique_ptr< CRegexp > m_Regex

Regular expression.

NStr::ECase m_UseCase

Whether to do a case sensitive comparison or not.

EStringMatching m_MatchingAlgorithm

String matching algorithm to use.

CTempString m_Pattern

The pattern to search for.

EStringMatching

String matching algorithms.

@ eWildcardMatch

Wildcard pattern matching.

@ eRegex

Regular expression matching.

@ ePlainSearch

Plain search.

@ eMetaphone

Metaphone mathcing.

vector< string > TStringVector

bool MatchString(const CTempString &str)

Matches a string to a pattern, using the specified string matching algorithm.

CTempString implements a light-weight string on top of a storage buffer whose lifetime management is ...

static const char * str(char *buf, int n)

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

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

static list< string > & Split(const CTempString str, const CTempString delim, list< string > &arr, TSplitFlags flags=0, vector< SIZE_TYPE > *token_pos=NULL)

Split a string using specified delimiters.

static bool MatchesMask(CTempString str, CTempString mask, ECase use_case=eCase)

Match "str" against the "mask".

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.

ECase

Which type of string comparison.

@ eCase

Case sensitive compare.


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