Class TVersion

Unit

Declaration

type TVersion = class(TInterfacedObject, IVersion)

Description

Client version

Hierarchy

Overview

Methods

Public function GetByteSize: Cardinal;
Public function GetMajor: Cardinal;
Public procedure SetMajor(Major: Cardinal);
Public function GetMinor: Cardinal;
Public procedure SetMinor(Minor: Cardinal);
Public function GetPatch: Cardinal;
Public procedure SetPatch(Patch: Cardinal);
Public procedure Serialize(Writer: TEoWriter);
Public class function Deserialize(Reader: TEoReader): TVersion;

Properties

Public property ByteSize: Cardinal read GetByteSize;
Public property Major: Cardinal read GetMajor write SetMajor;
Public property Minor: Cardinal read GetMinor write SetMinor;
Public property Patch: Cardinal read GetPatch write SetPatch;

Description

Methods

Public function GetByteSize: Cardinal;

This item has no description.

Public function GetMajor: Cardinal;

This item has no description.

Public procedure SetMajor(Major: Cardinal);

This item has no description.

Public function GetMinor: Cardinal;

This item has no description.

Public procedure SetMinor(Minor: Cardinal);

This item has no description.

Public function GetPatch: Cardinal;

This item has no description.

Public procedure SetPatch(Patch: Cardinal);

This item has no description.

Public procedure Serialize(Writer: TEoWriter);

Serializes this TVersion object to the provided TEoWriter.

Parameters
Writer
The writer that this object will be serialized to
Public class function Deserialize(Reader: TEoReader): TVersion;

Deserializes an instance of TVersion from the provided TEoReader.

Parameters
Reader
The reader that the object will be deserialized from
Returns

The deserialized object

Properties

Public property ByteSize: Cardinal read GetByteSize;

The size of the data that this object was deserialized from.

Note
0 if the instance was not created by the Deserialize method.

Public property Major: Cardinal read GetMajor write SetMajor;

Note
Value range is 0-252

Public property Minor: Cardinal read GetMinor write SetMinor;

Note
Value range is 0-252

Public property Patch: Cardinal read GetPatch write SetPatch;

Note
Value range is 0-252


Generated by PasDoc 0.16.0-snapshot.