summaryrefslogtreecommitdiff
path: root/inc/TCollection_SList.lxx
blob: 60f088169aad5396eab4bf7b127686d17ce0ad0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
// File:	TCollection_SList.lxx
// Created:	Fri Feb 26 14:42:52 1993
// Author:	Remi LEQUETTE
//		<rle@phylox>


//=======================================================================
//function : IsEmpty
//purpose  : 
//=======================================================================

inline Standard_Boolean TCollection_SList::IsEmpty() const
{
  return myNode.IsNull();
}

//=======================================================================
//function : Construct
//purpose  : 
//=======================================================================

//=======================================================================
//function : Construct
//purpose  : 
//=======================================================================

inline void TCollection_SList::Construct(const Item& anItem)
{
  Assign(TCollection_SList(anItem,*this));
}

//=======================================================================
//function : Constructed
//purpose  : 
//=======================================================================

inline TCollection_SList TCollection_SList::Constructed(const Item& anItem) const
{
  return TCollection_SList(anItem,*this);
}

//=======================================================================
//function : ToTail
//purpose  : 
//=======================================================================

inline void TCollection_SList::ToTail()
{
  Assign(Tail());
}

//=======================================================================
//function : Initialize
//purpose  : 
//=======================================================================

inline void TCollection_SList::Initialize(const TCollection_SList& aList)
{
  Assign(aList);
}

//=======================================================================
//function : More
//purpose  : 
//=======================================================================

inline Standard_Boolean TCollection_SList::More() const
{
  return !IsEmpty();
}

//=======================================================================
//function : Next
//purpose  : 
//=======================================================================

inline void TCollection_SList::Next()
{
  ToTail();
}