OWBI1::SortedVectorSet< T, Compare > Class Template Reference

#include <OWBI1_SortedVectorSet.hpp>

List of all members.

Public Types

typedef T key_type
typedef T data_type
typedef T value_type
typedef Compare key_compare
typedef Compare value_compare
typedef container_t::pointer pointer
typedef container_t::const_pointer const_pointer
typedef container_t::reference reference
typedef container_t::const_reference const_reference
typedef container_t::iterator iterator
typedef container_t::const_iterator const_iterator
typedef container_t::reverse_iterator reverse_iterator
typedef container_t::const_reverse_iterator const_reverse_iterator
typedef container_t::size_type size_type
typedef container_t::difference_type difference_type

Public Member Functions

 SortedVectorSet ()
 SortedVectorSet (container_t *toWrap)
template<class InputIterator>
 SortedVectorSet (InputIterator first, InputIterator last)
const_iterator begin () const
const_iterator end () const
const_reverse_iterator rbegin () const
const_reverse_iterator rend () const
bool empty () const
size_type size () const
size_type max_size () const
void swap (SortedVectorSet< T, Compare > &x)
std::pair< iterator, bool > insert (const value_type &x)
iterator insert (iterator, const value_type &x)
template<class InputIterator>
void insert (InputIterator first, InputIterator last)
void erase (iterator position)
size_type erase (const key_type &x)
void erase (iterator first, iterator last)
void clear ()
iterator find (const key_type &x)
const_iterator find (const key_type &x) const
size_type count (const key_type &x) const
iterator lower_bound (const key_type &x)
const_iterator lower_bound (const key_type &x) const
iterator upper_bound (const key_type &x)
const_iterator upper_bound (const key_type &x) const
std::pair< iterator, iteratorequal_range (const key_type &x)
std::pair< const_iterator,
const_iterator
equal_range (const key_type &x) const

Private Types

typedef std::vector< T > container_t

Private Member Functions

bool equivalent (const key_type &x, const key_type &y) const

Private Attributes

COWReference< container_tm_impl

Friends

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


Detailed Description

template<class T, class Compare = std::less<T>>
class OWBI1::SortedVectorSet< T, Compare >

Definition at line 59 of file OWBI1_SortedVectorSet.hpp.


Member Typedef Documentation

template<class T, class Compare = std::less<T>>
typedef container_t::const_iterator OWBI1::SortedVectorSet< T, Compare >::const_iterator
 

Definition at line 81 of file OWBI1_SortedVectorSet.hpp.

template<class T, class Compare = std::less<T>>
typedef container_t::const_pointer OWBI1::SortedVectorSet< T, Compare >::const_pointer
 

Definition at line 77 of file OWBI1_SortedVectorSet.hpp.

template<class T, class Compare = std::less<T>>
typedef container_t::const_reference OWBI1::SortedVectorSet< T, Compare >::const_reference
 

Definition at line 79 of file OWBI1_SortedVectorSet.hpp.

template<class T, class Compare = std::less<T>>
typedef container_t::const_reverse_iterator OWBI1::SortedVectorSet< T, Compare >::const_reverse_iterator
 

Definition at line 83 of file OWBI1_SortedVectorSet.hpp.

template<class T, class Compare = std::less<T>>
typedef std::vector<T> OWBI1::SortedVectorSet< T, Compare >::container_t [private]
 

Definition at line 61 of file OWBI1_SortedVectorSet.hpp.

template<class T, class Compare = std::less<T>>
typedef T OWBI1::SortedVectorSet< T, Compare >::data_type
 

Definition at line 72 of file OWBI1_SortedVectorSet.hpp.

template<class T, class Compare = std::less<T>>
typedef container_t::difference_type OWBI1::SortedVectorSet< T, Compare >::difference_type
 

Definition at line 85 of file OWBI1_SortedVectorSet.hpp.

template<class T, class Compare = std::less<T>>
typedef container_t::iterator OWBI1::SortedVectorSet< T, Compare >::iterator
 

Definition at line 80 of file OWBI1_SortedVectorSet.hpp.

template<class T, class Compare = std::less<T>>
typedef Compare OWBI1::SortedVectorSet< T, Compare >::key_compare
 

Definition at line 74 of file OWBI1_SortedVectorSet.hpp.

template<class T, class Compare = std::less<T>>
typedef T OWBI1::SortedVectorSet< T, Compare >::key_type
 

Definition at line 71 of file OWBI1_SortedVectorSet.hpp.

template<class T, class Compare = std::less<T>>
typedef container_t::pointer OWBI1::SortedVectorSet< T, Compare >::pointer
 

