JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins

« « « Anklang Documentation
Loading...
Searching...
No Matches
Classes | Enumerations | Functions
fstring.h File Reference
#include "pluginterfaces/base/ftypes.h"
#include "pluginterfaces/base/fstrdefs.h"
#include "pluginterfaces/base/istringresult.h"
#include "pluginterfaces/base/ipersistent.h"
#include "base/source/fobject.h"
#include <cstdarg>

Go to the source code of this file.

Classes

class  Steinberg::ConstString
 Invariant String. More...
 
class  Steinberg::String
 String. More...
 
class  Steinberg::StringObject
 StringObject implements IStringResult and IString methods. More...
 

Enumerations

enum  Steinberg::MBCodePage {
  Steinberg::kCP_ANSI , Steinberg::kCP_MAC_ROMAN , Steinberg::kCP_ANSI_WEL , Steinberg::kCP_MAC_CEE ,
  Steinberg::kCP_Utf8 , Steinberg::kCP_ShiftJIS , Steinberg::kCP_US_ASCII , Steinberg::kCP_Default
}
 
enum  Steinberg::UnicodeNormalization { Steinberg::kUnicodeNormC , Steinberg::kUnicodeNormD , Steinberg::kUnicodeNormKC , Steinberg::kUnicodeNormKD }
 

Functions

uint32 Steinberg::hashString8 (const char8 *s, uint32 m)
 
uint32 Steinberg::hashString16 (const char16 *s, uint32 m)
 
uint32 Steinberg::hashString (const tchar *s, uint32 m)
 
String Steinberg::operator+ (const ConstString &s1, const ConstString &s2)
 
String Steinberg::operator+ (const ConstString &s1, const char8 *s2)
 
String Steinberg::operator+ (const ConstString &s1, const char16 *s2)
 
String Steinberg::operator+ (const char8 *s1, const ConstString &s2)
 
String Steinberg::operator+ (const char16 *s1, const ConstString &s2)
 
String Steinberg::operator+ (const ConstString &s1, const String &s2)
 
String Steinberg::operator+ (const String &s1, const ConstString &s2)
 
String Steinberg::operator+ (const String &s1, const String &s2)
 
String Steinberg::operator+ (const String &s1, const char8 *s2)
 
String Steinberg::operator+ (const String &s1, const char16 *s2)
 
String Steinberg::operator+ (const char8 *s1, const String &s2)
 
String Steinberg::operator+ (const char16 *s1, const String &s2)
 
bool Steinberg::operator< (const ConstString &s1, const ConstString &s2)
 
bool Steinberg::operator<= (const ConstString &s1, const ConstString &s2)
 
bool Steinberg::operator> (const ConstString &s1, const ConstString &s2)
 
bool Steinberg::operator>= (const ConstString &s1, const ConstString &s2)
 
bool Steinberg::operator== (const ConstString &s1, const ConstString &s2)
 
bool Steinberg::operator!= (const ConstString &s1, const ConstString &s2)
 
bool Steinberg::operator< (const ConstString &s1, const char8 *s2)
 
bool Steinberg::operator<= (const ConstString &s1, const char8 *s2)
 
bool Steinberg::operator> (const ConstString &s1, const char8 *s2)
 
bool Steinberg::operator>= (const ConstString &s1, const char8 *s2)
 
bool Steinberg::operator== (const ConstString &s1, const char8 *s2)
 
bool Steinberg::operator!= (const ConstString &s1, const char8 *s2)
 
bool Steinberg::operator< (const char8 *s1, const ConstString &s2)
 
bool Steinberg::operator<= (const char8 *s1, const ConstString &s2)
 
bool Steinberg::operator> (const char8 *s1, const ConstString &s2)
 
bool Steinberg::operator>= (const char8 *s1, const ConstString &s2)
 
bool Steinberg::operator== (const char8 *s1, const ConstString &s2)
 
bool Steinberg::operator!= (const char8 *s1, const ConstString &s2)
 
bool Steinberg::operator< (const ConstString &s1, const char16 *s2)
 
bool Steinberg::operator<= (const ConstString &s1, const char16 *s2)
 
bool Steinberg::operator> (const ConstString &s1, const char16 *s2)
 
bool Steinberg::operator>= (const ConstString &s1, const char16 *s2)
 
bool Steinberg::operator== (const ConstString &s1, const char16 *s2)
 
bool Steinberg::operator!= (const ConstString &s1, const char16 *s2)
 
bool Steinberg::operator< (const char16 *s1, const ConstString &s2)
 
bool Steinberg::operator<= (const char16 *s1, const ConstString &s2)
 
bool Steinberg::operator> (const char16 *s1, const ConstString &s2)
 
