Unit ok_generic

Description

Tests of generics, both FPC and Delphi style.

Overview

Classes, Interfaces, Objects and Records

Name Description
Class TMyList FPC generics tests ——————————————————-
Class TGeometryAttrib  
Class TGeometryAttribsList You can also specialize and make a descendant at the same time.
Class TBitConverter  
Class TMyObject A simple Test-Object
Class TMyGenericList  
Class TMyNewGeneric  
Class TAnotherGenericType Sample for a generic with more than one type.
Class TArray All standard Generics:
Class TEnumerator  
Class TEnumerable  
Class TList  
Class TQueue  
Class TStack  
Record TPair  
Class TDictionary  
Class TObjectList  
Class TObjectQueue  
Class TObjectStack  
Class TObjectDictionary  

Types

TGeometryAttribsList2 = specialize TMyList<TALBuffersCache>;

Description

Types

TGeometryAttribsList2 = specialize TMyList<TALBuffersCache>;

This item has no description.