.TH "__gnu_pbds::sample_resize_trigger" 3 "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME __gnu_pbds::sample_resize_trigger \- A sample resize trigger policy\&. .SH SYNOPSIS .br .PP .PP \fR#include \fP .SS "Public Types" .in +1c .ti -1c .RI "typedef std::size_t \fBsize_type\fP" .br .RI "Size type\&. " .in -1c .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBsample_resize_trigger\fP ()" .br .RI "Default constructor\&. " .ti -1c .RI "\fBsample_range_hashing\fP (const \fBsample_resize_trigger\fP &)" .br .RI "Copy constructor\&. " .ti -1c .RI "void \fBswap\fP (\fBsample_resize_trigger\fP &)" .br .RI "Swaps content\&. " .in -1c .SS "Protected Member Functions" .in +1c .ti -1c .RI "bool \fBis_grow_needed\fP (\fBsize_type\fP size, \fBsize_type\fP num_entries) const" .br .RI "Queries whether a grow is needed\&. " .ti -1c .RI "bool \fBis_resize_needed\fP () const" .br .RI "Queries whether a resize is needed\&. " .ti -1c .RI "void \fBnotify_cleared\fP ()" .br .RI "Notifies the table was cleared\&. " .ti -1c .RI "void \fBnotify_erase_search_collision\fP ()" .br .RI "Notifies a search encountered a collision\&. " .ti -1c .RI "void \fBnotify_erase_search_end\fP ()" .br .RI "Notifies a search ended\&. " .ti -1c .RI "void \fBnotify_erase_search_start\fP ()" .br .RI "Notifies a search started\&. " .ti -1c .RI "void \fBnotify_erased\fP (\fBsize_type\fP num_entries)" .br .RI "Notifies an element was erased\&. " .ti -1c .RI "void \fBnotify_externally_resized\fP (\fBsize_type\fP new_size)" .br .RI "Notifies the table was resized externally\&. " .ti -1c .RI "void \fBnotify_find_search_collision\fP ()" .br .RI "Notifies a search encountered a collision\&. " .ti -1c .RI "void \fBnotify_find_search_end\fP ()" .br .RI "Notifies a search ended\&. " .ti -1c .RI "void \fBnotify_find_search_start\fP ()" .br .RI "Notifies a search started\&. " .ti -1c .RI "void \fBnotify_insert_search_collision\fP ()" .br .RI "Notifies a search encountered a collision\&. " .ti -1c .RI "void \fBnotify_insert_search_end\fP ()" .br .RI "Notifies a search ended\&. " .ti -1c .RI "void \fBnotify_insert_search_start\fP ()" .br .RI "Notifies a search started\&. " .ti -1c .RI "void \fBnotify_inserted\fP (\fBsize_type\fP num_entries)" .br .RI "Notifies an element was inserted\&. the total number of entries in the table is num_entries\&. " .ti -1c .RI "void \fBnotify_resized\fP (\fBsize_type\fP new_size)" .br .RI "Notifies the table was resized as a result of this object's signifying that a resize is needed\&. " .in -1c .SH "Detailed Description" .PP A sample resize trigger policy\&. .SH "Member Typedef Documentation" .PP .SS "std::size_t \fB__gnu_pbds::sample_resize_trigger::size_type\fP" .PP Size type\&. .SH "Constructor & Destructor Documentation" .PP .SS "__gnu_pbds::sample_resize_trigger::sample_resize_trigger ()" .PP Default constructor\&. .SH "Member Function Documentation" .PP .SS "bool __gnu_pbds::sample_resize_trigger::is_grow_needed (\fBsize_type\fP size, \fBsize_type\fP num_entries) const\fR [inline]\fP, \fR [protected]\fP" .PP Queries whether a grow is needed\&. .SS "bool __gnu_pbds::sample_resize_trigger::is_resize_needed () const\fR [inline]\fP, \fR [protected]\fP" .PP Queries whether a resize is needed\&. .SS "void __gnu_pbds::sample_resize_trigger::notify_cleared ()\fR [protected]\fP" .PP Notifies the table was cleared\&. .SS "void __gnu_pbds::sample_resize_trigger::notify_erase_search_collision ()\fR [inline]\fP, \fR [protected]\fP" .PP Notifies a search encountered a collision\&. .SS "void __gnu_pbds::sample_resize_trigger::notify_erase_search_end ()\fR [inline]\fP, \fR [protected]\fP" .PP Notifies a search ended\&. .SS "void __gnu_pbds::sample_resize_trigger::notify_erase_search_start ()\fR [inline]\fP, \fR [protected]\fP" .PP Notifies a search started\&. .SS "void __gnu_pbds::sample_resize_trigger::notify_erased (\fBsize_type\fP num_entries)\fR [inline]\fP, \fR [protected]\fP" .PP Notifies an element was erased\&. .SS "void __gnu_pbds::sample_resize_trigger::notify_externally_resized (\fBsize_type\fP new_size)\fR [protected]\fP" .PP Notifies the table was resized externally\&. .SS "void __gnu_pbds::sample_resize_trigger::notify_find_search_collision ()\fR [inline]\fP, \fR [protected]\fP" .PP Notifies a search encountered a collision\&. .SS "void __gnu_pbds::sample_resize_trigger::notify_find_search_end ()\fR [inline]\fP, \fR [protected]\fP" .PP Notifies a search ended\&. .SS "void __gnu_pbds::sample_resize_trigger::notify_find_search_start ()\fR [inline]\fP, \fR [protected]\fP" .PP Notifies a search started\&. .SS "void __gnu_pbds::sample_resize_trigger::notify_insert_search_collision ()\fR [inline]\fP, \fR [protected]\fP" .PP Notifies a search encountered a collision\&. .SS "void __gnu_pbds::sample_resize_trigger::notify_insert_search_end ()\fR [inline]\fP, \fR [protected]\fP" .PP Notifies a search ended\&. .SS "void __gnu_pbds::sample_resize_trigger::notify_insert_search_start ()\fR [inline]\fP, \fR [protected]\fP" .PP Notifies a search started\&. .SS "void __gnu_pbds::sample_resize_trigger::notify_inserted (\fBsize_type\fP num_entries)\fR [inline]\fP, \fR [protected]\fP" .PP Notifies an element was inserted\&. the total number of entries in the table is num_entries\&. .SS "void __gnu_pbds::sample_resize_trigger::notify_resized (\fBsize_type\fP new_size)\fR [protected]\fP" .PP Notifies the table was resized as a result of this object's signifying that a resize is needed\&. .SS "__gnu_pbds::sample_resize_trigger::sample_range_hashing (const \fBsample_resize_trigger\fP & )" .PP Copy constructor\&. .SS "void __gnu_pbds::sample_resize_trigger::swap (\fBsample_resize_trigger\fP & )\fR [inline]\fP" .PP Swaps content\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.