From bd865cee5f89116c1f054cd0e5c275e97c2d0a9b Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 2 Jul 2007 20:35:44 +0000 Subject: The list has an isEmpty funcion, and the socket may have a new read function soon, check it out...later... --- src/list.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/list.h') diff --git a/src/list.h b/src/list.h index 6235619..e05ebbc 100644 --- a/src/list.h +++ b/src/list.h @@ -471,6 +471,11 @@ namespace Bu { return *pLast->pValue; } + + const bool isEmpty() const + { + return (nSize == 0); + } private: Link *pFirst; -- cgit v1.2.3