ROSE  0.11.27.0
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 80 of file Tracker.h.

#include <Tracker.h>

Inheritance diagram for Sawyer::Container::TrackerTraits< Key >:
Inheritance graph
[legend]

Public Types

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

Member Typedef Documentation

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 87 of file Tracker.h.


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