Skip to content

TUnicodeStringManager

Unicode string manager

Declaration

Source position: ustringh.inc line 74

Type
TUnicodeStringManager = record
public
  Wide2AnsiMoveProc : procedure(source: PWideChar; var dest: RawByteString; 
            cp: TSystemCodePage; len: SizeInt);
  Ansi2WideMoveProc : procedure(source: PChar; cp: TSystemCodePage; var dest: widestring; 
            len: SizeInt);
  UpperWideStringProc : function(const S: WideString) : WideString;
  LowerWideStringProc : function(const S: WideString) : WideString;
  CompareWideStringProc : function(const s1: WideString; const s2: WideString; 
           Options: TCompareOptions) : PtrInt;
  CharLengthPCharProc : function(const Str: PChar) : PtrInt;
  CodePointLengthProc : function(const Str: PChar; MaxLookAead: PtrInt) : PtrInt;
  UpperAnsiStringProc : function(const s: ansistring) : ansistring;
  LowerAnsiStringProc : function(const s: ansistring) : ansistring;
  CompareStrAnsiStringProc : function(const S1: ansistring; const S2: ansistring) : PtrInt;
  CompareTextAnsiStringProc : function(const S1: ansistring; const S2: ansistring) : PtrInt;
  StrCompAnsiStringProc : function(S1: PChar; S2: PChar) : PtrInt;
  StrICompAnsiStringProc : function(S1: PChar; S2: PChar) : PtrInt;
  StrLCompAnsiStringProc : function(S1: PChar; S2: PChar; MaxLen: PtrUInt) : PtrInt;
  StrLICompAnsiStringProc : function(S1: PChar; S2: PChar; MaxLen: PtrUInt) : PtrInt;
  StrLowerAnsiStringProc : function(Str: PChar) : PChar;
  StrUpperAnsiStringProc : function(Str: PChar) : PChar;
  ThreadInitProc : procedure;
  ThreadFiniProc : procedure;
  Unicode2AnsiMoveProc : procedure(source: PUnicodeChar; var dest: RawByteString; 
            cp: TSystemCodePage; len: SizeInt);
  Ansi2UnicodeMoveProc : procedure(source: PChar; cp: TSystemCodePage; var dest: unicodestring; 
            len: SizeInt);
  UpperUnicodeStringProc : function(const S: UnicodeString) : UnicodeString;
  LowerUnicodeStringProc : function(const S: UnicodeString) : UnicodeString;
  CompareUnicodeStringProc : function(const s1: UnicodeString; const s2: UnicodeString; 
           Options: TCompareOptions) : PtrInt;
  GetStandardCodePageProc : function(const stdcp: TStandardCodePageEnum) : TSystemCodePage;
end

Description

TUnicodeStringManager is currently the same as the TUnicodeStringManager manager record. It performs the same functions: converting Unicode strings to ansistrings and vice-versa, performing uppercase to lowercase transformations and comparing strings.

See also

Name Description
TWideStringManager Record containing the various callbacks of the widestring manager.