chunkedseq
container library for large in-memory data sets
|
Implementations of various fixed-capacity buffers. More...
#include <assert.h>
#include <memory>
#include <cstring>
#include <type_traits>
#include <algorithm>
#include "segment.hpp"
Go to the source code of this file.
Classes | |
class | pasl::data::fixedcapacity::base::heap_allocator< Item, Capacity > |
class | pasl::data::fixedcapacity::base::inline_allocator< Item, Capacity > |
class | pasl::data::fixedcapacity::base::const_foreach_body< Alloc > |
Loop body for array-initialization by constant. More... | |
class | pasl::data::fixedcapacity::base::apply_foreach_body< Alloc, Body > |
Loop body for array tabulation. More... | |
class | pasl::data::fixedcapacity::base::ringbuffer_idx< Array_alloc, Item_alloc > |
Fixed-capacity ring buffer, using indices. More... | |
class | pasl::data::fixedcapacity::base::ringbuffer_ptr< Array_alloc, Item_alloc > |
Fixed-capacity ring buffer. More... | |
class | pasl::data::fixedcapacity::base::ringbuffer_ptrx< Array_alloc, Item_alloc > |
Fixed-capacity ring buffer. More... | |
class | pasl::data::fixedcapacity::base::stack< Array_alloc, Item_alloc > |
[fixedcapacitystack] More... | |
Namespaces | |
pasl | |
pasl::data | |
pasl::data::fixedcapacity | |
pasl::data::fixedcapacity::base | |
Macros | |
#define | DEBUG_RINGBUFFER 0 |
Functions | |
template<class Alloc > | |
void | pasl::data::fixedcapacity::base::copy (typename Alloc::pointer destination, typename Alloc::const_pointer source, typename Alloc::size_type num) |
Polymorphic array copy. More... | |
template<class Alloc > | |
void | pasl::data::fixedcapacity::base::pblit (typename Alloc::const_pointer t1, int i1, typename Alloc::pointer t2, int i2, int nb) |
template<class Alloc > | |
void | pasl::data::fixedcapacity::base::destroy_items (typename Alloc::pointer t, int i, int nb) |
template<class Alloc > | |
void | pasl::data::fixedcapacity::base::destroy_items (typename Alloc::pointer t, int nb) |
template<class Alloc > | |
void | pasl::data::fixedcapacity::base::pshiftn (typename Alloc::pointer t, typename Alloc::size_type num, int shift_by) |
Polymorphic shift by position. More... | |
template<class Alloc > | |
void | pasl::data::fixedcapacity::base::pfill (typename Alloc::pointer first, typename Alloc::pointer last, typename Alloc::const_reference val) |
Polymorphic fill range with value. More... | |
template<class Alloc , int capacity> | |
void | pasl::data::fixedcapacity::base::copy_data_wrap_src (typename Alloc::const_pointer t1, int i1, typename Alloc::pointer t2, int i2, int nb) |
template<class Alloc , int capacity> | |
void | pasl::data::fixedcapacity::base::copy_data_wrap_dst (typename Alloc::const_pointer t1, int i1, typename Alloc::pointer t2, int i2, int nb) |
template<class Alloc , int capacity> | |
void | pasl::data::fixedcapacity::base::copy_data_wrap_src_and_dst (typename Alloc::const_pointer t1, int i1, typename Alloc::pointer t2, int i2, int nb) |
template<class Alloc , int capacity> | |
void | pasl::data::fixedcapacity::base::destroy_items_wrap_target (typename Alloc::pointer t, int i, int nb) |
template<class Body > | |
void | pasl::data::fixedcapacity::base::papply (typename Body::allocator_type::pointer t, typename Body::allocator_type::size_type num, typename Body::allocator_type::size_type k, const Body &body) |
Polymorphic apply-to-each item. More... | |
template<class Body > | |
void | pasl::data::fixedcapacity::base::papply (typename Body::allocator_type::pointer t, typename Body::allocator_type::size_type num, typename Body::allocator_type::size_type k, const const_foreach_body< typename Body::allocator_type > &body) |
template<class Body , int capacity> | |
void | pasl::data::fixedcapacity::base::papply_wrap_dst (typename Body::allocator_type::pointer t, int i, int nb, typename Body::allocator_type::size_type k, const Body &body) |
template<class Body , int capacity> | |
void | pasl::data::fixedcapacity::base::papply_wrap_dst (typename Body::allocator_type::pointer t, int i, int nb, const Body &body) |
Definition in file fixedcapacitybase.hpp.
#define DEBUG_RINGBUFFER 0 |
Definition at line 1295 of file fixedcapacitybase.hpp.