Quick Links:

bal | bbl | bdl | bsl

Public Types | Static Public Member Functions

bslalg::DequePrimitives< VALUE_TYPE, 1 > Struct Template Reference

#include <bslalg_dequeprimitives.h>

List of all members.

Public Types

typedef std::size_t size_type
typedef DequeImpUtil
< VALUE_TYPE, 1 > 
ImpUtil
typedef DequeIterator
< VALUE_TYPE, 1 > 
Iterator

Static Public Member Functions

template<class ALLOCATOR >
static void destruct (Iterator begin, Iterator end, ALLOCATOR allocator)
template<class ALLOCATOR >
static Iterator erase (Iterator *toBegin, Iterator *toEnd, Iterator fromBegin, Iterator first, Iterator last, Iterator fromEnd, ALLOCATOR allocator)
template<class ALLOCATOR >
static void insertAndMoveToBack (Iterator *toEnd, Iterator fromEnd, Iterator position, size_type numElements, const VALUE_TYPE &value, ALLOCATOR allocator)
template<class FWD_ITER , class ALLOCATOR >
static void insertAndMoveToBack (Iterator *toEnd, Iterator fromEnd, Iterator position, FWD_ITER first, FWD_ITER last, size_type numElements, ALLOCATOR allocator)
template<class ALLOCATOR >
static void insertAndMoveToFront (Iterator *toBegin, Iterator fromBegin, Iterator position, size_type numElements, const VALUE_TYPE &value, ALLOCATOR allocator)
template<class FWD_ITER , class ALLOCATOR >
static void insertAndMoveToFront (Iterator *toBegin, Iterator fromBegin, Iterator position, FWD_ITER first, FWD_ITER last, size_type numElements, ALLOCATOR allocator)
template<class ALLOCATOR >
static void uninitializedFillNBack (Iterator *toEnd, Iterator fromEnd, size_type numElements, const VALUE_TYPE &value, ALLOCATOR allocator)
template<class ALLOCATOR >
static void uninitializedFillNBack (Iterator *toEnd, Iterator fromEnd, size_type numElements, const VALUE_TYPE &value, ALLOCATOR allocator, bslmf::MetaInt< NIL_TRAITS > *)
template<class ALLOCATOR >
static void uninitializedFillNBack (Iterator *toEnd, Iterator fromEnd, size_type numElements, const VALUE_TYPE &value, ALLOCATOR allocator, bslmf::MetaInt< NON_NIL_TRAITS > *)
template<class ALLOCATOR >
static void uninitializedFillNFront (Iterator *toBegin, Iterator fromBegin, size_type numElements, const VALUE_TYPE &value, ALLOCATOR allocator)
template<class ALLOCATOR >
static void uninitializedFillNFront (Iterator *toBegin, Iterator fromBegin, size_type numElements, const VALUE_TYPE &value, ALLOCATOR allocator, bslmf::MetaInt< NIL_TRAITS > *)
template<class ALLOCATOR >
static void uninitializedFillNFront (Iterator *toBegin, Iterator fromBegin, size_type numElements, const VALUE_TYPE &value, ALLOCATOR allocator, bslmf::MetaInt< NON_NIL_TRAITS > *)
template<class ALLOCATOR >
static void valueInititalizeN (Iterator *toEnd, Iterator fromEnd, size_type numElements, ALLOCATOR allocator)
template<class ALLOCATOR >
static void valueInititalizeN (Iterator *toEnd, Iterator fromEnd, size_type numElements, ALLOCATOR allocator, bslmf::MetaInt< NIL_TRAITS > *)
template<class ALLOCATOR >
static void valueInititalizeN (Iterator *toEnd, Iterator fromEnd, size_type numElements, ALLOCATOR allocator, bslmf::MetaInt< NON_NIL_TRAITS > *)

Detailed Description

template<class VALUE_TYPE>
struct bslalg::DequePrimitives< VALUE_TYPE, 1 >

This is a partial specialization of DequePrimitives for the case when there is a single element per block.

See Component bslalg_dequeprimitives


Member Typedef Documentation

template<class VALUE_TYPE >
typedef std::size_t bslalg::DequePrimitives< VALUE_TYPE, 1 >::size_type
template<class VALUE_TYPE >
typedef DequeImpUtil<VALUE_TYPE, 1> bslalg::DequePrimitives< VALUE_TYPE, 1 >::ImpUtil
template<class VALUE_TYPE >
typedef DequeIterator<VALUE_TYPE, 1> bslalg::DequePrimitives< VALUE_TYPE, 1 >::Iterator

Member Function Documentation

