API:System.Generics.Collections.TStack
Delphi
TStack<T> = class(TEnumerable<T>)
C++
template<typename T> class PASCALIMPLEMENTATION TStack__1 : public TEnumerable__1<T>
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | System.Generics.Collections.pas System.Generics.Collections.hpp |
System.Generics.Collections | System.Generics.Collections |
Description
TEnumerable is an abstract class inherited by all enumerable containers.
System.Generics.Collections.TStack inherits from System.Generics.Collections.TEnumerable. All content below this line refers to System.Generics.Collections.TEnumerable.
TEnumerable is an abstract class inherited by all enumerable containers.
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.