LMMS
Loading...
Searching...
No Matches
fstring.cpp File Reference
#include "base/source/fstring.h"
#include "base/source/fdebug.h"
#include "pluginterfaces/base/futils.h"
#include "pluginterfaces/base/fvariant.h"
#include <cstdlib>
#include <cctype>
#include <cstdio>
#include <cstdarg>
#include <utility>

Go to the source code of this file.

Namespaces

namespace  Steinberg

Macros

#define kPrintfBufferSize   4096
#define SMTG_STRING_CHECK_CONVERSION   1
#define SMTG_STRING_CHECK_CONVERSION_NO_BREAK   1
#define SMTG_STRING_CHECK_MSG   FDebugPrint

Functions

static bool Steinberg::isCaseSensitive (ConstString::CompareMode mode)
template<class T>
static bool Steinberg::performReplace (T *str, const T *toReplace, T toReplaceBy)
template<class T, class F>
static uint32 Steinberg::performTrim (T *str, uint32 length, F func, bool funcResult)
template<class T, class F>
static uint32 Steinberg::performRemove (T *str, uint32 length, F func, bool funcResult)
template<class T>
static uint32 Steinberg::performRemoveChars (T *str, uint32 length, const T *toRemove)
uint32 Steinberg::hashString8 (const char8 *s, uint32 m)
uint32 Steinberg::hashString16 (const char16 *s, uint32 m)
template<class T>
int32 Steinberg::tstrnatcmp (const T *s1, const T *s2, bool caseSensitive=true)
int32 Steinberg::strnatcmp8 (const char8 *s1, const char8 *s2, bool caseSensitive)
int32 Steinberg::strnatcmp16 (const char16 *s1, const char16 *s2, bool caseSensitive)

Macro Definition Documentation

◆ kPrintfBufferSize

#define kPrintfBufferSize   4096

◆ SMTG_STRING_CHECK_CONVERSION

#define SMTG_STRING_CHECK_CONVERSION   1

◆ SMTG_STRING_CHECK_CONVERSION_NO_BREAK

#define SMTG_STRING_CHECK_CONVERSION_NO_BREAK   1

◆ SMTG_STRING_CHECK_MSG

#define SMTG_STRING_CHECK_MSG   FDebugPrint