#include <OrderedVectorDBCache.hpp>
Public Types | |
typedef T_R::params_t | params_t |
Public Member Functions | |
OrderedVectorDBCache (const params_t *par) | |
counter_t | nextTransactionBIS (BIS &transaction) |
template<class UAC> | |
counter_t | nextTransactionUAC (UAC &transaction) |
void | rewind () |
Protected Attributes | |
std::vector< std::pair< BIS, counter_t > > | ordered_vector |
std::vector< std::pair< BIS, counter_t > >::iterator | it |
When inserting a new filtered transaction a binary search is called to find the proper place. Obviously if the filtered transaction is already contained in the vector then it counter is incremented and the transaction is not stored again.
Definition at line 27 of file OrderedVectorDBCache.hpp.
|
Definition at line 30 of file OrderedVectorDBCache.hpp. |
|
Definition at line 50 of file OrderedVectorDBCache.hpp. References OrderedVectorDBCache< T_R, BIS >::it, and OrderedVectorDBCache< T_R, BIS >::ordered_vector. |
|
Definition at line 71 of file OrderedVectorDBCache.hpp. References OrderedVectorDBCache< T_R, BIS >::it, and OrderedVectorDBCache< T_R, BIS >::ordered_vector. |
|
Definition at line 83 of file OrderedVectorDBCache.hpp. References OrderedVectorDBCache< T_R, BIS >::it, and OrderedVectorDBCache< T_R, BIS >::ordered_vector. |
|
Definition at line 40 of file OrderedVectorDBCache.hpp. References OrderedVectorDBCache< T_R, BIS >::it, and OrderedVectorDBCache< T_R, BIS >::ordered_vector. |
|
|