Prusa Slicer 2.6.0
Loading...
Searching...
No Matches
fts Namespace Reference

Typedefs

using char_type = wchar_t
 
using pos_type = uint16_t
 

Functions

static bool fuzzy_match (char_type const *pattern, char_type const *str, int &outScore)
 
static bool fuzzy_match (char_type const *pattern, char_type const *str, int &outScore, pos_type *matches)
 

Variables

static constexpr pos_type stopper = pos_type(-1)
 
static constexpr int max_matches = 255
 

Typedef Documentation

◆ char_type

using fts::char_type = typedef wchar_t

◆ pos_type

using fts::pos_type = typedef uint16_t

Function Documentation

◆ fuzzy_match() [1/2]

static bool fts::fuzzy_match ( char_type const pattern,
char_type const str,
int &  outScore 
)
static

Referenced by Slic3r::Search::fuzzy_match().

+ Here is the caller graph for this function:

◆ fuzzy_match() [2/2]

static bool fts::fuzzy_match ( char_type const pattern,
char_type const str,
int &  outScore,
pos_type matches 
)
static

Variable Documentation

◆ max_matches

constexpr int fts::max_matches = 255
staticconstexpr

◆ stopper

constexpr pos_type fts::stopper = pos_type(-1)
staticconstexpr