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:
@@ -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
|
||||
|
Reference in New Issue
Block a user