System.TypInfo.TOrdType

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TOrdType = (otSByte, otUByte, otSWord, otUWord, otSLong, otULong);

C++

enum DECLSPEC_DENUM TOrdType : unsigned char { otSByte, otUByte, otSWord, otUWord, otSLong, otULong };

Properties

Type Visibility Source Unit Parent
enum public
System.TypInfo.pas
System.TypInfo.hpp
System.TypInfo System.TypInfo

Description

Enumerates integer types in the TTypeData record.

The GetTypeData routine utilizes the Delphi RTTI (Run-Time Type Information) to return a pointer to a TTypeData record that describes a component property data type.

TTypeData is a variant record; the layout depends on the value of the TTypeKind property. When it is tkInteger, the data is one of the TOrdType enumerated values.

The TOrdType value meanings are as follows:

Value Meaning

otSByte

Signed byte

otUByte

Unsigned byte

otSWord

Signed Word

otUWord

Unsigned Word

otSLong

Signed Long

otULong

Unsigned Long

See Also

Code Examples