JCL Help:GetInitTable

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Returns the initialization table of a class.


Pascal

 function GetInitTable(AClass: TClass): PTypeInfo;


Parameters

Parameters Description
AClass: TClass The class for which to get the initialization table.


Return Value

The result is a pointer to the initialization table. Do not modify this structure!


Description

GetInitTable returns the initialization table of the specified class. TODO This is abracadabra to me :-) Need to contact author for further explanation about this (eg what does the init table look like). The initialization table is a record type info, from which the size is set to zero, but still has info about the fields which needs to be initialized, but only for the fields not already existing in an inherited class. It is used when a new object is created to initialize its fields.


About

Unit

JclSysUtils


Donator

Python


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page