[fpc-pascal] how to determine if a class has descendant registered within the current program
Michael Van Canneyt
michael at freepascal.org
Wed Mar 8 12:43:40 CET 2017
On Wed, 8 Mar 2017, Graeme Geldenhuys wrote:
> On 2017-03-08 10:55, Michael Van Canneyt wrote:
>> Currently not, but I think that Sven Barth will implement something
>> for the new RTTI which will make this possible in the future.
>
> That should be handy for the class documentation too, being able to list
> all descendants of a class (much like Java's JavaDoc does).
Not really, because the list depends on a compiled binary.
There is no binary when generating documentation...
The good news is that the documentation can already do this without any
changes to the compiler; if so desired, it could generate a list of all
descendents in the package.
Michael.
More information about the fpc-pascal
mailing list