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

#include <tm_list_set.hpp>

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

Public Member Functions

TRANSACTION_SAFE void insert (const T item)
 
TRANSACTION_SAFE void remove (const T item)
 
bool lookup (const T item)
 
void apply_to_all (void(*f)(T item))
 
 tm_list_set ()
 
virtual ~tm_list_set ()
 
int size () const
 
- Public Member Functions inherited from tm_set< T >
virtual ~tm_set ()
 

Private Member Functions

 tm_list_set (const tm_list_set &)
 
tm_list_setoperator= (const tm_list_set &)
 

Private Attributes

LLNode< T > * head_node
 

Detailed Description

template<typename T>
class tm_list_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 >
tm_list_set< T >::tm_list_set ( const tm_list_set< T > &  )
private
template<typename T >
tm_list_set< T >::tm_list_set ( )
inline
template<typename T >
virtual tm_list_set< T >::~tm_list_set ( )
inlinevirtual

Member Function Documentation

template<typename T >
void tm_list_set< T >::apply_to_all ( void(*)(T item)  f)
inlinevirtual

Implements tm_set< T >.

template<typename T >
TRANSACTION_SAFE void tm_list_set< T >::insert ( const T  item)
inlinevirtual

Implements tm_set< T >.

template<typename T >
bool tm_list_set< T >::lookup ( const T  item)
inlinevirtual

Implements tm_set< T >.

template<typename T >
tm_list_set& tm_list_set< T >::operator= ( const tm_list_set< T > &  )
private
template<typename T >
TRANSACTION_SAFE void tm_list_set< T >::remove ( const T  item)
inlinevirtual

Implements tm_set< T >.

template<typename T >
int tm_list_set< T >::size ( ) const
inline

Member Data Documentation

template<typename T >
LLNode<T>* tm_list_set< T >::head_node
private

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