[Live-devel] HashTable size
Ross Finlayson
finlayson at live555.com
Wed Oct 26 17:10:16 PDT 2005
At 02:14 AM 10/26/2005, you wrote:
>Hi,
>
>I notice that HashTable.hh and BasicHashTable.hh don't include a
>public method to retrieve the size of ab HasHTAble instance.
>As the fNumEntries parameter is private, it is not easy to get this
>size. Ross, would it be possible to add a public Size() method to
>the interface, please ?
Yes, this is a good idea. I'll add it to the next release of the
software. (However, I'll probably call the function "numEntries()",
because "size()" might be misintepreted as meaning the memory size
of the table.)
Ross Finlayson
Live Networks, Inc. (LIVE555.COM)
<http://www.live555.com/>
More information about the live-devel
mailing list