constructor taking some policies. r_size_policy will be copied by theSize_Policy object of this object. r_trigger_policy will be copied by the Trigger_Policy object of this object.
Returns the actual size of the container. This method returns the number of entries (used and unused) in the container. It is different from the container's size method, which returns the number of used entries. Calling this method will not compile whenExternal_Size_Access == false.
Resizes the container to suggested_new_size, a suggested size (the actual size will be determined by the Size_Policy object). Calling this method will not compile when External_Size_Access == false.
Protected Methods
Insert Search Notifications.
Notifications called during an insert operation.
Method
Description
inlinevoid notify_insert_search_start ()
Notifies a search started.
inlinevoid notify_insert_search_collision ()
Notifies a search encountered a collision.
inlinevoid notify_insert_search_end ()
Notifies a search ended.
Find Search Notifications.
Notifications called during a find operation.
Method
Description
inlinevoid notify_find_search_start ()
Notifies a search started.
inlinevoid notify_find_search_collision ()
Notifies a search encountered a collision.
inlinevoid notify_find_search_end ()
Notifies a search ended.
Erase Search Notifications.
Notifications called during an insert operation.
Method
Description
inlinevoid notify_erase_search_start ()
Notifies a search started.
inlinevoid notify_erase_search_collision ()
Notifies a search encountered a collision.
inlinevoid notify_erase_search_end ()
Notifies a search ended.
Content Change Notifications
Notifications called when the content of the table changes in a way that can affect the resize policy.
Queries what the new size should be, when the container is resized naturally. The current size of the container is size, and the number of used entries within the container is num_used_e.