libebml_ng
Public Member Functions | List of all members
ebml::seekMapBase Class Referenceabstract

Base class for seek map containers. More...

#include <seekdata.h>

Inheritance diagram for ebml::seekMapBase:
ebml::seekMap< K, H, E, A >

Public Member Functions

 seekMapBase ()
 
virtual ~seekMapBase ()
 
virtual std::wstring repr () const
 
template<typename K , typename H = std::hash<K>, typename E = std::equal_to<K>, typename A = std::allocator<std::pair<const K, seekDataWithKey_t<K>*>>>
seekMap< K, H, E, A > & withKeyType ()
 
template<typename K , typename H = std::hash<K>, typename E = std::equal_to<K>, typename A = std::allocator<std::pair<const K, seekDataWithKey_t<K>*>>>
const seekMap< K, H, E, A > & withKeyType () const
 
template<typename K , typename H = std::hash<K>, typename E = std::equal_to<K>, typename A = std::allocator<std::pair<const K, seekDataWithKey_t<K>*>>>
seekDataWithKey_t< K > *& operator[] (const K &)
 
template<typename K , typename H = std::hash<K>, typename E = std::equal_to<K>, typename A = std::allocator<std::pair<const K, seekDataWithKey_t<K>*>>>
seekDataWithKey_t< K > *& at (const K &)
 
template<typename K , typename H = std::hash<K>, typename E = std::equal_to<K>, typename A = std::allocator<std::pair<const K, seekDataWithKey_t<K>*>>>
seekDataWithKey_t< K > *const & at (const K &) const
 
template<typename K , typename H = std::hash<K>, typename E = std::equal_to<K>, typename A = std::allocator<std::pair<const K, seekDataWithKey_t<K>*>>>
size_t count (const K &) const
 
template<typename K , typename H = std::hash<K>, typename E = std::equal_to<K>, typename A = std::allocator<std::pair<const K, seekDataWithKey_t<K>*>>>
size_t erase (const K &)
 
virtual void add (seekData_t *)=0
 
virtual void rm (seekData_t *)=0
 

Detailed Description

Base class for seek map containers.

Provides a virtual interface for mapping keys to seek data objects.

Constructor & Destructor Documentation

◆ seekMapBase()

ebml::seekMapBase::seekMapBase ( )

◆ ~seekMapBase()

ebml::seekMapBase::~seekMapBase ( )
virtual

Member Function Documentation

◆ add()

virtual void ebml::seekMapBase::add ( seekData_t )
pure virtual

Implemented in ebml::seekMap< K, H, E, A >.

◆ at() [1/2]

template<typename K , typename H = std::hash<K>, typename E = std::equal_to<K>, typename A = std::allocator<std::pair<const K, seekDataWithKey_t<K>*>>>
seekDataWithKey_t<K>*& ebml::seekMapBase::at ( const K &  )

◆ at() [2/2]

template<typename K , typename H = std::hash<K>, typename E = std::equal_to<K>, typename A = std::allocator<std::pair<const K, seekDataWithKey_t<K>*>>>
seekDataWithKey_t<K>* const& ebml::seekMapBase::at ( const K &  ) const

◆ count()

template<typename K , typename H = std::hash<K>, typename E = std::equal_to<K>, typename A = std::allocator<std::pair<const K, seekDataWithKey_t<K>*>>>
size_t ebml::seekMapBase::count ( const K &  ) const

◆ erase()

template<typename K , typename H = std::hash<K>, typename E = std::equal_to<K>, typename A = std::allocator<std::pair<const K, seekDataWithKey_t<K>*>>>
size_t ebml::seekMapBase::erase ( const K &  )

◆ operator[]()

template<typename K , typename H = std::hash<K>, typename E = std::equal_to<K>, typename A = std::allocator<std::pair<const K, seekDataWithKey_t<K>*>>>
seekDataWithKey_t<K>*& ebml::seekMapBase::operator[] ( const K &  )

◆ repr()

std::wstring ebml::seekMapBase::repr ( ) const
virtual

Reimplemented in ebml::seekMap< K, H, E, A >.

◆ rm()

virtual void ebml::seekMapBase::rm ( seekData_t )
pure virtual

Implemented in ebml::seekMap< K, H, E, A >.

◆ withKeyType() [1/2]

template<typename K , typename H = std::hash<K>, typename E = std::equal_to<K>, typename A = std::allocator<std::pair<const K, seekDataWithKey_t<K>*>>>
template seekMap< std::wstring > & ebml::seekMapBase::withKeyType ( )

◆ withKeyType() [2/2]

template<typename K , typename H = std::hash<K>, typename E = std::equal_to<K>, typename A = std::allocator<std::pair<const K, seekDataWithKey_t<K>*>>>
template const seekMap< std::wstring > & ebml::seekMapBase::withKeyType ( ) const

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