ROSE 0.11.145.192
Public Types | List of all members
Sawyer::Container::TrackerTraits< Key > Struct Template Reference

Description

template<class Key>
struct Sawyer::Container::TrackerTraits< Key >

Traits for Tracker.

Definition at line 82 of file Tracker.h.

#include <Sawyer/Tracker.h>

Public Types

typedef TrackerSetIndex< Key > Index
 Type of index for storing member keys.
 

Member Typedef Documentation

◆ Index

template<class Key >
typedef TrackerSetIndex<Key> Sawyer::Container::TrackerTraits< Key >::Index

Type of index for storing member keys.

This type should define three member functions: clear that takes no arguments and removes all keys from the index; exists that takes a key and returns true if and only if it is present in the index; and insert that takes a key and inserts it into the index returning true if and only if the key did not previously exist in the index. None of these functions need to be thread safe since they will be synchronized from the Tracker class.

Definition at line 89 of file Tracker.h.


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