free_pascal_free_component_library.pdf

(775 KB) Pobierz
42578964 UNPDF
FreeComponentLibrary(FCL):
Referenceguide.
ReferenceguideforFCLunits.
Documentversion2.1
August2006
MichaëlVanCanneyt
 
Contents
0.1Overview ........................................ 12
1Referenceforunit’base64’ 13
1.1Usedunits ........................................ 13
1.2Overview ........................................ 13
1.3TBase64DecodingStream ................................ 13
1.3.1Description ................................... 13
1.3.2Methodoverview ................................ 13
1.3.3Propertyoverview ............................... 14
1.3.4TBase64DecodingStream.Create ........................ 14
1.3.5TBase64DecodingStream.Reset ........................ 14
1.3.6TBase64DecodingStream.Read ........................ 14
1.3.7TBase64DecodingStream.Write ........................ 14
1.3.8TBase64DecodingStream.Seek ......................... 15
1.3.9TBase64DecodingStream.EOF ......................... 15
1.4TBase64EncodingStream ................................ 15
1.4.1Description ................................... 15
1.4.2Methodoverview ................................ 15
1.4.3TBase64EncodingStream.Create ........................ 16
1.4.4TBase64EncodingStream.Destroy ....................... 16
1.4.5TBase64EncodingStream.Read ........................ 16
1.4.6TBase64EncodingStream.Write ........................ 16
1.4.7TBase64EncodingStream.Seek ......................... 17
2Referenceforunit’bufstream’ 18
2.1Usedunits ........................................ 18
2.2Overview ........................................ 18
2.3Constants,typesandvariables ............................. 18
2.3.1Constants .................................... 18
2.4TBufStream ....................................... 18
2.4.1Description ................................... 18
2.4.2Methodoverview ................................ 19
1
CONTENTS
2.4.3Propertyoverview ............................... 19
2.4.4TBufStream.Create ............................... 19
2.4.5TBufStream.Destroy .............................. 19
2.4.6TBufStream.Buffer ............................... 19
2.4.7TBufStream.Capacity .............................. 20
2.4.8TBufStream.BufferPos ............................. 20
2.4.9TBufStream.BufferSize ............................ 20
2.5TReadBufStream .................................... 21
2.5.1Description ................................... 21
2.5.2Methodoverview ................................ 21
2.5.3TReadBufStream.Seek ............................. 21
2.5.4TReadBufStream.Read ............................. 21
2.5.5TReadBufStream.Write ............................ 21
2.6TWriteBufStream .................................... 22
2.6.1Description ................................... 22
2.6.2Methodoverview ................................ 22
2.6.3TWriteBufStream.Destroy ........................... 22
2.6.4TWriteBufStream.Seek ............................. 22
2.6.5TWriteBufStream.Read ............................ 23
2.6.6TWriteBufStream.Write ............................ 23
3Referenceforunit’contnrs’ 24
3.1Usedunits ........................................ 24
3.2Overview ........................................ 24
3.3Constants,typesandvariables ............................. 24
3.3.1Types ...................................... 24
3.4Proceduresandfunctions ................................ 25
3.4.1RSHash ..................................... 25
3.5EDuplicate ....................................... 25
3.5.1Description ................................... 25
3.6EKeyNotFound ..................................... 25
3.6.1Description ................................... 25
3.7TClassList ........................................ 25
3.7.1Description ................................... 25
3.7.2Methodoverview ................................ 26
3.7.3Propertyoverview ............................... 26
3.7.4TClassList.Add ................................. 26
3.7.5TClassList.Extract ............................... 26
3.7.6TClassList.Remove ............................... 27
3.7.7TClassList.IndexOf ............................... 27
2
CONTENTS
3.7.8TClassList.First ................................. 27
3.7.9TClassList.Last ................................. 27
3.7.10TClassList.Insert ................................ 28
3.7.11TClassList.Items ................................ 28
3.8TComponentList .................................... 28
3.8.1Description ................................... 28
3.8.2Methodoverview ................................ 28
3.8.3Propertyoverview ............................... 28
3.8.4TComponentList.Destroy ............................ 29
3.8.5TComponentList.Add ............................. 29
3.8.6TComponentList.Extract ............................ 29
3.8.7TComponentList.Remove ........................... 29
3.8.8TComponentList.IndexOf ........................... 30
3.8.9TComponentList.First ............................. 30
3.8.10TComponentList.Last ............................. 30
3.8.11TComponentList.Insert ............................. 31
3.8.12TComponentList.Items ............................. 31
3.9TFPHashTable ..................................... 31
3.9.1Description ................................... 31
3.9.2Methodoverview ................................ 31
3.9.3Propertyoverview ............................... 32
3.9.4TFPHashTable.Create ............................. 32
3.9.5TFPHashTable.CreateWith ........................... 32
3.9.6TFPHashTable.Destroy ............................. 32
3.9.7TFPHashTable.ChangeTableSize ........................ 33
3.9.8TFPHashTable.Clear .............................. 33
3.9.9TFPHashTable.Add ............................... 33
3.9.10TFPHashTable.Delete ............................. 33
3.9.11TFPHashTable.Find .............................. 34
3.9.12TFPHashTable.IsEmpty ............................ 34
3.9.13TFPHashTable.HashFunction ......................... 34
3.9.14TFPHashTable.Count .............................. 35
3.9.15TFPHashTable.HashTableSize ......................... 35
3.9.16TFPHashTable.Items .............................. 35
3.9.17TFPHashTable.HashTable ........................... 35
3.9.18TFPHashTable.VoidSlots ............................ 36
3.9.19TFPHashTable.LoadFactor ........................... 36
3.9.20TFPHashTable.AVGChainLen ......................... 36
3.9.21TFPHashTable.MaxChainLength ....................... 36
3.9.22TFPHashTable.NumberOfCollisions ...................... 37
3
CONTENTS
3.9.23TFPHashTable.Density ............................. 37
3.10TFPObjectList ...................................... 37
3.10.1Description ................................... 37
3.10.2Methodoverview ................................ 38
3.10.3Propertyoverview ............................... 38
3.10.4TFPObjectList.Create ............................. 38
3.10.5TFPObjectList.Destroy ............................. 38
3.10.6TFPObjectList.Clear .............................. 39
3.10.7TFPObjectList.Add ............................... 39
3.10.8TFPObjectList.Delete ............................. 39
3.10.9TFPObjectList.Exchange ............................ 40
3.10.10TFPObjectList.Expand ............................. 40
3.10.11TFPObjectList.Extract ............................. 40
3.10.12TFPObjectList.Remove ............................. 40
3.10.13TFPObjectList.IndexOf ............................ 41
3.10.14TFPObjectList.FindInstanceOf ......................... 41
3.10.15TFPObjectList.Insert .............................. 41
3.10.16TFPObjectList.First .............................. 42
3.10.17TFPObjectList.Last ............................... 42
3.10.18TFPObjectList.Move .............................. 42
3.10.19TFPObjectList.Assign ............................. 42
3.10.20TFPObjectList.Pack .............................. 43
3.10.21TFPObjectList.Sort ............................... 43
3.10.22TFPObjectList.ForEachCall .......................... 43
3.10.23TFPObjectList.Capacity ............................ 44
3.10.24TFPObjectList.Count .............................. 44
3.10.25TFPObjectList.OwnsObjects .......................... 44
3.10.26TFPObjectList.Items .............................. 44
3.10.27TFPObjectList.List ............................... 45
3.11THTNode ........................................ 45
3.11.1Description ................................... 45
3.11.2Methodoverview ................................ 45
3.11.3Propertyoverview ............................... 45
3.11.4THTNode.CreateWith ............................. 45
3.11.5THTNode.HasKey ............................... 45
3.11.6THTNode.Key ................................. 46
3.11.7THTNode.Data ................................. 46
3.12TObjectList ....................................... 46
3.12.1Description ................................... 46
3.12.2Methodoverview ................................ 47
4
Zgłoś jeśli naruszono regulamin