summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/hash.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/hash.h b/src/hash.h
index 04f2657..1b53001 100644
--- a/src/hash.h
+++ b/src/hash.h
@@ -776,6 +776,24 @@ namespace Bu
776 776
777 return lKeys; 777 return lKeys;
778 } 778 }
779
780 Bu::List<value> getValues() const
781 {
782 Bu::List<value> lValues;
783
784 for( uint32_t j = 0; j < nCapacity; j++ )
785 {
786 if( isFilled( j ) )
787 {
788 if( !isDeleted( j ) )
789 {
790 lValues.append( aValues[j] );
791 }
792 }
793 }
794
795 return lValues;
796 }
779 797
780 protected: 798 protected:
781 virtual void onInsert() {} 799 virtual void onInsert() {}