7fd59977 |
1 | // File: TCollection_Queue.lxx |
2 | // Created: Mon Jan 18 14:54:20 1993 |
3 | // Author: Remi LEQUETTE |
4 | // <rle@phylox> |
5 | |
6 | |
7 | //======================================================================= |
8 | //function : Length |
9 | //purpose : |
10 | //======================================================================= |
11 | |
12 | inline Standard_Integer TCollection_Queue::Length() const |
13 | { |
14 | return myLength; |
15 | } |
16 | |
17 | |
18 | //======================================================================= |
19 | //function : IsEmpty |
20 | //purpose : |
21 | //======================================================================= |
22 | |
23 | inline Standard_Boolean TCollection_Queue::IsEmpty() const |
24 | { |
25 | return myLength == 0; |
26 | } |