[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'LResources' (#lcl)

# TLRSObjectWriter

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Object writer for Lazarus Resource Streams.

## Declaration

Source position: lresources.pp line 237

`type TLRSObjectWriter = class(TAbstractObjectWriter)`
`protected`
`procedure FlushBuffer; override;` |  |
`procedure WriteValue();` |  |
`procedure WriteStr();` |  |
`procedure WriteIntegerContent();` |  |
`procedure WriteWordContent();` |  |
`procedure WriteInt64Content();` |  |
`procedure WriteSingleContent();` |  |
`procedure WriteDoubleContent();` |  |
`procedure WriteExtendedContent();` |  |
`procedure WriteCurrencyContent();` |  |
`procedure WriteWideStringContent();` |  |
`procedure WriteWordsReversed();` |  | Writes multiples words (WideChar) with reversed byte order.
`procedure WriteNulls();` |  |
`public`
`constructor Create(); virtual;` |  |
`destructor Destroy; override;`
`procedure BeginCollection; override;` |  |
`procedure BeginComponent(); override;` |  |
`procedure WriteSignature; override;`
`procedure BeginList; override;` |  |
`procedure EndList; override;` |  |
`procedure BeginProperty(); override;` |  |
`procedure EndProperty; override;` |  |
`function GetStackPath;` |  |
`procedure Write(); override;` |  |
`procedure WriteBinary(); override;` |  |
`procedure WriteBoolean(); override;` |  |
`procedure WriteFloat(); override;` |  |
`procedure WriteSingle(); override;` |  |
`procedure WriteCurrency(); override;` |  |
`procedure WriteDate(); override;` |  |
`procedure WriteIdent(); override;` |  |
`procedure WriteInteger(); override;` |  |
`procedure WriteMethodName(); override;` |  |
`procedure WriteSet(); override;` |  |
`procedure WriteString(); override;` |  | Writes a string value using the format for the LRS object writer.
`procedure WriteWideString(); override;` |  |
`procedure WriteUnicodeString(); override;` |  |
`procedure WriteVariant(); override;`
`property WriteEmptyInheritedChilds: Boolean; [rw]` |  |
`property Writer: TWriter; [rw]` |  |
`end;`

## Inheritance

`TLRSObjectWriter` |  | Object writer for Lazarus Resource Streams.
`TAbstractObjectWriter`
?
`TObject`

## Description

The TLRSObjectWriter can find empty entries and omit writing them to stream.