Interface Technology Basics: fstrdefs.h File Reference
Author: Steinberg

Interface Technology Basics VST 3.7 SDK for developing VST plug-in

Loading...
Searching...
No Matches
Namespaces | Macros | Functions
fstrdefs.h File Reference
`#include "ftypes.h"`
`#include "conststringtable.h"`

## Namespaces
namespace | Steinberg
| This header provides classes for working with FUnknown.

## Macros
#define | STR16(x)
| string methods defines unicode / ASCII
#define | STR(x)
#define | tStrBufferSize(buffer)
#define | str8BufferSize(buffer)
#define | str16BufferSize(buffer)
#define | FORMAT_INT64A "lld"
#define | FORMAT_UINT64A "llu"
#define | stricmp strcasecmp
#define | strnicmp strncasecmp
#define | FORMAT_INT64W STR(FORMAT_INT64A)
#define | FORMAT_UINT64W STR(FORMAT_UINT64A)
#define | FORMAT_INT64 FORMAT_INT64W
#define | FORMAT_UINT64 FORMAT_UINT64W
#define | ENDLINE_A "\n"
#define | ENDLINE_W STR ("\n")
#define | ENDLINE ENDLINE_W

## Functions
template<class T>
int32 | _tstrlen (const T *wcs)
int32 | tstrlen (const char *str)
int32 | strlen8 (const char8 *str)
int32 | strlen16 (const char16 *str)
template<class T>
int32 | _tstrcmp (const T *src, const T *dst)
int32 | tstrcmp (const char *src, const char *dst)
int32 | strcmp8 (const char8 *src, const char8 *dst)
int32 | strcmp16 (const char16 *src, const char16 *dst)
template<typename T>
int32 | strcmpT (const T *first, const T *last)
template<>
int32 | strcmpT< char8 > (const char8 *first, const char8 *last)
template<>
int32 | strcmpT< char16 > (const char16 *first, const char16 *last)
template<class T>
int32 | _tstrncmp (const T *first, const T *last, uint32 count)
int32 | tstrncmp (const char *first, const char *last, uint32 count)
int32 | strncmp8 (const char8 *first, const char8 *last, uint32 count)
int32 | strncmp16 (const char16 *first, const char16 *last, uint32 count)
template<typename T>
int32 | strncmpT (const T *first, const T *last, uint32 count)
template<>
int32 | strncmpT< char8 > (const char8 *first, const char8 *last, uint32 count)
template<>
int32 | strncmpT< char16 > (const char16 *first, const char16 *last, uint32 count)
template<class T>
T * | _tstrcpy (T *dst, const T *src)
char * | tstrcpy (char *dst, const char *src)
char8 * | strcpy8 (char8 *dst, const char8 *src)
char16 * | strcpy16 (char16 *dst, const char16 *src)
template<class T>
T * | _tstrncpy (T *dest, const T *source, uint32 count)
char * | tstrncpy (char *dest, const char *source, uint32 count)
char8 * | strncpy8 (char8 *dest, const char8 *source, uint32 count)
char16 * | strncpy16 (char16 *dest, const char16 *source, uint32 count)
template<class T>
T * | _tstrcat (T *dst, const T *src)
char * | tstrcat (char *dst, const char *src)
char8 * | strcat8 (char8 *dst, const char8 *src)
char16 * | strcat16 (char16 *dst, const char16 *src)
void | str8ToStr16 (char16 *dst, const char8 *src, int32 n=-1)
bool | FIDStringsEqual (FIDString id1, FIDString id2)

## Macro Definition Documentation

## ◆ STR16

#define STR16 | ( |  | x | ) |

Value:
Steinberg::ConstStringTable::instance ()->getString (x)
Steinberg::ConstStringTable::instance
static ConstStringTable * instance()
Definition conststringtable.cpp:29
Steinberg::ConstStringTable::getString
const char16 * getString(const char8 *str) const
Returns a char16 string of a ASCII string literal.
Definition conststringtable.cpp:36

string methods defines unicode / ASCII

## ◆ STR

#define STR | ( |  | x | ) |

Value:
STR16(x)
STR16
#define STR16(x)
string methods defines unicode / ASCII
Definition fstrdefs.h:31

## ◆ tStrBufferSize

#define tStrBufferSize | ( |  | buffer | ) |

Value:
(sizeof(buffer)/sizeof(Steinberg::tchar))

## ◆ str8BufferSize

#define str8BufferSize | ( |  | buffer | ) |

Value:
(sizeof(buffer)/sizeof(Steinberg::char8))
Steinberg::char8
char char8
Definition ftypes.h:83

## ◆ str16BufferSize

#define str16BufferSize | ( |  | buffer | ) |

Value:
(sizeof(buffer)/sizeof(Steinberg::char16))
Steinberg::char16
char16_t char16
Definition ftypes.h:84

## ◆ FORMAT_INT64A

#define FORMAT_INT64A "lld"

## ◆ FORMAT_UINT64A

#define FORMAT_UINT64A "llu"

## ◆ stricmp

#define stricmp strcasecmp

## ◆ strnicmp

#define strnicmp strncasecmp

## ◆ FORMAT_INT64W

#define FORMAT_INT64W STR(FORMAT_INT64A)

## ◆ FORMAT_UINT64W

#define FORMAT_UINT64W STR(FORMAT_UINT64A)

## ◆ FORMAT_INT64

#define FORMAT_INT64 FORMAT_INT64W

## ◆ FORMAT_UINT64

#define FORMAT_UINT64 FORMAT_UINT64W

## ◆ ENDLINE_A

#define ENDLINE_A "\n"

## ◆ ENDLINE_W

#define ENDLINE_W STR ("\n")

## ◆ ENDLINE

#define ENDLINE ENDLINE_W

Empty

Copyright © Steinberg Media Technologies GmbH. All Rights Reserved. This documentation is under this license.