JCL Help:JclGenerateSetType
From Project JEDI Wiki
Jump to navigationJump to searchJCL Help: JclGenerateSetType Function
Search in JCL Help
Search in all projects
Summary
Generates the RTTI structure for a new set.
Pascal
function JclGenerateSetType(BaseType: PTypeInfo; const TypeName: ShortString): PTypeInfo;
Parameters
Parameters | Description |
BaseType: PTypeInfo | RTTI of the ordinal type (as returned by System.TypeInfo(ordinal type), JclGenerateEnum* or JclGenerateSubRange). |
const TypeName: ShortString | Name of the newly generated RTTI. |
Return Value
The return value is a pointer to the RTTI info.
Description
JclGenerateSetType generates the RTTI structure for a new set type.
About
Unit
Donator
Marcel Bestebroer
Notes
All generated types are stored in a list and get freed on finalization of the JclRTTI unit. Optionally you can use RemoveTypeInfo to remove a specific type.
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