OrcaSlicer latest
OrcaSlicer
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 = wchar_t

◆ pos_type

using fts::pos_type = uint16_t

Function Documentation

◆ fuzzy_match() [1/2]

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]

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

Variable Documentation

◆ max_matches

int fts::max_matches = 255
staticconstexpr

◆ stopper

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