Definition at line 76 of file OWBI1_SortedVectorSet.hpp.

template<class T, class Compare = std::less<T>>
typedef container_t::reference OWBI1::SortedVectorSet< T, Compare >::reference
 

Definition at line 78 of file OWBI1_SortedVectorSet.hpp.

template<class T, class Compare = std::less<T>>
typedef container_t::reverse_iterator OWBI1::SortedVectorSet< T, Compare >::reverse_iterator
 

Definition at line 82 of file OWBI1_SortedVectorSet.hpp.

template<class T, class Compare = std::less<T>>
typedef container_t::size_type OWBI1::SortedVectorSet< T, Compare >::size_type
 

Definition at line 84 of file OWBI1_SortedVectorSet.hpp.

template<class T, class Compare = std::less<T>>
typedef Compare OWBI1::SortedVectorSet< T, Compare >::value_compare
 

Definition at line 75 of file OWBI1_SortedVectorSet.hpp.

template<class T, class Compare = std::less<T>>
typedef T OWBI1::SortedVectorSet< T, Compare >::value_type
 

Definition at line 73 of file OWBI1_SortedVectorSet.hpp.


Constructor & Destructor Documentation

template<class T, class Compare = std::less<T>>
OWBI1::SortedVectorSet< T, Compare >::SortedVectorSet  )  [inline]
 

Definition at line 86 of file OWBI1_SortedVectorSet.hpp.

template<class T, class Compare = std::less<T>>
OWBI1::SortedVectorSet< T, Compare >::SortedVectorSet container_t toWrap  )  [inline, explicit]
 

Definition at line 87 of file OWBI1_SortedVectorSet.hpp.

template<class T, class Compare = std::less<T>>
template<class InputIterator>
OWBI1::SortedVectorSet< T, Compare >::SortedVectorSet InputIterator  first,
InputIterator  last
[inline]
 

Definition at line 90 of file OWBI1_SortedVectorSet.hpp.


Member Function Documentation

template<class T, class Compare = std::less<T>>
const_iterator OWBI1::SortedVectorSet< T, Compare >::begin  )  const [inline]
 

Definition at line 95 of file OWBI1_SortedVectorSet.hpp.

template<class T, class Compare = std::less<T>>
void OWBI1::SortedVectorSet< T, Compare >::clear  )  [inline]
 

Definition at line 154 of file OWBI1_SortedVectorSet.hpp.

template<class T, class Compare = std::less<T>>
size_type OWBI1::SortedVectorSet< T, Compare >::count const key_type x  )  const [inline]
 

Definition at line 182 of file OWBI1_SortedVectorSet.hpp.

template<class T, class Compare = std::less<T>>
bool OWBI1::SortedVectorSet< T, Compare >::empty  )  const [inline]
 

Definition at line 99 of file OWBI1_SortedVectorSet.hpp.

template<class T, class Compare = std::less<T>>
const_iterator OWBI1::SortedVectorSet< T, Compare >::end  )  const [inline]
 

Definition at line 96 of file OWBI1_SortedVectorSet.hpp.

template<class T, class Compare = std::less<T>>
std::pair<const_iterator, const_iterator> OWBI1::SortedVectorSet< T, Compare >::equal_range const key_type x  )  const [inline]
 

Definition at line 217 of file OWBI1_SortedVectorSet.hpp.

template<class T, class Compare = std::less<T>>
std::pair<iterator, iterator> OWBI1::SortedVectorSet< T, Compare >::equal_range const key_type x  )  [inline]
 

Definition at line 211 of file OWBI1_SortedVectorSet.hpp.

template<class T, class Compare = std::less<T>>
bool OWBI1::SortedVectorSet< T, Compare >::equivalent const key_type x,
const key_type y
const [inline, private]
 

Definition at line 228 of file OWBI1_SortedVectorSet.hpp.

Referenced by OWBI1::SortedVectorSet< CIMName >::insert().

template<class T, class Compare = std::less<T>>
void OWBI1::SortedVectorSet< T, Compare >::erase iterator  first,
iterator  last
[inline]
 

Definition at line 150 of file OWBI1_SortedVectorSet.hpp.

template<class T, class Compare = std::less<T>>
size_type OWBI1::SortedVectorSet< T, Compare >::erase const key_type x  )  [inline]
 

Definition at line 137 of file OWBI1_SortedVectorSet.hpp.

template<class T, class Compare = std::less<T>>
void OWBI1::SortedVectorSet< T, Compare >::erase iterator  position  )  [inline]
 

Definition at line 133 of file OWBI1_SortedVectorSet.hpp.

