OW_NAMESPACE::List< T > Class Template Reference

This class is a wrapper around std::list<> and adds COW capabilities. More...

#include <OW_List.hpp>

Collaboration diagram for OW_NAMESPACE::List< T >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef L::value_type value_type
typedef L::pointer pointer
typedef L::const_pointer const_pointer
typedef L::reference reference
typedef L::const_reference const_reference
typedef L::size_type size_type
typedef L::difference_type difference_type
typedef L::iterator iterator
typedef L::const_iterator const_iterator
typedef L::reverse_iterator reverse_iterator
typedef L::const_reverse_iterator const_reverse_iterator

Public Member Functions

 List ()
 List (L *toWrap)
template<class InputIterator>
 List (InputIterator first, InputIterator last)
 List (size_type n, const T &value)
 List (int n, const T &value)
 List (long n, const T &value)
 List (size_type n)
LgetImpl ()
iterator begin ()
const_iterator begin () const
iterator end ()
const_iterator end () const
reverse_iterator rbegin ()
const_reverse_iterator rbegin () const
reverse_iterator rend ()
const_reverse_iterator rend () const
bool empty () const
size_type size () const
size_type max_size () const
reference front ()
const_reference front () const
reference back ()
const_reference back () const
void swap (List< T > &x)
iterator insert (iterator position, const T &x)
iterator insert (iterator position)
template<class InputIterator>
void insert (iterator position, InputIterator first, InputIterator last)
void insert (iterator pos, size_type n, const T &x)
void insert (iterator pos, int n, const T &x)
void insert (iterator pos, long n, const T &x)
void push_front (const T &x)
void push_back (const T &x)
iterator erase (iterator position)
iterator erase (iterator first, iterator last)
void resize (size_type new_size, const T &x)
void resize (size_type new_size)
void clear ()
void pop_front ()
void pop_back ()
void splice (iterator position, List &x)
void splice (iterator position, List &x, iterator i)
void splice (iterator position, List &x, iterator first, iterator last)
void remove (const T &value)
void unique ()
void merge (List &x)
void reverse ()
void sort ()
template<class Predicate>
void remove_if (Predicate p)
template<class BinaryPredicate>
void unique (BinaryPredicate bp)
template<class StrictWeakOrdering>
void merge (List &x, StrictWeakOrdering swo)
template<class StrictWeakOrdering>
void sort (StrictWeakOrdering swo)

Private Types

typedef std::list< T > L

Private Attributes

COWReference< Lm_impl

Friends

bool operator== (const List< T > &x, const List< T > &y)
bool operator< (const List< T > &x, const List< T > &y)

Detailed Description

template<class T>
class OW_NAMESPACE::List< T >

This class is a wrapper around std::list<> and adds COW capabilities.

Definition at line 58 of file OW_List.hpp.


Member Typedef Documentation

template<class T>
typedef L::const_iterator OW_NAMESPACE::List< T >::const_iterator
 

Definition at line 72 of file OW_List.hpp.

template<class T>
typedef L::const_pointer OW_NAMESPACE::List< T >::const_pointer
 

Definition at line 66 of file OW_List.hpp.

template<class T>
typedef L::const_reference OW_NAMESPACE::List< T >::const_reference
 

Definition at line 68 of file OW_List.hpp.

template<class T>
typedef L::const_reverse_iterator OW_NAMESPACE::List< T >::const_reverse_iterator
 

Definition at line 74 of file OW_List.hpp.

template<class T>
typedef L::difference_type OW_NAMESPACE::List< T >::difference_type
 

Definition at line 70 of file OW_List.hpp.

template<class T>
typedef L::iterator OW_NAMESPACE::List< T >::iterator
 

Definition at line 71 of file OW_List.hpp.

template<class T>
typedef std::list<T> OW_NAMESPACE::List< T >::L [private]
 

Definition at line 61 of file OW_List.hpp.

