diff options
author | Mike Buland <eichlan@xagasoft.com> | 2007-07-02 20:35:44 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2007-07-02 20:35:44 +0000 |
commit | bd865cee5f89116c1f054cd0e5c275e97c2d0a9b (patch) | |
tree | e3e27a6b9bd5e2be6150088495c91fc91786ad9d /src/list.h | |
parent | 62fb9ee2ff8b1d9590c92a703d6506de6aa8df52 (diff) | |
download | libbu++-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 'src/list.h')
-rw-r--r-- | src/list.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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; |