ROSE 0.11.145.192
Public Member Functions | List of all members
Sawyer::Container::TrackerUnorderedIndex< Key > Class Template Reference

Description

template<class Key>
class Sawyer::Container::TrackerUnorderedIndex< Key >

Hash-based index referenced by TrackerTraits.

This index type supports O(1) lookups and amortized O(1) insertions. The Key type must be suitable for use by boost::unordered_set.

Definition at line 66 of file Tracker.h.

#include <Sawyer/Tracker.h>

Public Member Functions

void clear ()
 
bool exists (const Key &key) const
 
bool insert (const Key &key)
 

Member Function Documentation

◆ clear()

template<class Key >
void Sawyer::Container::TrackerUnorderedIndex< Key >::clear ( )
inline

Definition at line 69 of file Tracker.h.

◆ exists()

template<class Key >
bool Sawyer::Container::TrackerUnorderedIndex< Key >::exists ( const Key &  key) const
inline

Definition at line 72 of file Tracker.h.

◆ insert()

template<class Key >
bool Sawyer::Container::TrackerUnorderedIndex< Key >::insert ( const Key &  key)
inline

Definition at line 75 of file Tracker.h.


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