template<class T>
typedef L::pointer OW_NAMESPACE::List< T >::pointer
 

Definition at line 65 of file OW_List.hpp.

template<class T>
typedef L::reference OW_NAMESPACE::List< T >::reference
 

Definition at line 67 of file OW_List.hpp.

template<class T>
typedef L::reverse_iterator OW_NAMESPACE::List< T >::reverse_iterator
 

Definition at line 73 of file OW_List.hpp.

template<class T>
typedef L::size_type OW_NAMESPACE::List< T >::size_type
 

Definition at line 69 of file OW_List.hpp.

template<class T>
typedef L::value_type OW_NAMESPACE::List< T >::value_type
 

Definition at line 64 of file OW_List.hpp.


Constructor & Destructor Documentation

template<class T>
OW_NAMESPACE::List< T >::List  )  [inline]
 

Definition at line 75 of file OW_List.hpp.

template<class T>
OW_NAMESPACE::List< T >::List L toWrap  )  [inline, explicit]
 

Definition at line 76 of file OW_List.hpp.

template<class T>
template<class InputIterator>
OW_NAMESPACE::List< T >::List InputIterator  first,
InputIterator  last
[inline]
 

Definition at line 79 of file OW_List.hpp.

template<class T>
OW_NAMESPACE::List< T >::List size_type  n,
const T &  value
[inline]
 

Definition at line 82 of file OW_List.hpp.

template<class T>
OW_NAMESPACE::List< T >::List int  n,
const T &  value
[inline]
 

Definition at line 85 of file OW_List.hpp.

template<class T>
OW_NAMESPACE::List< T >::List long  n,
const T &  value
[inline]
 

Definition at line 88 of file OW_List.hpp.

template<class T>
OW_NAMESPACE::List< T >::List size_type  n  )  [inline, explicit]
 

Definition at line 91 of file OW_List.hpp.


Member Function Documentation

template<class T>
const_reference OW_NAMESPACE::List< T >::back  )  const [inline]
 

Definition at line 154 of file OW_List.hpp.

template<class T>
reference OW_NAMESPACE::List< T >::back  )  [inline]
 

Definition at line 150 of file OW_List.hpp.

template<class T>
const_iterator OW_NAMESPACE::List< T >::begin  )  const [inline]
 

Definition at line 102 of file OW_List.hpp.

template<class T>
iterator OW_NAMESPACE::List< T >::begin  )  [inline]
 

Definition at line 98 of file OW_List.hpp.

template<class T>
void OW_NAMESPACE::List< T >::clear  )  [inline]
 

Definition at line 211 of file OW_List.hpp.

Referenced by OW_NAMESPACE::IndicationServerImplThread::shutdown().

template<class T>
bool OW_NAMESPACE::List< T >::empty  )  const [inline]
 

Definition at line 130 of file OW_List.hpp.

Referenced by OW_NAMESPACE::IndicationServerImplThread::run().

template<class T>
const_iterator OW_NAMESPACE::List< T >::end  )  const [inline]
 

Definition at line 110 of file OW_List.hpp.

template<class T>
iterator OW_NAMESPACE::List< T >::end  )  [inline]
 

Definition at line 106 of file OW_List.hpp.

template<class T>
iterator OW_NAMESPACE::List< T >::erase iterator  first,
iterator  last
[inline]
 

Definition at line 199 of file OW_List.hpp.

template<class T>
iterator OW_NAMESPACE::List< T >::erase iterator  position  )  [inline]
 

Definition at line 195 of file OW_List.hpp.

template<class T>
const_reference OW_NAMESPACE::List< T >::front  )  const [inline]
 

Definition at line 146 of file OW_List.hpp.

template<class T>
reference OW_NAMESPACE::List< T >::front  )  [inline]
 

Definition at line 142 of file OW_List.hpp.

Referenced by OW_NAMESPACE::IndicationServerImplThread::run().

template<class T>
L* OW_NAMESPACE::List< T >::getImpl  )  [inline]
 

