首页 | 本学科首页   官方微博 | 高级检索  
     检索      

谈Delphi中的流
引用本文:张艾,邹小花.谈Delphi中的流[J].科技广场,2007(11):171-174.
作者姓名:张艾  邹小花
作者单位:1. 江西理工大学应用科学学院校务办,江西,赣州,341000
2. 南昌航空大学科技学院信息工程系,江西,南昌,330003
摘    要:数据流是面向对象程序设计语言中面向对象思想的典型体现,它彻底地取代了早期的利用函数实现输入输出的功能,克服了用函数实现输入输出功能的诸多弊端。简单来说,流就是建立在面向对象基础上的一种抽象的处理数据的工具。在Delphi的早期版本Turbo Pascal中就曾有流(Stream)、群(Collection)和资源(Resource)等专门用于对象式数据管理的类。在Delphi中,这些功能得到了大大的加强。Delphi将对象式数据管理类归结为Stream对象(Stream)和Filer对象(Filer),并将它们应用于可视部件类库(VCL)的方方面面。它们不仅提供了在内存、外存和Windows资源中管理对象的功能,还提供了在数据库BLOB字段中对象的功能。本文介绍Delphi编程中流的概念及应用。

关 键 词:  方法
文章编号:1671-4792-(2007)11-0087-04

Talking about the Flow of Delphi
Zhang Ai,Zou Xiaohua.Talking about the Flow of Delphi[J].Science Mosaic,2007(11):171-174.
Authors:Zhang Ai  Zou Xiaohua
Abstract:It is typical model body that faces to face to the object thought in the object program design language that data flow now, it replaced the exploitation function realization importation output's function of the earlier period to the last man, overcoming with many irregularity that the function carry out the importation exportation function.Say in brief, flow is the tool that the establishment is facing to a kind of abstract processing data of the object foundation.In Delphi the edition Turbo Pascal of earlier period once flow ( Stream), the cluster( Collection) and resources( Resource) etc. useds for the type of the object type data management exclusively.In the Delphi, these functions got to strengthen consumedly.The Delphi return the object type data management type the knot as object of Stream( Stream) and object of Filer( Filer)s, and are applied and can see square aspect noodles of the parts database( VCL) in them.They not only provided to save outside memory, and resources of Windows win the function of the management object, but also provided in the database BLOB word segment the function of the object.The concept and the application of this text introduction Delphi plait distance midstream.
Keywords:Stream  Method
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号