Loading...
Searching...
No Matches
Public Types | List of all members
bitpit::LevelSetContainerCache< key_t, container_t > Class Template Reference

The class LevelSetContainerCache is the class for defining caches that stores the values inside a container owned by them. More...

#include <levelSetCache.hpp>

Inheritance diagram for bitpit::LevelSetContainerCache< key_t, container_t >:
Inheritance graph
[legend]
Collaboration diagram for bitpit::LevelSetContainerCache< key_t, container_t >:
Collaboration graph
[legend]

Public Types

typedef LevelSetContainerBaseCache< key_t, container_t > Base
 
typedef Base::const_iterator const_iterator
 
typedef Base::const_reference const_reference
 
typedef Base::container_type container_type
 
typedef Base::iterator iterator
 
typedef Base::key_type key_type
 
typedef Base::reference reference
 
typedef Base::value_type value_type
 
- Public Types inherited from bitpit::LevelSetContainerBaseCache< key_t, container_t, value_t, reference_t, const_reference_t >
typedef container_t::const_iterator const_iterator
 
typedef const_reference_t const_reference
 
typedef container_t container_type
 
typedef LevelSetValueCache< key_t, value_t >::Entry Entry
 
typedef container_t::iterator iterator
 
typedef const key_t & key_type
 
typedef reference_t reference
 
typedef value_t value_type
 
- Public Types inherited from bitpit::LevelSetValueCache< key_t, value_t >
typedef LevelSetValueCacheEntry< value_t > Entry
 

Additional Inherited Members

- Public Member Functions inherited from bitpit::LevelSetContainerBaseCache< key_t, container_t, value_t, reference_t, const_reference_t >
reference at (const key_t &key)
 
const_reference at (const key_t &key) const
 
iterator begin ()
 
const_iterator begin () const
 
const_iterator cbegin () const
 
const_iterator cend () const
 
bool contains (const key_t &key) const override
 
iterator end ()
 
const_iterator end () const
 
virtual const_iterator find (const key_t &key) const =0
 
virtual iterator find (const key_t &key)=0
 
Entry findEntry (const key_t &key) const override
 
std::size_t getEntryBinarySize () const override
 
virtual iterator insert (const key_t &key, const value_t &value)=0
 
virtual iterator insert (const key_t &key, value_t &&value)=0
 
Entry insertEntry (const key_t &key, const value_t &value) override
 
Entry insertEntry (const key_t &key, value_t &&value) override
 
reference operator[] (const key_t &key)
 
const_reference operator[] (const key_t &key) const
 
void readBuffer (const std::vector< key_t > &ids, RecvBuffer &buffer) override
 
void writeBuffer (const std::vector< key_t > &ids, SendBuffer &buffer) const override
 
- Public Member Functions inherited from bitpit::LevelSetCache< key_t >
virtual void clear ()=0
 
virtual std::unique_ptr< LevelSetCache< key_t > > clone () const =0
 
virtual void dump (std::ostream &stream)=0
 
virtual std::size_t erase (const key_t &key)=0
 
template<typename Keys >
std::size_t erase (const Keys &keys)
 
virtual bool isVolatile () const =0
 
virtual void reserve (std::size_t n)=0
 
virtual void restore (std::istream &stream)=0
 
virtual void shrink_to_fit ()=0
 
- Protected Member Functions inherited from bitpit::LevelSetContainerBaseCache< key_t, container_t, value_t, reference_t, const_reference_t >
template<typename... Args>
 LevelSetContainerBaseCache (Args &&... args)
 
virtual key_t getKey (const const_iterator &itr) const =0
 
virtual const_reference getValue (const const_iterator &itr) const =0
 
virtual reference getValue (const iterator &itr) const =0
 
- Protected Attributes inherited from bitpit::LevelSetContainerBaseCache< key_t, container_t, value_t, reference_t, const_reference_t >
container_t m_container
 

Detailed Description

template<typename key_t, typename container_t>
class bitpit::LevelSetContainerCache< key_t, container_t >

The class LevelSetContainerCache is the class for defining caches that stores the values inside a container owned by them.

Definition at line 242 of file levelSetCache.hpp.

Member Typedef Documentation

◆ Base

template<typename key_t , typename container_t >
typedef LevelSetContainerBaseCache<key_t, container_t> bitpit::LevelSetContainerCache< key_t, container_t >::Base

Definition at line 245 of file levelSetCache.hpp.

◆ const_iterator

template<typename key_t , typename container_t >
typedef Base::const_iterator bitpit::LevelSetContainerCache< key_t, container_t >::const_iterator

Definition at line 252 of file levelSetCache.hpp.

◆ const_reference

template<typename key_t , typename container_t >
typedef Base::const_reference bitpit::LevelSetContainerCache< key_t, container_t >::const_reference

Definition at line 255 of file levelSetCache.hpp.

◆ container_type

template<typename key_t , typename container_t >
typedef Base::container_type bitpit::LevelSetContainerCache< key_t, container_t >::container_type

Definition at line 249 of file levelSetCache.hpp.

◆ iterator

template<typename key_t , typename container_t >
typedef Base::iterator bitpit::LevelSetContainerCache< key_t, container_t >::iterator

Definition at line 251 of file levelSetCache.hpp.

◆ key_type

template<typename key_t , typename container_t >
typedef Base::key_type bitpit::LevelSetContainerCache< key_t, container_t >::key_type

Definition at line 247 of file levelSetCache.hpp.

◆ reference

template<typename key_t , typename container_t >
typedef Base::reference bitpit::LevelSetContainerCache< key_t, container_t >::reference

Definition at line 254 of file levelSetCache.hpp.

◆ value_type

template<typename key_t , typename container_t >
typedef Base::value_type bitpit::LevelSetContainerCache< key_t, container_t >::value_type

Definition at line 248 of file levelSetCache.hpp.


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