Public Member Functions | |
IZInterface | Clone () |
Clones the instance of this object. | |
Boolean | Equals (const IZInterface Value) |
Integer | GetCount () |
Gets a count of the stored elements. | |
LongInt | Hash () |
Gets a unique hash for this object. | |
Boolean | InstanceOf (const TGUID IId) |
Checks is this object implements a specified interface. | |
IZInterface | Peek () |
Gets an element from the top this stack without removing it. | |
IZInterface | Pop () |
Gets an element from the top this stack and remove it. | |
Push (IZInterface Value) | |
Puts a new element to the top of this stack. | |
string | ToString () |
Gets a string representation for this object. | |
TZStack () | |
Constructs this object and assignes the main properties. | |
~TZStack () | |
Destroys this object and cleanups the memory. | |
Public Attributes | |
Integer | Count |
Private Member Functions | |
Boolean | Equals (const IZInterface &Value) |
Private Attributes | |
IZCollection | FValues |
Definition at line 392 of file ZCollections.pas.
TZStack::TZStack | ( | ) |
Constructs this object and assignes the main properties.
Definition at line 1489 of file ZCollections.pas.
TZStack::~TZStack | ( | ) |
IZInterface TZStack::Clone | ( | ) |
Clones the instance of this object.
Reimplemented from TZAbstractObject.
Definition at line 1513 of file ZCollections.pas.
Boolean IZObject::Equals | ( | const IZInterface & | Value | ) | [inherited] |
Boolean TZAbstractObject::Equals | ( | const IZInterface | Value | ) | [inherited] |
Reimplemented in TZAnyValue.
Integer TZStack::GetCount | ( | ) |
Gets a count of the stored elements.
Definition at line 1534 of file ZCollections.pas.
LongInt TZAbstractObject::Hash | ( | ) | [inherited] |
Gets a unique hash for this object.
Reimplemented from IZObject.
Definition at line 462 of file ZClasses.pas.
Boolean TZAbstractObject::InstanceOf | ( | const TGUID | IId | ) | [inherited] |
Checks is this object implements a specified interface.
IId | an interface id. |
True
if this object support the interface. Reimplemented from IZObject.
Definition at line 488 of file ZClasses.pas.
IZInterface TZStack::Peek | ( | ) |
Gets an element from the top this stack without removing it.
Definition at line 1546 of file ZCollections.pas.
IZInterface TZStack::Pop | ( | ) |
Gets an element from the top this stack and remove it.
Definition at line 1560 of file ZCollections.pas.
TZStack::Push | ( | IZInterface | Value | ) |
Puts a new element to the top of this stack.
Value | a new element to be put. |
Definition at line 1575 of file ZCollections.pas.
string TZStack::ToString | ( | ) |
Gets a string representation for this object.
Reimplemented from TZAbstractObject.
Definition at line 1587 of file ZCollections.pas.
Integer TZStack::Count |
IZCollection TZStack::FValues [private] |
Definition at line 397 of file ZCollections.pas.