Definition at line 94 of file OW_List.hpp.

template<class T>
void OW_NAMESPACE::List< T >::insert iterator  pos,
long  n,
const T &  x
[inline]
 

Definition at line 183 of file OW_List.hpp.

template<class T>
void OW_NAMESPACE::List< T >::insert iterator  pos,
int  n,
const T &  x
[inline]
 

Definition at line 179 of file OW_List.hpp.

template<class T>
void OW_NAMESPACE::List< T >::insert iterator  pos,
size_type  n,
const T &  x
[inline]
 

Definition at line 175 of file OW_List.hpp.

template<class T>
template<class InputIterator>
void OW_NAMESPACE::List< T >::insert iterator  position,
InputIterator  first,
InputIterator  last
[inline]
 

Definition at line 171 of file OW_List.hpp.

template<class T>
iterator OW_NAMESPACE::List< T >::insert iterator  position  )  [inline]
 

Definition at line 166 of file OW_List.hpp.

template<class T>
iterator OW_NAMESPACE::List< T >::insert iterator  position,
const T &  x
[inline]
 

Definition at line 162 of file OW_List.hpp.

template<class T>
size_type OW_NAMESPACE::List< T >::max_size  )  const [inline]
 

Definition at line 138 of file OW_List.hpp.

template<class T>
template<class StrictWeakOrdering>
void OW_NAMESPACE::List< T >::merge List< T > &  x,
StrictWeakOrdering  swo
[inline]
 

Definition at line 263 of file OW_List.hpp.

template<class T>
void OW_NAMESPACE::List< T >::merge List< T > &  x  )  [inline]
 

Definition at line 243 of file OW_List.hpp.

template<class T>
void OW_NAMESPACE::List< T >::pop_back  )  [inline]
 

Definition at line 219 of file OW_List.hpp.

template<class T>
void OW_NAMESPACE::List< T >::pop_front  )  [inline]
 

Definition at line 215 of file OW_List.hpp.

Referenced by OW_NAMESPACE::IndicationServerImplThread::run().

template<class T>
void OW_NAMESPACE::List< T >::push_back const T &  x  )  [inline]
 

Definition at line 191 of file OW_List.hpp.

Referenced by OW_NAMESPACE::IndicationServerImplThread::processIndication().

template<class T>
void OW_NAMESPACE::List< T >::push_front const T &  x  )  [inline]
 

Definition at line 187 of file OW_List.hpp.

template<class T>
const_reverse_iterator OW_NAMESPACE::List< T >::rbegin  )  const [inline]
 

Definition at line 118 of file OW_List.hpp.

template<class T>
reverse_iterator OW_NAMESPACE::List< T >::rbegin  )  [inline]
 

Definition at line 114 of file OW_List.hpp.

template<class T>
void OW_NAMESPACE::List< T >::remove const T &  value  )  [inline]
 

Definition at line 235 of file OW_List.hpp.

template<class T>
template<class Predicate>
void OW_NAMESPACE::List< T >::remove_if Predicate  p  )  [inline]
 

Definition at line 255 of file OW_List.hpp.

template<class T>
const_reverse_iterator OW_NAMESPACE::List< T >::rend  )  const [inline]
 

Definition at line 126 of file OW_List.hpp.

template<class T>
reverse_iterator OW_NAMESPACE::List< T >::rend  )  [inline]
 

Definition at line 122 of file OW_List.hpp.

template<class T>
void OW_NAMESPACE::List< T >::resize size_type  new_size  )  [inline]
 

Definition at line 207 of file OW_List.hpp.

template<class T>
void OW_NAMESPACE::List< T >::resize size_type  new_size,
const T &  x
[inline]
 

Definition at line 203 of file OW_List.hpp.

template<class T>
void OW_NAMESPACE::List< T >::reverse  )  [inline]
 

Definition at line 247 of file OW_List.hpp.

