Store references to other types inside a type class

David Nolden david.nolden.kdevelop at art-master.de
Sat Jun 18 14:03:51 UTC 2011


Generally, the Data classes must only contain 'persistent' types that
can be copied freely between memory locations, and that stay valid
over multiple runs of the application, because the data is copied
directly to the harddisk.

You can use all types that start with "Indexed" plus all structures
that contain no pointers and only Indexed... members or primitive
types (eg. IndexedDeclaration, IndexedDUContext, IndexedString,
DeclarationId, ...)

Greetings, David




More information about the KDevelop-devel mailing list