Adding GetCount() to wxHashTable

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Bart A.M. Jourquin
2000-01-11 16:19:35 +00:00
parent 9856788f58
commit 5692876f3b
2 changed files with 16 additions and 0 deletions

View File

@@ -99,6 +99,12 @@ class WXDLLEXPORT wxHashTable: public wxObject
void DeleteContents(bool flag);
void Clear(void);
// Returns number of nodes
size_t GetCount() const { return m_count; }
private:
size_t m_count; // number of elements in the hashtable
};
#endif