System.Classes.TReaderProc

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TReaderProc = procedure(Reader: TReader) of object;

C++

typedef void __fastcall (__closure *TReaderProc)(TReader* Reader);

Properties

Type Visibility Source Unit Parent
type
typedef
public
System.Classes.pas
System.Classes.hpp
System.Classes System.Classes

Description

TReaderProc is a type of callback procedure called used by TFiler and descendant DefineProperty methods.

DefineProperty introduces an abstract method that allows descendants to read or write data like a property.

Each descendant filer object declares a DefineProperty method that defines the data that the descendant object will read or write as if the data were a property.

TReaderProc is the callback procedure parameter in that DefineProperty. When called, it supplies the TFiler or descendant object, allowing read access.

See Also