mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-06-02 09:46:43 +08:00
27 lines
645 B
Plaintext
Executable File
27 lines
645 B
Plaintext
Executable File
// File: TCollection_Stack.lxx
|
|
// Created: Mon Jan 18 14:28:49 1993
|
|
// Author: Remi LEQUETTE
|
|
// <rle@phylox>
|
|
|
|
|
|
//=======================================================================
|
|
//function : IsEmpty
|
|
//purpose :
|
|
//=======================================================================
|
|
|
|
inline Standard_Boolean TCollection_Stack::IsEmpty() const
|
|
{
|
|
return myDepth == 0;
|
|
}
|
|
|
|
|
|
//=======================================================================
|
|
//function : Depth
|
|
//purpose :
|
|
//=======================================================================
|
|
|
|
inline Standard_Integer TCollection_Stack::Depth() const
|
|
{
|
|
return myDepth;
|
|
}
|