LibreOffice Module o3tl (master)  1
Public Member Functions | Private Types | Private Attributes | List of all members
o3tl::detail::simple_pool_impl< ValueType, Container > Class Template Reference

#include <vector_pool.hxx>

Inheritance diagram for o3tl::detail::simple_pool_impl< ValueType, Container >:
[legend]
Collaboration diagram for o3tl::detail::simple_pool_impl< ValueType, Container >:
[legend]

Public Member Functions

 simple_pool_impl ()
 
std::ptrdiff_t alloc ()
 
std::ptrdiff_t store (const ValueType &rCopy)
 
void free (std::ptrdiff_t nIdx)
 
const ValueTypeget (std::ptrdiff_t nIdx) const
 
ValueTypeget (std::ptrdiff_t nIdx)
 

Private Types

typedef Container::value_type value_type
 

Private Attributes

std::ptrdiff_t mnFirstFreeIndex
 

Detailed Description

template<typename ValueType, class Container>
class o3tl::detail::simple_pool_impl< ValueType, Container >

Definition at line 29 of file vector_pool.hxx.

Member Typedef Documentation

template<typename ValueType, class Container>
typedef Container::value_type o3tl::detail::simple_pool_impl< ValueType, Container >::value_type
private

Constructor & Destructor Documentation

template<typename ValueType, class Container>
o3tl::detail::simple_pool_impl< ValueType, Container >::simple_pool_impl ( )
inline

Member Function Documentation

template<typename ValueType, class Container>
std::ptrdiff_t o3tl::detail::simple_pool_impl< ValueType, Container >::alloc ( )
inline
template<typename ValueType, class Container>
void o3tl::detail::simple_pool_impl< ValueType, Container >::free ( std::ptrdiff_t  nIdx)
inline
template<typename ValueType, class Container>
const ValueType& o3tl::detail::simple_pool_impl< ValueType, Container >::get ( std::ptrdiff_t  nIdx) const
inline

Definition at line 69 of file vector_pool.hxx.

template<typename ValueType, class Container>
ValueType& o3tl::detail::simple_pool_impl< ValueType, Container >::get ( std::ptrdiff_t  nIdx)
inline

Definition at line 73 of file vector_pool.hxx.

template<typename ValueType, class Container>
std::ptrdiff_t o3tl::detail::simple_pool_impl< ValueType, Container >::store ( const ValueType rCopy)
inline

Member Data Documentation

template<typename ValueType, class Container>
std::ptrdiff_t o3tl::detail::simple_pool_impl< ValueType, Container >::mnFirstFreeIndex
private

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