RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TEnumerable Class

TEnumerable is an abstract class inherited by all enumerable containers.

Pascal
TEnumerable<T> = class;
C++
template <T>
class TEnumerable;

To give your container enumerating functionality, implement and extend the TEnumerable abstract class.  

Implement the DoGetEnumerator protected method in order to obtain an instance of the container's enumerator. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!