Einzelnen Beitrag anzeigen

charly52

Registriert seit: 2. Sep 2018
Ort: Salem, Baden
102 Beiträge
 
Delphi 10.2 Tokyo Professional
 
#1

RttiRecordType und RTttiArrayType

  Alt 26. Jul 2022, 18:23
Delphi-Version: 10.4 Sydney
Hi

2 Fragen zur Delphi Hilfe

in https://docwiki.embarcadero.com/Libr...RttiRecordType

steht

Zitat:
TRttiRecordType is the RTTI object that reflects a record type.
TRttiRecordType is the RTTI class that reflects record types. TRttiRecordType allows querying the reflected record type for field information or for managed field information.
1. Frage: Ist TRttiRecordType jetzt eine Klasse oder ein Object?

und 2.: Wieso wird "System.Rtti.TRttiArrayType" direkt von "System.Rtti.TRttiType" abgeleitet und nicht auch von "System.Rtti.TRttiStructuredType"
obwohl laut der Doku von "System.Rtti.TRttiStructuredType"

Zitat:
TRttiStructuredType is the base class for all the RTTI objects that reflect structured types.
TRttiStructuredType is the class used as base for all the RTTI classes that reflect structured types. A structured type, in Delphi, is usually made up of several components. For example, a record or an array are structured types.

Vieleicht hat ja jemand ne gute Erklärung.
Charly
  Mit Zitat antworten Zitat