aboutsummaryrefslogtreecommitdiff
path: root/src/list.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2007-07-02 20:35:44 +0000
committerMike Buland <eichlan@xagasoft.com>2007-07-02 20:35:44 +0000
commitbd865cee5f89116c1f054cd0e5c275e97c2d0a9b (patch)
treee3e27a6b9bd5e2be6150088495c91fc91786ad9d /src/list.h
parent62fb9ee2ff8b1d9590c92a703d6506de6aa8df52 (diff)
downloadlibbu++-bd865cee5f89116c1f054cd0e5c275e97c2d0a9b.tar.gz
libbu++-bd865cee5f89116c1f054cd0e5c275e97c2d0a9b.tar.bz2
libbu++-bd865cee5f89116c1f054cd0e5c275e97c2d0a9b.tar.xz
libbu++-bd865cee5f89116c1f054cd0e5c275e97c2d0a9b.zip
The list has an isEmpty funcion, and the socket may have a new read function
soon, check it out...later...
Diffstat (limited to '')
-rw-r--r--src/list.h5
1 files changed, 5 insertions, 0 deletions
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
471 { 471 {
472 return *pLast->pValue; 472 return *pLast->pValue;
473 } 473 }
474
475 const bool isEmpty() const
476 {
477 return (nSize == 0);
478 }
474 479
475 private: 480 private:
476 Link *pFirst; 481 Link *pFirst;