summaryrefslogtreecommitdiff
path: root/ace/Intrusive_List.inl
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-08-01 23:39:29 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-08-01 23:39:29 +0000
commit78f15e9fef70e8500baf261258da62677e2340ff (patch)
treee57b699c9fbf526acfc5397696dfdf10e6c53a12 /ace/Intrusive_List.inl
parentfab8d075109f2475f4423aed5743dd4c9635e6a9 (diff)
downloadATCD-78f15e9fef70e8500baf261258da62677e2340ff.tar.gz
ChangeLogTag:Wed Aug 1 16:05:49 2001 Carlos O'Ryan <coryan@uci.edu>
Diffstat (limited to 'ace/Intrusive_List.inl')
-rw-r--r--ace/Intrusive_List.inl19
1 files changed, 19 insertions, 0 deletions
diff --git a/ace/Intrusive_List.inl b/ace/Intrusive_List.inl
new file mode 100644
index 00000000000..2c513b4584f
--- /dev/null
+++ b/ace/Intrusive_List.inl
@@ -0,0 +1,19 @@
+// $Id$
+
+template<class T> ACE_INLINE int
+ACE_Intrusive_List<T>::empty (void) const
+{
+ return this->head_ == 0;
+}
+
+template<class T> ACE_INLINE T *
+ACE_Intrusive_List<T>::head (void) const
+{
+ return this->head_;
+}
+
+template<class T> ACE_INLINE T *
+ACE_Intrusive_List<T>::tail (void) const
+{
+ return this->tail_;
+}