template<class VALUE_TYPE >
template<class ALLOCATOR >
static void bslalg::DequePrimitives< VALUE_TYPE, 1 >::destruct ( Iterator  begin,
Iterator  end,
ALLOCATOR  allocator 
) [static]
template<class VALUE_TYPE >
template<class ALLOCATOR >
static Iterator bslalg::DequePrimitives< VALUE_TYPE, 1 >::erase ( Iterator toBegin,
Iterator toEnd,
Iterator  fromBegin,
Iterator  first,
Iterator  last,
Iterator  fromEnd,
ALLOCATOR  allocator 
) [static]
template<class VALUE_TYPE >
template<class ALLOCATOR >
static void bslalg::DequePrimitives< VALUE_TYPE, 1 >::insertAndMoveToBack ( Iterator toEnd,
Iterator  fromEnd,
Iterator  position,
size_type  numElements,
const VALUE_TYPE &  value,
ALLOCATOR  allocator 
) [static]
template<class VALUE_TYPE >
template<class FWD_ITER , class ALLOCATOR >
static void bslalg::DequePrimitives< VALUE_TYPE, 1 >::insertAndMoveToBack ( Iterator toEnd,
Iterator  fromEnd,
Iterator  position,
FWD_ITER  first,
FWD_ITER  last,
size_type  numElements,
ALLOCATOR  allocator 
) [static]
template<class VALUE_TYPE >
template<class ALLOCATOR >
static void bslalg::DequePrimitives< VALUE_TYPE, 1 >::insertAndMoveToFront ( Iterator toBegin,
Iterator  fromBegin,
Iterator  position,
size_type  numElements,
const VALUE_TYPE &  value,
ALLOCATOR  allocator 
) [static]
template<class VALUE_TYPE >
template<class FWD_ITER , class ALLOCATOR >
static void bslalg::DequePrimitives< VALUE_TYPE, 1 >::insertAndMoveToFront ( Iterator toBegin,
Iterator  fromBegin,
Iterator  position,
FWD_ITER  first,
FWD_ITER  last,
size_type  numElements,
ALLOCATOR  allocator 
) [static]
template<class VALUE_TYPE >
template<class ALLOCATOR >
static void bslalg::DequePrimitives< VALUE_TYPE, 1 >::uninitializedFillNBack ( Iterator toEnd,
Iterator  fromEnd,
size_type  numElements,
const VALUE_TYPE &  value,
ALLOCATOR  allocator 
) [static]
template<class VALUE_TYPE >
template<class ALLOCATOR >
static void bslalg::DequePrimitives< VALUE_TYPE, 1 >::uninitializedFillNBack ( Iterator toEnd,
Iterator  fromEnd,
size_type  numElements,
const VALUE_TYPE &  value,
ALLOCATOR  allocator,
bslmf::MetaInt< NIL_TRAITS > *   
) [static]
template<class VALUE_TYPE >
template<class ALLOCATOR >
static void bslalg::DequePrimitives< VALUE_TYPE, 1 >::uninitializedFillNBack ( Iterator toEnd,
Iterator  fromEnd,
size_type  numElements,
const VALUE_TYPE &  value,
ALLOCATOR  allocator,
bslmf::MetaInt< NON_NIL_TRAITS > *   
) [static]
template<class VALUE_TYPE >
template<class ALLOCATOR >
static void bslalg::DequePrimitives< VALUE_TYPE, 1 >::uninitializedFillNFront ( Iterator toBegin,
Iterator  fromBegin,
size_type  numElements,
const VALUE_TYPE &  value,
ALLOCATOR  allocator 
) [static]
template<class VALUE_TYPE >
template<class ALLOCATOR >
static void bslalg::DequePrimitives< VALUE_TYPE, 1 >::uninitializedFillNFront ( Iterator toBegin,
Iterator  fromBegin,
size_type  numElements,
const VALUE_TYPE &  value,
ALLOCATOR  allocator,
bslmf::MetaInt< NIL_TRAITS > *   
) [static]
template<class VALUE_TYPE >
template<class ALLOCATOR >
static void bslalg::DequePrimitives< VALUE_TYPE, 1 >::uninitializedFillNFront ( Iterator toBegin,
Iterator  fromBegin,
size_type  numElements,
const VALUE_TYPE &  value,
ALLOCATOR  allocator,
bslmf::MetaInt< NON_NIL_TRAITS > *   
) [static]
template<class VALUE_TYPE >
template<class ALLOCATOR >
static void bslalg::DequePrimitives< VALUE_TYPE, 1 >::valueInititalizeN ( Iterator toEnd,
Iterator  fromEnd,
size_type  numElements,
ALLOCATOR  allocator 
) [static]
template<class VALUE_TYPE >
template<class ALLOCATOR >
static void bslalg::DequePrimitives< VALUE_TYPE, 1 >::valueInititalizeN ( Iterator toEnd,
Iterator  fromEnd,
size_type  numElements,
ALLOCATOR  allocator,
bslmf::MetaInt< NIL_TRAITS > *   
) [static]
template<class VALUE_TYPE >
template<class ALLOCATOR >
static void bslalg::DequePrimitives< VALUE_TYPE, 1 >::valueInititalizeN ( Iterator toEnd,
Iterator  fromEnd,
size_type  numElements,
ALLOCATOR  allocator,
bslmf::MetaInt< NON_NIL_TRAITS > *   
) [static]

The documentation for this struct was generated from the following file: