tlds
Transactional Operations for Linked Data Structures
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
tm_set< T > Class Template Referenceabstract

#include <tm_set.hpp>

Inheritance diagram for tm_set< T >:
Collaboration diagram for tm_set< T >:

Public Member Functions

virtual void insert (const T item)=0
 
virtual void remove (const T item)=0
 
virtual bool lookup (const T item)=0
 
virtual void apply_to_all (void(*f)(T item))=0
 
virtual ~tm_set ()
 

Detailed Description

template<typename T>
class tm_set< T >

Copyright (C) 2011 University of Rochester Department of Computer Science and Lehigh University Department of Computer Science and Engineering

License: Modified BSD Please see the file LICENSE.RSTM for licensing information

Constructor & Destructor Documentation

template<typename T >
virtual tm_set< T >::~tm_set ( )
inlinevirtual

Member Function Documentation

template<typename T >
virtual void tm_set< T >::apply_to_all ( void(*)(T item)  f)
pure virtual

Implemented in tm_list_set< T >, and tm_hash_set< T >.

template<typename T >
virtual void tm_set< T >::insert ( const T  item)
pure virtual

Implemented in tm_list_set< T >, and tm_hash_set< T >.

template<typename T >
virtual bool tm_set< T >::lookup ( const T  item)
pure virtual

Implemented in tm_list_set< T >, and tm_hash_set< T >.

template<typename T >
virtual void tm_set< T >::remove ( const T  item)
pure virtual

Implemented in tm_list_set< T >, and tm_hash_set< T >.


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