template<class T>
size_type OW_NAMESPACE::List< T >::size  )  const [inline]
 

Definition at line 134 of file OW_List.hpp.

template<class T>
template<class StrictWeakOrdering>
void OW_NAMESPACE::List< T >::sort StrictWeakOrdering  swo  )  [inline]
 

Definition at line 268 of file OW_List.hpp.

template<class T>
void OW_NAMESPACE::List< T >::sort  )  [inline]
 

Definition at line 251 of file OW_List.hpp.

template<class T>
void OW_NAMESPACE::List< T >::splice iterator  position,
List< T > &  x,
iterator  first,
iterator  last
[inline]
 

Definition at line 231 of file OW_List.hpp.

template<class T>
void OW_NAMESPACE::List< T >::splice iterator  position,
List< T > &  x,
iterator  i
[inline]
 

Definition at line 227 of file OW_List.hpp.

template<class T>
void OW_NAMESPACE::List< T >::splice iterator  position,
List< T > &  x
[inline]
 

Definition at line 223 of file OW_List.hpp.

template<class T>
void OW_NAMESPACE::List< T >::swap List< T > &  x  )  [inline]
 

Definition at line 158 of file OW_List.hpp.

Referenced by OW_NAMESPACE::swap().

template<class T>
template<class BinaryPredicate>
void OW_NAMESPACE::List< T >::unique BinaryPredicate  bp  )  [inline]
 

Definition at line 259 of file OW_List.hpp.

template<class T>
void OW_NAMESPACE::List< T >::unique  )  [inline]
 

Definition at line 239 of file OW_List.hpp.


Friends And Related Function Documentation

template<class T>
bool operator< const List< T > &  x,
const List< T > &  y
[friend]
 

template<class T>
bool operator== const List< T > &  x,
const List< T > &  y
[friend]
 


Member Data Documentation

template<class T>
COWReference<L> OW_NAMESPACE::List< T >::m_impl [private]
 

Definition at line 62 of file OW_List.hpp.

Referenced by OW_NAMESPACE::List< MOFProduction * >::back(), OW_NAMESPACE::List< MOFProduction * >::begin(), OW_NAMESPACE::List< MOFProduction * >::clear(), OW_NAMESPACE::List< MOFProduction * >::empty(), OW_NAMESPACE::List< MOFProduction * >::end(), OW_NAMESPACE::List< MOFProduction * >::erase(), OW_NAMESPACE::List< MOFProduction * >::front(), OW_NAMESPACE::List< MOFProduction * >::getImpl(), OW_NAMESPACE::List< MOFProduction * >::insert(), OW_NAMESPACE::List< MOFProduction * >::max_size(), OW_NAMESPACE::List< MOFProduction * >::merge(), OW_NAMESPACE::operator==(), OW_NAMESPACE::List< MOFProduction * >::pop_back(), OW_NAMESPACE::List< MOFProduction * >::pop_front(), OW_NAMESPACE::List< MOFProduction * >::push_back(), OW_NAMESPACE::List< MOFProduction * >::push_front(), OW_NAMESPACE::List< MOFProduction * >::rbegin(), OW_NAMESPACE::List< MOFProduction * >::remove(), OW_NAMESPACE::List< MOFProduction * >::remove_if(), OW_NAMESPACE::List< MOFProduction * >::rend(), OW_NAMESPACE::List< MOFProduction * >::resize(), OW_NAMESPACE::List< MOFProduction * >::reverse(), OW_NAMESPACE::List< MOFProduction * >::size(), OW_NAMESPACE::List< MOFProduction * >::sort(), OW_NAMESPACE::List< MOFProduction * >::splice(), OW_NAMESPACE::List< MOFProduction * >::swap(), and OW_NAMESPACE::List< MOFProduction * >::unique().


The documentation for this class was generated from the following file:
Generated on Thu Feb 9 09:13:55 2006 for openwbem by  doxygen 1.4.6