bool Steinberg::operator>= (const char16 *s1, const ConstString &s2)
 
bool Steinberg::operator== (const char16 *s1, const ConstString &s2)
 
bool Steinberg::operator!= (const char16 *s1, const ConstString &s2)
 
int32 Steinberg::strnatcmp8 (const char8 *s1, const char8 *s2, bool caseSensitive)
 
int32 Steinberg::strnatcmp16 (const char16 *s1, const char16 *s2, bool caseSensitive)
 
int32 Steinberg::strnatcmp (const tchar *s1, const tchar *s2, bool caseSensitive=true)
 

Enumeration Type Documentation

◆ MBCodePage

Enumerator
kCP_ANSI 

Default ANSI codepage.

kCP_MAC_ROMAN 

Default Mac codepage.

kCP_ANSI_WEL 

West European Latin Encoding.

kCP_MAC_CEE 

Mac Central European Encoding.

kCP_Utf8 

UTF8 Encoding.

kCP_ShiftJIS 

Shifted Japan Industrial Standard Encoding.

kCP_US_ASCII 

US-ASCII (7-bit).

kCP_Default 

Default ANSI codepage.

Definition at line 65 of file fstring.h.

◆ UnicodeNormalization

Enumerator
kUnicodeNormC 

Unicode normalization Form C, canonical composition.

kUnicodeNormD 

Unicode normalization Form D, canonical decomposition.

kUnicodeNormKC 

Unicode normalization form KC, compatibility composition.

kUnicodeNormKD 

Unicode normalization form KD, compatibility decomposition.

Definition at line 79 of file fstring.h.

Function Documentation

◆ hashString()

uint32 Steinberg::hashString ( const tchar *  s,
uint32  m 
)

Definition at line 92 of file fstring.h.

◆ hashString16()

uint32 Steinberg::hashString16 ( const char16 *  s,
uint32  m 
)

Definition at line 3818 of file fstring.cpp.

◆ hashString8()

uint32 Steinberg::hashString8 ( const char8 *  s,
uint32  m 
)

Definition at line 3806 of file fstring.cpp.

◆ operator!=() [1/5]

bool Steinberg::operator!= ( const char16 *  s1,
const ConstString s2 
)

Definition at line 711 of file fstring.h.

◆ operator!=() [2/5]

bool Steinberg::operator!= ( const char8 *  s1,
const ConstString s2 
)

Definition at line 698 of file fstring.h.

◆ operator!=() [3/5]

bool Steinberg::operator!= ( const ConstString s1,
const char16 *  s2 
)

Definition at line 705 of file fstring.h.

◆ operator!=() [4/5]

bool Steinberg::operator!= ( const ConstString s1,
const char8 *  s2 
)

Definition at line 692 of file fstring.h.

◆ operator!=() [5/5]

bool Steinberg::operator!= ( const ConstString s1,
const ConstString s2 
)

Definition at line 685 of file fstring.h.

◆ operator+() [1/12]

String Steinberg::operator+ ( const char16 *  s1,
const ConstString s2 
)

Definition at line 489 of file fstring.h.

◆ operator+() [2/12]

String Steinberg::operator+ ( const char16 *  s1,
const String s2 
)

Definition at line 496 of file fstring.h.

◆ operator+() [3/12]

String Steinberg::operator+ ( const char8 *  s1,
const ConstString s2 
)

Definition at line 488 of file fstring.h.

◆ operator+() [4/12]

String Steinberg::operator+ ( const char8 *  s1,
const String s2 
)

Definition at line 495 of file fstring.h.

◆ operator+() [5/12]

String Steinberg::operator+ ( const ConstString s1,
const char16 *  s2 
)

Definition at line 487 of file fstring.h.

◆ operator+() [6/12]

String Steinberg::operator+ ( const ConstString s1,
const char8 *  s2 
)

Definition at line 486 of file fstring.h.

◆ operator+() [7/12]

String Steinberg::operator+ ( const ConstString s1,
const ConstString s2 
)

Definition at line 485 of file fstring.h.

◆ operator+() [8/12]

String Steinberg::operator+ ( const ConstString s1,
const String s2 
)

Definition at line 490 of file fstring.h.

◆ operator+() [9/12]

String Steinberg::operator+ ( const String s1,
const char16 *  s2 
)

Definition at line 494 of file fstring.h.

◆ operator+() [10/12]

String Steinberg::operator+ ( const String s1,
const char8 *  s2 
)

Definition at line 493 of file fstring.h.

◆ operator+() [11/12]

String Steinberg::operator+ ( const String s1,
const ConstString s2 
)

Definition at line 491 of file fstring.h.

◆ operator+() [12/12]

String Steinberg::operator+ ( const String s1,
const String s2 
)

