FCL Reference Guide
Total Page:16
File Type:pdf, Size:1020Kb
Free Component Library (FCL): Reference guide. Reference guide for FCL units. Document version 2.1 November 2010 Michaël Van Canneyt Contents 0.1 Overview........................................ 54 1 Reference for unit ’ascii85’ 55 1.1 Used units........................................ 55 1.2 Overview........................................ 55 1.3 Constants, types and variables............................. 55 1.3.1 Types...................................... 55 1.4 TASCII85DecoderStream................................ 55 1.4.1 Description................................... 55 1.4.2 Method overview................................ 56 1.4.3 Property overview............................... 56 1.4.4 TASCII85DecoderStream.Create........................ 56 1.4.5 TASCII85DecoderStream.Decode....................... 56 1.4.6 TASCII85DecoderStream.Close........................ 57 1.4.7 TASCII85DecoderStream.ClosedP....................... 57 1.4.8 TASCII85DecoderStream.Destroy....................... 57 1.4.9 TASCII85DecoderStream.Read........................ 57 1.4.10 TASCII85DecoderStream.Seek........................ 58 1.4.11 TASCII85DecoderStream.BExpectBoundary................. 58 1.5 TASCII85EncoderStream................................ 58 1.5.1 Method overview................................ 58 1.5.2 Property overview............................... 58 1.5.3 TASCII85EncoderStream.Create........................ 58 1.5.4 TASCII85EncoderStream.Destroy....................... 59 1.5.5 TASCII85EncoderStream.Write........................ 59 1.5.6 TASCII85EncoderStream.Width........................ 59 1.5.7 TASCII85EncoderStream.Boundary...................... 59 1.6 TASCII85RingBuffer.................................. 59 1.6.1 Description................................... 59 1.6.2 Method overview................................ 59 1.6.3 Property overview............................... 59 1 CONTENTS 1.6.4 TASCII85RingBuffer.Write.......................... 59 1.6.5 TASCII85RingBuffer.Read........................... 60 1.6.6 TASCII85RingBuffer.FillCount........................ 60 1.6.7 TASCII85RingBuffer.Size........................... 60 2 Reference for unit ’AVL_Tree’ 61 2.1 Used units........................................ 61 2.2 Overview........................................ 61 2.3 TAVLTree........................................ 61 2.3.1 Description................................... 61 2.3.2 Method overview................................ 62 2.3.3 Property overview............................... 62 2.3.4 TAVLTree.Find................................. 62 2.3.5 TAVLTree.FindKey............................... 63 2.3.6 TAVLTree.FindSuccessor............................ 63 2.3.7 TAVLTree.FindPrecessor............................ 63 2.3.8 TAVLTree.FindLowest............................. 63 2.3.9 TAVLTree.FindHighest............................. 64 2.3.10 TAVLTree.FindNearest............................. 64 2.3.11 TAVLTree.FindPointer............................. 64 2.3.12 TAVLTree.FindLeftMost............................ 64 2.3.13 TAVLTree.FindRightMost........................... 65 2.3.14 TAVLTree.FindLeftMostKey.......................... 65 2.3.15 TAVLTree.FindRightMostKey......................... 65 2.3.16 TAVLTree.FindLeftMostSameKey....................... 65 2.3.17 TAVLTree.FindRightMostSameKey...................... 66 2.3.18 TAVLTree.Add................................. 66 2.3.19 TAVLTree.Delete................................ 66 2.3.20 TAVLTree.Remove............................... 66 2.3.21 TAVLTree.RemovePointer........................... 67 2.3.22 TAVLTree.MoveDataLeftMost......................... 67 2.3.23 TAVLTree.MoveDataRightMost........................ 67 2.3.24 TAVLTree.Clear................................ 67 2.3.25 TAVLTree.FreeAndClear............................ 68 2.3.26 TAVLTree.FreeAndDelete........................... 68 2.3.27 TAVLTree.ConsistencyCheck......................... 68 2.3.28 TAVLTree.WriteReportToStream....................... 68 2.3.29 TAVLTree.ReportAsString........................... 69 2.3.30 TAVLTree.SetNodeManager.......................... 69 2.3.31 TAVLTree.Create................................ 69 2 CONTENTS 2.3.32 TAVLTree.Destroy............................... 69 2.3.33 TAVLTree.OnCompare............................. 69 2.3.34 TAVLTree.Count................................ 70 2.4 TAVLTreeNode..................................... 70 2.4.1 Description................................... 70 2.4.2 Method overview................................ 70 2.4.3 TAVLTreeNode.Clear.............................. 70 2.4.4 TAVLTreeNode.TreeDepth........................... 70 2.5 TAVLTreeNodeMemManager............................. 70 2.5.1 Description................................... 70 2.5.2 Method overview................................ 71 2.5.3 Property overview............................... 71 2.5.4 TAVLTreeNodeMemManager.DisposeNode.................. 71 2.5.5 TAVLTreeNodeMemManager.NewNode.................... 71 2.5.6 TAVLTreeNodeMemManager.Clear...................... 71 2.5.7 TAVLTreeNodeMemManager.Create..................... 72 2.5.8 TAVLTreeNodeMemManager.Destroy..................... 72 2.5.9 TAVLTreeNodeMemManager.MinimumFreeNode.............. 72 2.5.10 TAVLTreeNodeMemManager.MaximumFreeNodeRatio........... 72 2.5.11 TAVLTreeNodeMemManager.Count...................... 73 2.6 TBaseAVLTreeNodeManager.............................. 73 2.6.1 Method overview................................ 73 2.6.2 TBaseAVLTreeNodeManager.DisposeNode.................. 73 2.6.3 TBaseAVLTreeNodeManager.NewNode.................... 73 3 Reference for unit ’base64’ 74 3.1 Used units........................................ 74 3.2 Overview........................................ 74 3.3 Constants, types and variables............................. 74 3.3.1 Types...................................... 74 3.4 EBase64DecodingException.............................. 75 3.4.1 Description................................... 75 3.5 TBase64DecodingStream................................ 75 3.5.1 Description................................... 75 3.5.2 Method overview................................ 75 3.5.3 Property overview............................... 75 3.5.4 TBase64DecodingStream.Create........................ 75 3.5.5 TBase64DecodingStream.Reset........................ 76 3.5.6 TBase64DecodingStream.Read........................ 76 3.5.7 TBase64DecodingStream.Seek......................... 76 3 CONTENTS 3.5.8 TBase64DecodingStream.EOF......................... 77 3.5.9 TBase64DecodingStream.Mode........................ 77 3.6 TBase64EncodingStream................................ 77 3.6.1 Description................................... 77 3.6.2 Method overview................................ 77 3.6.3 TBase64EncodingStream.Create........................ 77 3.6.4 TBase64EncodingStream.Destroy....................... 78 3.6.5 TBase64EncodingStream.Write........................ 78 3.6.6 TBase64EncodingStream.Seek......................... 78 4 Reference for unit ’BlowFish’ 79 4.1 Used units........................................ 79 4.2 Overview........................................ 79 4.3 Constants, types and variables............................. 79 4.3.1 Constants.................................... 79 4.3.2 Types...................................... 79 4.4 EBlowFishError..................................... 80 4.4.1 Description................................... 80 4.5 TBlowFish....................................... 80 4.5.1 Description................................... 80 4.5.2 Method overview................................ 80 4.5.3 TBlowFish.Create............................... 80 4.5.4 TBlowFish.Encrypt............................... 80 4.5.5 TBlowFish.Decrypt............................... 81 4.6 TBlowFishDeCryptStream............................... 81 4.6.1 Description................................... 81 4.6.2 Method overview................................ 81 4.6.3 TBlowFishDeCryptStream.Read........................ 81 4.6.4 TBlowFishDeCryptStream.Seek........................ 82 4.7 TBlowFishEncryptStream............................... 82 4.7.1 Description................................... 82 4.7.2 Method overview................................ 82 4.7.3 TBlowFishEncryptStream.Destroy....................... 82 4.7.4 TBlowFishEncryptStream.Write........................ 82 4.7.5 TBlowFishEncryptStream.Seek........................ 83 4.7.6 TBlowFishEncryptStream.Flush........................ 83 4.8 TBlowFishStream.................................... 83 4.8.1 Description................................... 83 4.8.2 Method overview................................ 84 4.8.3 Property overview............................... 84 4 CONTENTS 4.8.4 TBlowFishStream.Create............................ 84 4.8.5 TBlowFishStream.Destroy........................... 84 4.8.6 TBlowFishStream.BlowFish.......................... 84 5 Reference for unit ’bufstream’ 86 5.1 Used units........................................ 86 5.2 Overview........................................ 86 5.3 Constants, types and variables............................. 86 5.3.1 Constants.................................... 86 5.4 TBufStream....................................... 86 5.4.1 Description................................... 86 5.4.2 Method overview................................ 87 5.4.3 Property overview............................... 87 5.4.4 TBufStream.Create............................... 87 5.4.5 TBufStream.Destroy.............................. 87 5.4.6 TBufStream.Buffer..............................