template<class T, class Compare = std::less<T>>
const_iterator OWBI1::SortedVectorSet< T, Compare >::find const key_type x  )  const [inline]
 

Definition at line 170 of file OWBI1_SortedVectorSet.hpp.

template<class T, class Compare = std::less<T>>
iterator OWBI1::SortedVectorSet< T, Compare >::find const key_type x  )  [inline]
 

Definition at line 158 of file OWBI1_SortedVectorSet.hpp.

template<class T, class Compare = std::less<T>>
template<class InputIterator>
void OWBI1::SortedVectorSet< T, Compare >::insert InputIterator  first,
InputIterator  last
[inline]
 

Definition at line 125 of file OWBI1_SortedVectorSet.hpp.

template<class T, class Compare = std::less<T>>
iterator OWBI1::SortedVectorSet< T, Compare >::insert iterator  ,
const value_type x
[inline]
 

Definition at line 118 of file OWBI1_SortedVectorSet.hpp.

template<class T, class Compare = std::less<T>>
std::pair<iterator, bool> OWBI1::SortedVectorSet< T, Compare >::insert const value_type x  )  [inline]
 

Definition at line 106 of file OWBI1_SortedVectorSet.hpp.

template<class T, class Compare = std::less<T>>
const_iterator OWBI1::SortedVectorSet< T, Compare >::lower_bound const key_type x  )  const [inline]
 

Definition at line 197 of file OWBI1_SortedVectorSet.hpp.

template<class T, class Compare = std::less<T>>
iterator OWBI1::SortedVectorSet< T, Compare >::lower_bound const key_type x  )  [inline]
 

Definition at line 193 of file OWBI1_SortedVectorSet.hpp.

template<class T, class Compare = std::less<T>>
size_type OWBI1::SortedVectorSet< T, Compare >::max_size  )  const [inline]
 

Definition at line 101 of file OWBI1_SortedVectorSet.hpp.

template<class T, class Compare = std::less<T>>
const_reverse_iterator OWBI1::SortedVectorSet< T, Compare >::rbegin  )  const [inline]
 

Definition at line 97 of file OWBI1_SortedVectorSet.hpp.

template<class T, class Compare = std::less<T>>
const_reverse_iterator OWBI1::SortedVectorSet< T, Compare >::rend  )  const [inline]
 

Definition at line 98 of file OWBI1_SortedVectorSet.hpp.

template<class T, class Compare = std::less<T>>
size_type OWBI1::SortedVectorSet< T, Compare >::size  )  const [inline]
 

Definition at line 100 of file OWBI1_SortedVectorSet.hpp.

template<class T, class Compare = std::less<T>>
void OWBI1::SortedVectorSet< T, Compare >::swap SortedVectorSet< T, Compare > &  x  )  [inline]
 

Definition at line 102 of file OWBI1_SortedVectorSet.hpp.

Referenced by OWBI1::swap().

template<class T, class Compare = std::less<T>>
const_iterator OWBI1::SortedVectorSet< T, Compare >::upper_bound const key_type x  )  const [inline]
 

Definition at line 205 of file OWBI1_SortedVectorSet.hpp.

template<class T, class Compare = std::less<T>>
iterator OWBI1::SortedVectorSet< T, Compare >::upper_bound const key_type x  )  [inline]
 

Definition at line 201 of file OWBI1_SortedVectorSet.hpp.


Friends And Related Function Documentation

template<class T, class Compare = std::less<T>>
bool operator< const SortedVectorSet< T, Compare > &  x,
const SortedVectorSet< T, Compare > &  y
[friend]
 

template<class T, class Compare = std::less<T>>
bool operator== const SortedVectorSet< T, Compare > &  x,
const SortedVectorSet< T, Compare > &  y
[friend]
 


Member Data Documentation

template<class T, class Compare = std::less<T>>
COWReference<container_t> OWBI1::SortedVectorSet< T, Compare >::m_impl [private]
 

Definition at line 66 of file OWBI1_SortedVectorSet.hpp.

Referenced by OWBI1::SortedVectorSet< CIMName >::begin(), OWBI1::SortedVectorSet< CIMName >::empty(), OWBI1::SortedVectorSet< CIMName >::end(), OWBI1::SortedVectorSet< CIMName >::insert(), OWBI1::SortedVectorSet< CIMName >::max_size(), OWBI1::operator==(), OWBI1::SortedVectorSet< CIMName >::rbegin(), OWBI1::SortedVectorSet< CIMName >::rend(), OWBI1::SortedVectorSet< CIMName >::size(), OWBI1::SortedVectorSet< CIMName >::SortedVectorSet(), and OWBI1::SortedVectorSet< CIMName >::swap().


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