Definition at line 492 of file fstring.h.

◆ operator<() [1/5]

bool Steinberg::operator< ( const char16 *  s1,
const ConstString s2 
)

Definition at line 706 of file fstring.h.

◆ operator<() [2/5]

bool Steinberg::operator< ( const char8 *  s1,
const ConstString s2 
)

Definition at line 693 of file fstring.h.

◆ operator<() [3/5]

bool Steinberg::operator< ( const ConstString s1,
const char16 *  s2 
)

Definition at line 700 of file fstring.h.

◆ operator<() [4/5]

bool Steinberg::operator< ( const ConstString s1,
const char8 *  s2 
)

Definition at line 687 of file fstring.h.

◆ operator<() [5/5]

bool Steinberg::operator< ( const ConstString s1,
const ConstString s2 
)

Definition at line 680 of file fstring.h.

◆ operator<=() [1/5]

bool Steinberg::operator<= ( const char16 *  s1,
const ConstString s2 
)

Definition at line 707 of file fstring.h.

◆ operator<=() [2/5]

bool Steinberg::operator<= ( const char8 *  s1,
const ConstString s2 
)

Definition at line 694 of file fstring.h.

◆ operator<=() [3/5]

bool Steinberg::operator<= ( const ConstString s1,
const char16 *  s2 
)

Definition at line 701 of file fstring.h.

◆ operator<=() [4/5]

bool Steinberg::operator<= ( const ConstString s1,
const char8 *  s2 
)

Definition at line 688 of file fstring.h.

◆ operator<=() [5/5]

bool Steinberg::operator<= ( const ConstString s1,
const ConstString s2 
)

Definition at line 681 of file fstring.h.

◆ operator==() [1/5]

bool Steinberg::operator== ( const char16 *  s1,
const ConstString s2 
)

Definition at line 710 of file fstring.h.

◆ operator==() [2/5]

bool Steinberg::operator== ( const char8 *  s1,
const ConstString s2 
)

Definition at line 697 of file fstring.h.

◆ operator==() [3/5]

bool Steinberg::operator== ( const ConstString s1,
const char16 *  s2 
)

Definition at line 704 of file fstring.h.

◆ operator==() [4/5]

bool Steinberg::operator== ( const ConstString s1,
const char8 *  s2 
)

Definition at line 691 of file fstring.h.

◆ operator==() [5/5]

bool Steinberg::operator== ( const ConstString s1,
const ConstString s2 
)

Definition at line 684 of file fstring.h.

◆ operator>() [1/5]

bool Steinberg::operator> ( const char16 *  s1,
const ConstString s2 
)

Definition at line 708 of file fstring.h.

◆ operator>() [2/5]

bool Steinberg::operator> ( const char8 *  s1,
const ConstString s2 
)

Definition at line 695 of file fstring.h.

◆ operator>() [3/5]

bool Steinberg::operator> ( const ConstString s1,
const char16 *  s2 
)

Definition at line 702 of file fstring.h.

◆ operator>() [4/5]

bool Steinberg::operator> ( const ConstString s1,
const char8 *  s2 
)

Definition at line 689 of file fstring.h.

◆ operator>() [5/5]

bool Steinberg::operator> ( const ConstString s1,
const ConstString s2 
)

Definition at line 682 of file fstring.h.

◆ operator>=() [1/5]

bool Steinberg::operator>= ( const char16 *  s1,
const ConstString s2 
)

Definition at line 709 of file fstring.h.

◆ operator>=() [2/5]

bool Steinberg::operator>= ( const char8 *  s1,
const ConstString s2 
)

Definition at line 696 of file fstring.h.

◆ operator>=() [3/5]

bool Steinberg::operator>= ( const ConstString s1,
const char16 *  s2 
)

Definition at line 703 of file fstring.h.

◆ operator>=() [4/5]

bool Steinberg::operator>= ( const ConstString s1,
const char8 *  s2 
)

Definition at line 690 of file fstring.h.

◆ operator>=() [5/5]

bool Steinberg::operator>= ( const ConstString s1,
const ConstString s2 
)

Definition at line 683 of file fstring.h.

◆ strnatcmp()

int32 Steinberg::strnatcmp ( const tchar *  s1,
const tchar *  s2,
bool  caseSensitive = true 
)

Definition at line 717 of file fstring.h.

◆ strnatcmp16()

int32 Steinberg::strnatcmp16 ( const char16 *  s1,
const char16 *  s2,
bool  caseSensitive 
)

Definition at line 3911 of file fstring.cpp.

◆ strnatcmp8()

int32 Steinberg::strnatcmp8 ( const char8 *  s1,
const char8 *  s2,
bool  caseSensitive 
)

Definition at line 3905 of file fstring.cpp.