RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TypInfo.TTypeData Record

TTypeData is used internally to represent type information.

Pascal
TTypeData = packed record
  case TTypeKind of
    tkClass: (ClassType: TClass;
              ParentInfo: PPTypeInfo;
              PropCount: SmallInt;
              UnitName: ShortStringBase;);
    tkDynArray: (elSize: Longint;
                 elType: PPTypeInfo;
                 varType: Integer;
                 elType2: PPTypeInfo;
                 DynUnitName: ShortStringBase;);
    tkEnumeration: (BaseType: PPTypeInfo;
                    NameList: ShortStringBase;
                    EnumUnitName: ShortStringBase;);
    tkFloat: (FloatType: TFloatType;);
    tkInt64: (MaxInt64Value: Int64;
              MinInt64Value: Int64;);
    tkMethod: (MethodKind: TMethodKind;
               ParamCount: Byte;
               ParamList: array[0..1023] of Char );
               tkInterface: ( IntfParent : PPTypeInfo; IntfFlags : TIntfFlagsBase; Guid : TGUID; IntfUnit : ShortStringBase;;);
    tkSet: (CompType: PPTypeInfo;);
    tkString: (MaxLength: Byte;);
    tkWChar: (OrdType: TOrdType;
              MinValue: Longint;
              MaxValue: Longint;);
end;
C++
struct TTypeData {
  TOrdType OrdType;
  Longint MinValue;
  Longint MaxValue;
  PPTypeInfo BaseType;
  ShortStringBase NameList;
  ShortStringBase EnumUnitName;
  PPTypeInfo CompType;
  TFloatType FloatType;
  Byte MaxLength;
  TClass ClassType;
  PPTypeInfo ParentInfo;
  SmallInt PropCount;
  ShortStringBase UnitName;
  TMethodKind MethodKind;
  Byte ParamCount;
  array[0..1023] of Char ) ParamList;
  ( IntfParent : PPTypeInfo; IntfFlags : TIntfFlagsBase; Guid : TGUID; IntfUnit : ShortStringBase; tkInterface;
  Int64 MaxInt64Value;
  Int64 MinInt64Value;
  Longint elSize;
  PPTypeInfo elType;
  int varType;
  PPTypeInfo elType2;
  ShortStringBase DynUnitName;
};

TypInfo

A TTypeData structure represents a category of properties, events, or methods in parameters passed to several routines in the TypInfo unit. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!