|
Name
|
Description
|
|
CalculateHash(String)
|
Overloaded. Calculates a hash code for the string.
Note
|
This may produce identical keys for strings 16 characters and longer even though the input strings are unique, but is faster for large strings. If you want to ensure unique hashes for long string, use the overloaded CalculateHash function with Skip = 1
|
|
|
CalculateHash(String,Integer)
|
Overloaded. Calculates a hash code for the string.
Note
|
If the Skip parameter is greater than 1, this may produce identical keys for strings 16 characters and longer even though the input strings are unique, but is faster for large strings.
|
|
|
ClonePersistentClass(TPersistent,TClass)
|
Creates a copy of the source
Note
|
This method uses the Assign method to copy the old object's fields to the clone. If the Assign method is not implemented, the two objects will not equal.
|
|
|
ContainsCharacters(String,String)
|
This function determines if a given string contains ANY of the characters and returns the index of the character found or 0 if none are in the string
|
|
ContainsRect(TRect,TRect)
|
Returns true if small rect is entirely contained within bigrect
|
|
CopyFormattedStrings(TStrings,TStrings)
|
Overloaded. Copies strings with their formatting, e.g., TRichEdit.Lines
|
|
CreateObjectClass(TClass)
|
Creates an object based on class type
|
|
ExtractWord(String,Integer,String)
|
Returns a word at the specified location from a string sentence. Words are defined by the delimiters (space by default).
|
|
FindComponentClass(TComponent,TComponentClass)
|
Finds the first child of the Parent component that is of the specified class
|
|
FindMatchStr(TCompareStringsOption,String,String[],Integer)
|
Returns the index of the string in the Texts array that matches the string in the Title string at the specified position
|
|
FindMatchText(TCompareStringsOption,String,String[],Integer)
|
Returns the index of the string in the Texts array that matches the string in the Title string at the specified position
|
|
FloatEquals(Double,Double,Double)
|
Overloaded. Compares two double precision, floating point numbers within a margin of error
|
|
FloatEquals(Extended,Extended,Extended)
|
Overloaded. Compares two extended precision, floating point numbers within a margin of error
|
|
FloatEquals(Single,Single,Single)
|
Overloaded. Compares two single precision, floating point numbers within a margin of error
|
|
GetSelStart(String,Integer)
|
Overloaded. Returns the position in the input string taken from RichEdit.Text of the Index line, useful for moving SelStart with TRichEdit, etc.
Warning
|
Because Delphi 2009 uses RichEdit 2.0, use this GetSelStart function instead of GetSelStart( TSTRINGS, INTEGER )
|
|
|
GetSelStart(TStrings,Integer)
|
Overloaded. Returns the position in the input TStrings taken from RichEdit.Lines property of the Index line, useful for moving SelStart with TRichEdit, etc.
Warning
|
For Delphi 2009+, please use the GetSelStart function instead
|
|
|
GetSelStartIndex(String,Integer)
|
Overloaded. Returns the index of the line (obtained from a TRichEdit.Text property) which contains the selstart character
Warning
|
Because Delphi 2009 uses RichEdit 2.0, use this GetSelStart function instead of GetSelStartIndex( TSTRINGS, INTEGER )
|
|
|
GetSelStartIndex(TStrings,Integer)
|
Overloaded. Returns the index of the Strigns (obtained from a TRichEdit.Lines property) which contains the selstart character
Warning
|
For Delphi 2009+, please use the GetSelStartIndex function instead
|
|
|
GetStrCompareFunction(Boolean,TCompareStringsOption)
|
Returns a string comparison function that can compare two strings in the desired manner
|
|
ImportClassDeclFromFile(TStrings,String,TmwCachedPasLex)
|
Parses a .pas file and fills the Strs TStringList with a list of classes in the file and their declared ancestor classes, e.g.,
Delphi
|
TClass = class(TAncestorClass)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
becomes
TClass=TAncestorClass
|
|
|
|
IsMatchStr(TCompareStringsOption,String,String,Integer)
|
Returns true if Title contains at the correct location the text string, case sensitive comparisons are used
|
|
IsMatchText(TCompareStringsOption,String,String,Integer)
|
Returns true if Title contains at the correct location the text string, case insensitive comparisons are used
|
|
IsNumberChar(Char)
|
Returns true if the input character is a digit or a symbol used in a number ('+', '-', '.')
|
|
IsNumberSymbol(Char)
|
Returns true if the input character is a symbol used in a number ('+', '-', '.')
|
|
PDiv(Double,Double,Double)
|
Overloaded. Performs a protected (i.e., no divide by zero error) division of two double precision, floating point numbers.
Divides v1 by v2, i.e., v1/v2. If v2 is 0, the function returns the DivZero parameter value.
|
|
PDiv(Extended,Extended,Extended)
|
Overloaded. Performs a protected (i.e., no divide by zero error) division of two extended precision, floating point numbers.
Divides v1 by v2, i.e., v1/v2. If v2 is 0, the function returns the DivZero parameter value.
|
|
PDiv(Single,Single,Single)
|
Overloaded. Performs a protected (i.e., no divide by zero error) division of two single precision, floating point numbers.
Divides v1 by v2, i.e., v1/v2. If v2 is 0, the function returns the DivZero parameter value.
|
|
PostFix(IInterfaceList,TPostFixBoolQueryMethod,TPostFixBoolQueryMethod,TPostFixBoolQueryMethod,TPostFixIntQueryMethod,TPostFixIntQueryMethod)
|
Converts a list to postfix order, used by the Inference Engine Component Suite and Fuzzy Logic Component Library
|
|
ReadPersistent(TReader)
|
Reads a persistent object from a TReader object that has previously been written out by WritePersistent function.
|
|
RectsEqual(TRect,TRect)
|
Returns true if the two input rectangles are equal
|
|
RenameCopy(String)
|
Creates a copy string for the name, e.g., NameCopy1, NameCopy2, ... assumes 1 based strings
|
|
RSAnsiContainsStr(string,string)
|
Returns true if the subtext in contained in the AText string. This function is case sensitive
|
|
RSAnsiContainsText(string,string)
|
Returns true if the subtext in contained in the AText string. This function is case insensitive
|
|
RSCharInSet(AnsiChar,Char[])
|
Overloaded. Returns true if the input character C is in the array of characters
|
|
RSCharInSet(AnsiChar,TSysCharSet)
|
Overloaded. Returns true if the input character C is in the array of ANSI characters
|
|
RSCharInSet(WideChar,Char[])
|
Overloaded. Returns true if the input character C is in the array of characters
|
|
RSCharInSet(WideChar,TSysCharSet)
|
Overloaded. Returns true if the input character C is in the array of ANSI characters
|
|
RSIsDigit(Char)
|
Returns true if the input character is a digit
|
|
RSIsLetterOrDigit(Char)
|
Returns true if the input character is a letter or digit
|
|
RSIsLower(Char)
|
Returns true if the input character is a lower case character
|
|
RSIsUpper(Char)
|
Returns true if the input character is a upper case character
|
|
RSIsWhiteSpace(Char)
|
Returns true if the input character is a whitespace character
|
|
RSLowerCase(string)
|
Returns the input string converted to lowercase
|
|
RSToLower(Char)
|
Converts the input character to a lower case character
|
|
RSToUpper(Char)
|
Converts the input character to a upper case character
|
|
RSUpperCase(string)
|
Returns the input string converted to uppercase
|
|
ScaleRect(TRect,Integer,Integer)
|
Scales the input rectangle, e.g., new width equals old width + DX and new height equals old height + DY.
Note
|
The scaling of the rectangle does not change the center point of the rectangle, i.e., half of DX is subtracted from the left and half is added to the right.
|
|
|
SetToString(PTypeInfo,Integer,String,Boolean,Integer)
|
Overloaded. Converts a set to a string.
Valid only for "register sets" - sets with fewer than Sizeof(Integer) * 8 elements. You will have to typecast the integer value to/from your set type.
|
|
StringFilter(String,String)
|
Overloaded. Filters out all characters in the Characters string from the AString parameter. The function returns the new string.
|
|
StringFilter(String,String,String)
|
Overloaded. Filters out all characters in the Characters string from the AString parameter. The function returns true if any characters were removed from AString
|
|
StringToSet(String,PTypeInfo,String)
|
|
|
SwapEvents(TPersistent,TPersistent)
|
Iterates through the events of Object1 and swaps the events with Object2
|
|
TitleCase(String)
|
Returns the input string sentence converted to a TitleCase string, e.g., 'hello How are you?' becomes 'Hello How Are You?'
|
|
WritePersistent(TWriter,TPersistent)
|
Saves a persistent object to a TWriter object. The object can be read back in using the ReadPersistent function.
|
|
WritePreambleToStream(TStream,TEncoding)
|
Writes the encoding preamble to the stream
|
|
WriteStringToStream(TStream,String,TEncoding)
|
Writes a string to the stream based on the specified encoding
|