[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Object to write component data to an arbitrary format.
Source position: classesh.inc line 1323
type TWriter = class(TFiler) |
||
protected |
||
procedure SetRoot(); override; |
|
Sets the root component |
procedure WriteBinary(); |
|
Writes binary data to the stream. |
procedure WriteProperty(); |
|
Writes one property to the stream. |
procedure WriteProperties(); |
|
Writes the published properties to the stream. |
procedure WriteChildren(); |
||
function CreateDriver(); virtual; |
||
public |
||
procedure Create(); |
|
Creates a new Writer with a stream and bufsize. |
destructor Destroy; override; |
|
Destroys the writer instance. |
procedure DefineProperty(); override; |
|
Callback used when defining and streaming custom properties. |
procedure DefineBinaryProperty(); override; |
|
Callback used when defining and streaming custom properties. |
procedure Write(); virtual; |
|
Write raw data to stream |
procedure WriteBoolean(); |
|
Write boolean value to the stream. |
procedure WriteCollection(); |
|
Write a collection to the stream. |
procedure WriteComponent(); |
|
Stream a component to the stream. |
procedure WriteChar(); |
|
Write a character to the stream. |
procedure WriteWideChar(); |
|
Write widechar to stream |
procedure WriteDescendent(); |
|
Write a descendent component to the stream. |
procedure WriteFloat(); |
|
Write a float to the stream. |
procedure WriteSingle(); |
|
Write a single-type real to the stream. |
procedure WriteDate(); |
|
Write a date to the stream. |
procedure WriteCurrency(); |
|
Write a currency value to the stream |
procedure WriteIdent(); |
|
Write an identifier to the stream. |
procedure WriteInteger(); |
|
Write an integer to the stream. |
procedure WriteSet(); |
|
Write a set value to the stream |
procedure WriteListBegin; |
|
Write a start-of-list marker to the stream. |
procedure WriteListEnd; |
|
Write an end-of-list marker to the stream. |
procedure WriteRootComponent(); |
|
Write a root component to the stream. |
procedure WriteString(); |
|
Write a string to the stream. |
procedure WriteWideString(); |
|
Write a widestring value to the stream |
procedure WriteUnicodeString(); |
|
Write a unicode string to the stream. |
procedure WriteVariant(); |
|
Write a variant to the stream |
property RootAncestor: TComponent; [rw] |
|
Ancestor of root component. |
property OnFindAncestor: TFindAncestorEvent; [rw] |
|
Event occurring when an ancestor component must be found. |
property OnWriteMethodProperty: TWriteMethodPropertyEvent; [rw] |
|
Handler from writing method properties. |
property OnWriteStringProperty: TReadWriteStringPropertyEvent; [rw] |
|
Event handler for translating strings written to stream. |
property Driver: TAbstractObjectWriter; [r] |
|
Driver used when writing to the stream. |
property PropertyPath: String; [r] |
|
Path to the property that is currently being written |
end; |
|
Object to write component data to an arbitrary format. |
|
| | ||
|
Class responsible for streaming of components. |
|
| | ||
|
Base class of all classes. |
lazarus-ccr.sourceforge.net |