|
filterOpT | strGetFilterOp (const char *str) |
|
void | eco_ToString (ecoT ecoCode, char *ecoStr, bool extensions=true) |
|
void | eco_ToBasicString (ecoT ecoCode, char *ecoStr) |
|
void | eco_ToExtendedString (ecoT ecoCode, char *ecoStr) |
|
ecoT | eco_FromString (const char *ecoStr) |
|
ecoT | eco_LastSubCode (ecoT ecoCode) |
|
ecoT | eco_BasicCode (ecoT ecoCode) |
|
ecoT | eco_Reduce (ecoT eco) |
| ecoReduce() - maps eco to a smaller set More...
|
|
uint32_t | strStartHash (const char *str) |
|
char * | strDuplicate (const char *str) |
|
void | strCopyExclude (char *target, const char *original, const char *excludeChars) |
|
char * | strAppend (char *target, const char *extra) |
|
uint | strPad (char *target, const char *orig, int length, char pad) |
|
const char * | strFirstChar (const char *target, char matchChar) |
|
const char * | strLastChar (const char *target, char matchChar) |
|
void | strStrip (char *str, char ch) |
|
const char * | strTrimLeft (const char *target, const char *trimChars) |
|
const char * | strTrimLeft (const char *target) |
|
uint | strTrimSuffix (char *target, char suffixChar) |
|
void | strTrimDate (char *str) |
|
void | strTrimMarkCodes (char *str) |
|
void | strTrimMarkup (char *str) |
|
const char * | strFirstWord (const char *str) |
|
const char * | strNextWord (const char *str) |
|
const char * | strPlural (uint x) |
|
bool | strIsUnknownName (const char *str) |
|
bool | strIsSurnameOnly (const char *name) |
|
bool | strGetBoolean (const char *str) |
|
int | strGetInteger (const char *str) |
|
uint32_t | strGetUnsigned (const char *str) |
|
int | strCaseCompare (const char *str1, const char *str2) |
|
int | strCompareRound (const char *str1, const char *str2) |
|
bool | strEqual (const char *str1, const char *str2) |
|
void | strGetIntegers (const char *str, int *results, uint nResults) |
|
void | strGetUnsigneds (const char *str, uint *results, uint nResults) |
|
resultT | strGetResult (const char *str) |
|
bool | flag_Yes (flagT t) |
|
bool | flag_No (flagT t) |
|
flagT | strGetFlag (const char *str) |
|
squareT | strGetSquare (const char *str) |
|
uint | strTrimFileSuffix (char *target) |
|
const char * | strFileSuffix (const char *target) |
|
int | strUniqueExactMatch (const char *keyStr, const char **strTable, bool exact) |
|
int | strUniqueMatch (const char *keyStr, const char **strTable) |
|
int | strExactMatch (const char *keyStr, const char **strTable) |
|
bool | strContainsChar (const char *str, char ch) |
|
int | strCompare (const char *s1, const char *s2) |
|
void | strCopy (char *target, const char *original) |
|
uint | strPrefix (const char *s1, const char *s2) |
|
bool | strIsPrefix (const char *prefix, const char *longStr) |
|
bool | strIsCasePrefix (const char *prefix, const char *longStr) |
|
bool | strIsAlphaPrefix (const char *prefix, const char *longStr) |
|
bool | strContains (const char *longStr, const char *keyStr) |
|
bool | strAlphaContains (const char *longStr, const char *keyStr) |
|
uint | strLength (const char *str) |
|
void | strTrimRight (char *target, const char *trimChars, size_t nTrimCh) |
|
void | strTrimRight (char *target) |
|
ecoReduce() - maps eco to a smaller set
- Parameters
-
eco | the eco value to convert (must be != 0) |
Scid ECO subcodes use 131 values for each canonical ECO. For example A00 is divided in A00,A00a,A00a1,A00a2,A00a3,A00a4,A00b...A00z4 corresponding to eco values 1,2,3,4,5,6,7...131 (value 0 means no ECO). This functions will map subECOs like A00a1...A00a4 into A00a, reducing the 131 values to 27. The previous sequence will became 0,1,1,1,1,1,2...26
Definition at line 130 of file misc.cpp.