Egység uSysUtils

Megjegyzés

This item has no description.

Áttekintés

Osztályok, Kapcsolódási felületek és Objektumok

Név Megjegyzés
Record TJSONDateTimeSettings  
Record TJSONParsingLimits  
Record TJSONSettings  
Record TJSONGlobal  
Record TXMLDateTimeSettings  
Record TXMLSettings  
Record TXMLGlobal  
Record TXMLValue  
Record TXMLSimpleValue  

Függvények és Eljárások

function TStringArray.Join(ASelf: TStringArray; const ASeparator: string = #13): string;
function TStringArray.IndexOf(ASelf: TStringArray; AString: string; const ACaseSensitive: boolean = false): integer;
function TStringArray.Contains(ASelf: TStringArray; AString: string; const ACaseSensitive: boolean = false): boolean;
function Variant.IsEmpty(ASelf: variant): boolean;
function Variant.CheckValidDateTime(ASelf: variant): boolean;
function Variant.ToString(ASelf: variant): string;
function RecordToJSON(var r: anyrecord; const AIncludeNullFields: boolean = false): string;
function AnyRecord.ToJSON(var ASelf: anyrecord; const AIncludeNullFields: boolean = false): string;
function RecordFromJSON(var r: anyrecord; AJSON: string; const AIgnoreMissingFields: boolean = false): boolean;
function AnyRecord.FromJSON(var ASelf: anyrecord; AJSON: string; const AIgnoreMissingFields: boolean = false): boolean;
function ArrayFromJSON(AArrayAddress: int64; AArrayType: integer; AJSON: string; const AIgnoreMissingFields: boolean = false): boolean;
function ArrayToJSON(AArrayAddress: int64; AArrayType: integer; const AIgnoreMissingFields: boolean = false): string;
function AnyRecord.ToXML(var ASelf: anyrecord; const AIncludeNullFields: boolean = false): string;
function RecordToURLParams(var r: anyrecord; const AIncludeNullFields: boolean = false): string;
function AnyRecord.ToURLParams(var ASelf: anyrecord; const AIncludeNullFields: boolean = false): string;
function GetGUID: string;
function DB.GetValue(AQuery: string; AParams: array of variant; AResultField: string; AConnection: TFDConnection): variant;
function DB.GetData(AQuery: string; AParams: array of variant; AConnection: TFDConnection; const AFieldName: string = ''): variant;
function TDataset.SafeGetByName(ASelf: TDataset; AFieldName: string; const ADefaultValue: variant = null): variant;
function DataUtils.TypeIndexToFieldType(ATypeIndex: integer): TFieldType;
function DataUtils.GetRecordFieldDBType(AField: TRTTIRecordField): TFieldType;
function DataUtils.AddRecordFieldsToDataset(AType: integer; ADS: TDataset; const ANamePrefix: string = ''; const AAdditionalFields: array of string = []): boolean;
function DataUtils.CopyRecordToDataset(AType: integer; AAddress: int64; ADS: TDataset; const ANamePrefix: string = ''): boolean;
function AnyRecord.ToDataset(var ASelf: AnyRecord; const AOwner: TComponent = nil; const AAdditionalFields: array of string = []): TFDMemTable;
function DataUtils.ArrayToDataset(AType: integer; AAddress: int64; AOwner: TComponent; const ADS: TFDMemTable = nil; const AAddFields: boolean = true): TDataset;
function AnyRecord.FromDataset(var ASelf: AnyRecord; ADS: TDataset; const APrefix: string = ''): boolean;
function XMLTools.EncodeSpecialCharacters(AText: string): string;
function XMLTools.DecodeSpecialCharacters(AText: string): string;
function XMLTools.GetSubNodeAttribute(ANode: TXMLNode; ANodeName: string; const AAttributeName: string = 'value'; const ADecode: boolean = true; const ATrim: boolean = true): string;
function XMLTools.GetSubNodeAttributeDateTime(ANode: TXMLNode; ANodeName: string; const AAttributeName: string = 'value'; const ADecode: boolean = true; const ATrim: boolean = true): string;
function VarObject(const AClassName: string = ''; const ARuntime: cardinal = 0): variant;
function String.IsEmpty(ASelf: String): boolean;
function AnsiString.IsEmpty(ASelf: AnsiString): boolean;
function WideString.IsEmpty(ASelf: WideString): boolean;
function AnyString.IsEmpty(ASelf: AnyString): boolean;
function String.Trim(ASelf: String): string;
function AnsiString.Trim(ASelf: AnsiString): string;
function WideString.Trim(ASelf: WideString): string;
function String.ReplaceLine(ASelf: String; AText: string; const ARow: integer = 0; const ATrim: boolean = true; const ADelimiter: char = #13): string;
function AnsiString.ReplaceLine(ASelf: AnsiString; AText: string; const ARow: integer = 0; const ATrim: boolean = true; const ADelimiter: char = #13): string;
function WideString.ReplaceLine(ASelf: WideString; AText: string; const ARow: integer = 0; const ATrim: boolean = true; const ADelimiter: char = #13): string;
function String.ToUpper(ASelf: String): string;
function AnsiString.ToUpper(ASelf: AnsiString): string;
function WideString.ToUpper(ASelf: WideString): string;
function String.ToLower(ASelf: String): string;
function AnsiString.ToLower(ASelf: AnsiString): string;
function WideString.ToLower(ASelf: WideString): string;
function String.NullIfEmpty(ASelf: String; const ATrim: boolean = true): variant;
function AnsiString.NullIfEmpty(ASelf: AnsiString; const ATrim: boolean = true): variant;
function WideString.NullIfEmpty(ASelf: WideString; const ATrim: boolean = true): variant;
function AnyString.NullIfEmpty(ASelf: AnyString; const ATrim: boolean = true): variant;
function String.RemoveWhiteSpaces(ASelf: String): String;
function AnsiString.RemoveWhiteSpaces(ASelf: AnsiString): AnsiString;
function WideString.RemoveWhiteSpaces(ASelf: WideString): WideString;
function AnyString.RemoveWhiteSpaces(ASelf: AnyString): AnyString;
function String.Replace(ASelf: String; AFrom, ATo: string; AFlags: TReplaceFlags): String;
function AnsiString.Replace(ASelf: AnsiString; AFrom, ATo: string; AFlags: TReplaceFlags): AnsiString;
function WideString.Replace(ASelf: WideString; AFrom, ATo: string; AFlags: TReplaceFlags): WideString;
function AnyString.Replace(ASelf: AnyString; AFrom, ATo: string; AFlags: TReplaceFlags): AnyString;
function String.RemoveMultiSpaces(ASelf: String): String;
function AnsiString.RemoveMultiSpaces(ASelf: AnsiString): AnsiString;
function WideString.RemoveMultiSpaces(ASelf: WideString): WideString;
function AnyString.RemoveMultiSpaces(ASelf: AnyString): AnyString;
function String.CompareTo(ASelf, AOther: String): integer;
function AnsiString.CompareTo(ASelf, AOther: AnsiString): integer;
function WideString.CompareTo(ASelf, AOther: WideString): integer;
function AnyString.CompareTo(ASelf, AOther: AnyString): integer;
function String.StartsWith(ASelf: String; AValue: string; const AIgnoreCase: boolean = true): boolean;
function AnsiString.StartsWith(ASelf: AnsiString; AValue: string; const AIgnoreCase: boolean = true): boolean;
function WideString.StartsWith(ASelf: WideString; AValue: string; const AIgnoreCase: boolean = true): boolean;
function AnyString.StartsWith(ASelf: AnyString; AValue: string; const AIgnoreCase: boolean = true): boolean;
function String.EndsWith(ASelf: String; AValue: string; const AIgnoreCase: boolean = true): boolean;
function AnsiString.EndsWith(ASelf: AnsiString; AValue: string; const AIgnoreCase: boolean = true): boolean;
function WideString.EndsWith(ASelf: WideString; AValue: string; const AIgnoreCase: boolean = true): boolean;
function AnyString.EndsWith(ASelf: AnyString; AValue: string; const AIgnoreCase: boolean = true): boolean;
function String.Contains(ASelf: String; AValues: array of unicodestring; const AIgnoreCase: boolean = true): boolean;
function AnsiString.Contains(ASelf: AnsiString; AValues: array of unicodestring; const AIgnoreCase: boolean = true): boolean;
function WideString.Contains(ASelf: WideString; AValues: array of unicodestring; const AIgnoreCase: boolean = true): boolean;
function AnyString.Contains(ASelf: AnyString; AValues: array of unicodestring; const AIgnoreCase: boolean = true): boolean;
function String.CountItem(ASelf: String; AItem: string; const AIgnoreCase: boolean = true): integer;
function AnsiString.CountItem(ASelf: AnsiString; AItem: string; const AIgnoreCase: boolean = true): integer;
function WideString.CountItem(ASelf: WideString; AItem: string; const AIgnoreCase: boolean = true): integer;
function AnyString.CountItem(ASelf: AnyString; AItem: string; const AIgnoreCase: boolean = true): integer;
function String.RemoveAccents(ASelf: String): String;
function AnsiString.RemoveAccents(ASelf: AnsiString): AnsiString;
function WideString.RemoveAccents(ASelf: WideString): WideString;
function AnyString.RemoveAccents(ASelf: AnyString): AnyString;
function String.Capitalize(ASelf: String; const ASpecialCharacters: ansistring = ''): String;
function AnsiString.Capitalize(ASelf: AnsiString; const ASpecialCharacters: ansistring = ''): AnsiString;
function WideString.Capitalize(ASelf: WideString; const ASpecialCharacters: ansistring = ''): WideString;
function UnicodeString.Capitalize(ASelf: UnicodeString; const ASpecialCharacters: ansistring = ''): UnicodeString;
function AnyString.Capitalize(ASelf: AnyString; const ASpecialCharacters: ansistring = ''): AnyString;
function String.Split(ASelf: String; const ADelimiter: char): TStringArray;
function AnsiString.Split(ASelf: AnsiString; const ADelimiter: char): TStringArray;
function WideString.Split(ASelf: WideString; const ADelimiter: char): TStringArray;
function UnicodeString.Split(ASelf: UnicodeString; const ADelimiter: char): TStringArray;
function AnyString.Split(ASelf: AnyString; const ADelimiter: char): TStringArray;
function NestedCharPos(AStartCh, AEndCh: char; AText: string): integer;

Típusok

TMemoryAddress = cardinal;

Konstansok

VALIDATE_ERROR_REQUIRED2 = 'A(z) "%1" mező kitöltése kötelező';
VALIDATE_ERROR_LENGTH = 'A(z) "%1" mező hossza meghaladja a megengedett %2 karaktert';
VALIDATE_ERROR_TYPE = 'A "%1" mező típusa nem megfelelő (%2 szükséges)';

Változók

JSONGlobal: TJSONGlobal;
XMLGlobal: TXMLGlobal;
DaysOfTheWeek: array[1..7] of string;

Megjegyzés

Függvények és Eljárások

function TStringArray.Join(ASelf: TStringArray; const ASeparator: string = #13): string;

This item has no description.

function TStringArray.IndexOf(ASelf: TStringArray; AString: string; const ACaseSensitive: boolean = false): integer;

This item has no description.

function TStringArray.Contains(ASelf: TStringArray; AString: string; const ACaseSensitive: boolean = false): boolean;

This item has no description.

function Variant.IsEmpty(ASelf: variant): boolean;

This item has no description.

function Variant.CheckValidDateTime(ASelf: variant): boolean;

This item has no description.

function Variant.ToString(ASelf: variant): string;

This item has no description.

function RecordToJSON(var r: anyrecord; const AIncludeNullFields: boolean = false): string;

This item has no description.

function AnyRecord.ToJSON(var ASelf: anyrecord; const AIncludeNullFields: boolean = false): string;

This item has no description.

function RecordFromJSON(var r: anyrecord; AJSON: string; const AIgnoreMissingFields: boolean = false): boolean;

This item has no description.

function AnyRecord.FromJSON(var ASelf: anyrecord; AJSON: string; const AIgnoreMissingFields: boolean = false): boolean;

This item has no description.

function ArrayFromJSON(AArrayAddress: int64; AArrayType: integer; AJSON: string; const AIgnoreMissingFields: boolean = false): boolean;

This item has no description.

function ArrayToJSON(AArrayAddress: int64; AArrayType: integer; const AIgnoreMissingFields: boolean = false): string;

This item has no description.

function AnyRecord.ToXML(var ASelf: anyrecord; const AIncludeNullFields: boolean = false): string;

K2B 231116

function RecordToURLParams(var r: anyrecord; const AIncludeNullFields: boolean = false): string;

This item has no description.

function AnyRecord.ToURLParams(var ASelf: anyrecord; const AIncludeNullFields: boolean = false): string;

This item has no description.

function GetGUID: string;

Record to XML ———————————————————————————————————————————————–

function DB.GetValue(AQuery: string; AParams: array of variant; AResultField: string; AConnection: TFDConnection): variant;

This item has no description.

function DB.GetData(AQuery: string; AParams: array of variant; AConnection: TFDConnection; const AFieldName: string = ''): variant;

This item has no description.

function TDataset.SafeGetByName(ASelf: TDataset; AFieldName: string; const ADefaultValue: variant = null): variant;

This item has no description.

function DataUtils.TypeIndexToFieldType(ATypeIndex: integer): TFieldType;

K2B 250131

function DataUtils.GetRecordFieldDBType(AField: TRTTIRecordField): TFieldType;

This item has no description.

function DataUtils.AddRecordFieldsToDataset(AType: integer; ADS: TDataset; const ANamePrefix: string = ''; const AAdditionalFields: array of string = []): boolean;

This item has no description.

function DataUtils.CopyRecordToDataset(AType: integer; AAddress: int64; ADS: TDataset; const ANamePrefix: string = ''): boolean;

K2B 240415 + AAdditionalFields

function AnyRecord.ToDataset(var ASelf: AnyRecord; const AOwner: TComponent = nil; const AAdditionalFields: array of string = []): TFDMemTable;

This item has no description.

function DataUtils.ArrayToDataset(AType: integer; AAddress: int64; AOwner: TComponent; const ADS: TFDMemTable = nil; const AAddFields: boolean = true): TDataset;

K2B 240415 + AAdditionalFields

function AnyRecord.FromDataset(var ASelf: AnyRecord; ADS: TDataset; const APrefix: string = ''): boolean;

This item has no description.

function XMLTools.EncodeSpecialCharacters(AText: string): string;

This item has no description.

function XMLTools.DecodeSpecialCharacters(AText: string): string;

K2B 240212

function XMLTools.GetSubNodeAttribute(ANode: TXMLNode; ANodeName: string; const AAttributeName: string = 'value'; const ADecode: boolean = true; const ATrim: boolean = true): string;

K2B 240212

function XMLTools.GetSubNodeAttributeDateTime(ANode: TXMLNode; ANodeName: string; const AAttributeName: string = 'value'; const ADecode: boolean = true; const ATrim: boolean = true): string;

This item has no description.

function VarObject(const AClassName: string = ''; const ARuntime: cardinal = 0): variant;

VAROBJECT functions

function String.IsEmpty(ASelf: String): boolean;

String functions ——————————————————————————————————————————————

function AnsiString.IsEmpty(ASelf: AnsiString): boolean;

This item has no description.

function WideString.IsEmpty(ASelf: WideString): boolean;

This item has no description.

function AnyString.IsEmpty(ASelf: AnyString): boolean;

This item has no description.

function String.Trim(ASelf: String): string;

This item has no description.

function AnsiString.Trim(ASelf: AnsiString): string;

This item has no description.

function WideString.Trim(ASelf: WideString): string;

This item has no description.

function String.ReplaceLine(ASelf: String; AText: string; const ARow: integer = 0; const ATrim: boolean = true; const ADelimiter: char = #13): string;

This item has no description.

function AnsiString.ReplaceLine(ASelf: AnsiString; AText: string; const ARow: integer = 0; const ATrim: boolean = true; const ADelimiter: char = #13): string;

This item has no description.

function WideString.ReplaceLine(ASelf: WideString; AText: string; const ARow: integer = 0; const ATrim: boolean = true; const ADelimiter: char = #13): string;

This item has no description.

function String.ToUpper(ASelf: String): string;

This item has no description.

function AnsiString.ToUpper(ASelf: AnsiString): string;

This item has no description.

function WideString.ToUpper(ASelf: WideString): string;

This item has no description.

function String.ToLower(ASelf: String): string;

This item has no description.

function AnsiString.ToLower(ASelf: AnsiString): string;

This item has no description.

function WideString.ToLower(ASelf: WideString): string;

This item has no description.

function String.NullIfEmpty(ASelf: String; const ATrim: boolean = true): variant;

This item has no description.

function AnsiString.NullIfEmpty(ASelf: AnsiString; const ATrim: boolean = true): variant;

This item has no description.

function WideString.NullIfEmpty(ASelf: WideString; const ATrim: boolean = true): variant;

This item has no description.

function AnyString.NullIfEmpty(ASelf: AnyString; const ATrim: boolean = true): variant;

This item has no description.

function String.RemoveWhiteSpaces(ASelf: String): String;

This item has no description.

function AnsiString.RemoveWhiteSpaces(ASelf: AnsiString): AnsiString;

This item has no description.

function WideString.RemoveWhiteSpaces(ASelf: WideString): WideString;

This item has no description.

function AnyString.RemoveWhiteSpaces(ASelf: AnyString): AnyString;

This item has no description.

function String.Replace(ASelf: String; AFrom, ATo: string; AFlags: TReplaceFlags): String;

This item has no description.

function AnsiString.Replace(ASelf: AnsiString; AFrom, ATo: string; AFlags: TReplaceFlags): AnsiString;

This item has no description.

function WideString.Replace(ASelf: WideString; AFrom, ATo: string; AFlags: TReplaceFlags): WideString;

This item has no description.

function AnyString.Replace(ASelf: AnyString; AFrom, ATo: string; AFlags: TReplaceFlags): AnyString;

This item has no description.

function String.RemoveMultiSpaces(ASelf: String): String;

This item has no description.

function AnsiString.RemoveMultiSpaces(ASelf: AnsiString): AnsiString;

This item has no description.

function WideString.RemoveMultiSpaces(ASelf: WideString): WideString;

This item has no description.

function AnyString.RemoveMultiSpaces(ASelf: AnyString): AnyString;

This item has no description.

function String.CompareTo(ASelf, AOther: String): integer;

This item has no description.

function AnsiString.CompareTo(ASelf, AOther: AnsiString): integer;

This item has no description.

function WideString.CompareTo(ASelf, AOther: WideString): integer;

This item has no description.

function AnyString.CompareTo(ASelf, AOther: AnyString): integer;

This item has no description.

function String.StartsWith(ASelf: String; AValue: string; const AIgnoreCase: boolean = true): boolean;

This item has no description.

function AnsiString.StartsWith(ASelf: AnsiString; AValue: string; const AIgnoreCase: boolean = true): boolean;

This item has no description.

function WideString.StartsWith(ASelf: WideString; AValue: string; const AIgnoreCase: boolean = true): boolean;

This item has no description.

function AnyString.StartsWith(ASelf: AnyString; AValue: string; const AIgnoreCase: boolean = true): boolean;

This item has no description.

function String.EndsWith(ASelf: String; AValue: string; const AIgnoreCase: boolean = true): boolean;

This item has no description.

function AnsiString.EndsWith(ASelf: AnsiString; AValue: string; const AIgnoreCase: boolean = true): boolean;

This item has no description.

function WideString.EndsWith(ASelf: WideString; AValue: string; const AIgnoreCase: boolean = true): boolean;

This item has no description.

function AnyString.EndsWith(ASelf: AnyString; AValue: string; const AIgnoreCase: boolean = true): boolean;

This item has no description.

function String.Contains(ASelf: String; AValues: array of unicodestring; const AIgnoreCase: boolean = true): boolean;

This item has no description.

function AnsiString.Contains(ASelf: AnsiString; AValues: array of unicodestring; const AIgnoreCase: boolean = true): boolean;

This item has no description.

function WideString.Contains(ASelf: WideString; AValues: array of unicodestring; const AIgnoreCase: boolean = true): boolean;

This item has no description.

function AnyString.Contains(ASelf: AnyString; AValues: array of unicodestring; const AIgnoreCase: boolean = true): boolean;

This item has no description.

function String.CountItem(ASelf: String; AItem: string; const AIgnoreCase: boolean = true): integer;

This item has no description.

function AnsiString.CountItem(ASelf: AnsiString; AItem: string; const AIgnoreCase: boolean = true): integer;

This item has no description.

function WideString.CountItem(ASelf: WideString; AItem: string; const AIgnoreCase: boolean = true): integer;

This item has no description.

function AnyString.CountItem(ASelf: AnyString; AItem: string; const AIgnoreCase: boolean = true): integer;

This item has no description.

function String.RemoveAccents(ASelf: String): String;

This item has no description.

function AnsiString.RemoveAccents(ASelf: AnsiString): AnsiString;

This item has no description.

function WideString.RemoveAccents(ASelf: WideString): WideString;

This item has no description.

function AnyString.RemoveAccents(ASelf: AnyString): AnyString;

This item has no description.

function String.Capitalize(ASelf: String; const ASpecialCharacters: ansistring = ''): String;

This item has no description.

function AnsiString.Capitalize(ASelf: AnsiString; const ASpecialCharacters: ansistring = ''): AnsiString;

This item has no description.

function WideString.Capitalize(ASelf: WideString; const ASpecialCharacters: ansistring = ''): WideString;

This item has no description.

function UnicodeString.Capitalize(ASelf: UnicodeString; const ASpecialCharacters: ansistring = ''): UnicodeString;

This item has no description.

function AnyString.Capitalize(ASelf: AnyString; const ASpecialCharacters: ansistring = ''): AnyString;

This item has no description.

function String.Split(ASelf: String; const ADelimiter: char): TStringArray;

This item has no description.

function AnsiString.Split(ASelf: AnsiString; const ADelimiter: char): TStringArray;

This item has no description.

function WideString.Split(ASelf: WideString; const ADelimiter: char): TStringArray;

This item has no description.

function UnicodeString.Split(ASelf: UnicodeString; const ADelimiter: char): TStringArray;

This item has no description.

function AnyString.Split(ASelf: AnyString; const ADelimiter: char): TStringArray;

This item has no description.

function NestedCharPos(AStartCh, AEndCh: char; AText: string): integer;

Karakter pozíció meghatározása a megadott kezdő és záró karakter által körbehatárolt blokkok figyelembevételével

Paraméterek
AStartCh
blokk nyitó karakter pl.: {
AEndCh
blokk záró karakter pl.: }
AText
szöveg, amiben a keresés történik

Típusok

TMemoryAddress = cardinal;

This item has no description.

Konstansok

VALIDATE_ERROR_REQUIRED2 = 'A(z) "%1" mező kitöltése kötelező';

This item has no description.

VALIDATE_ERROR_LENGTH = 'A(z) "%1" mező hossza meghaladja a megengedett %2 karaktert';

This item has no description.

VALIDATE_ERROR_TYPE = 'A "%1" mező típusa nem megfelelő (%2 szükséges)';

This item has no description.

Változók

JSONGlobal: TJSONGlobal;

K2B 250414

XMLGlobal: TXMLGlobal;

This item has no description.

DaysOfTheWeek: array[1..7] of string;

This item has no description.


Készítette PasDoc 0.16.0-snapshot.