Sign in Join
FPDoc Onlineexperiment

TAbstractObjectReader.ReadIdent function

Member of TAbstractObjectReaderpublicIn unit Classes

Read an identifier from the stream.

Declaration

pascal
function ReadIdent(ValueType: TValueType): RawByteString; virtual
 ; abstract

Description

ReadIdent is called by the streaming system if it expects to read an identifier of type ValueType from the stream after a call to ReadValue returned vaIdent. The identifier should be returned as a string. Note that in some cases the identifier does not actually have to be in the stream. The following table indicates which identifiers must actually be read:

ValueType Expected value
vaIdent Read from stream.
vaNil 'Nil'. This does not have to be read from the stream.
vaFalse 'False'. This does not have to be read from the stream.
vaTrue 'True'. This does not have to be read from the stream.
vaNull 'Null'. This does not have to be read from the stream.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.