System.TypInfo.TMethodKind

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

TMethodKind = (mkProcedure, mkFunction, mkConstructor, mkDestructor,
mkClassProcedure, mkClassFunction, mkClassConstructor, mkClassDestructor,
mkOperatorOverload,
{ Obsolete }
mkSafeProcedure, mkSafeFunction);

C++

enum DECLSPEC_DENUM TMethodKind : unsigned char { mkProcedure, mkFunction, mkConstructor, mkDestructor, mkClassProcedure, mkClassFunction, mkClassConstructor, mkClassDestructor, mkOperatorOverload, mkSafeProcedure, mkSafeFunction };

Properties

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

Description

Enumerates floating point number types in the TTypeData record.

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

TTypeData is a variant record : the layout depends on the property TTypeKind value. When it is tkMethod, the data is one of the TMethodKind enumerated values.

The TMethodKind value meanings are as follows :



Value Meaning

mkProcedure

Stand alone procedure.

mkFunction

Stand alone function.

mkDestructor

Destructor.

mkConstructor

Constructor.

mkClassProcedure

Class procedure.

mkClassFunction

Class function.

mkClassConstructor

Class constructor.

mkOperatorOverload

Operator overload.

mkSafeProcedure

Safe procedure.

mkSafeFunction

Safe function.



See Also