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

Description

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

Set-based index referenced by TrackerTraits.

This is the default index and supports O(log N) lookups and insertions. The Key type must be copyable and have a less-than comparison.

Definition at line 24 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::TrackerSetIndex< Key >::clear ( )
inline

Definition at line 27 of file Tracker.h.

◆ exists()

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

Definition at line 30 of file Tracker.h.

◆ insert()

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

Definition at line 33 of file Tracker.h.


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