[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Read an identifier from the stream.
Source position: classesh.inc line 1034
public function TAbstractObjectReader.ReadIdent( |
ValueType: TValueType |
):String; virtual; abstract; |
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. |
|
Read a float value from the stream. |
|
|
Read a date value from the stream. |
|
|
Read a single (real-type) value from the stream. |
|
|
Read an 8-bit integer from the stream. |
|
|
Read a 16-bit integer from the stream. |
|
|
Read a 32-bit integer from the stream. |
|
|
Read a 64-bit integer from the stream. |
|
|
Reads a set from the stream. |
|
|
Read a shortstring from the stream |
|
|
Read a string of type StringType from the stream. |
lazarus-ccr.sourceforge.net |