Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

base::reflist< _Tp, _Alloc > Class Template Reference

Inheritance diagram for base::reflist< _Tp, _Alloc >:

Inheritance graph
[legend]
Collaboration diagram for base::reflist< _Tp, _Alloc >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef ref< _Tp > value_type
typedef value_typepointer
typedef const value_typeconst_pointer
typedef value_typereference
typedef const value_typeconst_reference
typedef size_t size_type
typedef ptrdiff_t difference_type
typedef _Alloc allocator_type
typedef reflist_type::iterator iterator
typedef reflist_const_type::iterator iterator_const
typedef const_reflist_type::const_iterator const_iterator
typedef const_reflist_const_type::const_iterator const_iterator_const
typedef std::reverse_iterator<
iterator
reverse_iterator
typedef std::reverse_iterator<
iterator_const
reverse_iterator_const
typedef std::reverse_iterator<
const_iterator
const_reverse_iterator
typedef std::reverse_iterator<
const_iterator_const
const_reverse_iterator_const

Public Member Functions

iterator begin ()
const_iterator begin () const
const_iterator_const  const_begin () const
iterator end ()
const_iterator end () const
const_iterator_const  const_end () const
reverse_iterator rbegin ()
const_reverse_iterator rbegin () const
const_reverse_iterator_const  const_rbegin () const
reverse_iterator rend ()
const_reverse_iterator rend () const
const_reverse_iterator_const  const_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 (reflist< _Tp, _Alloc > &__x)
iterator insert (iterator __position, ref< _Tp > __x)
iterator insert (iterator __position)
template<class _InputIterator> void insert (iterator __pos, _InputIterator __first, _InputIterator __last)
void insert (iterator __pos, size_type __n, ref< _Tp > __x)
void push_front (ref< _Tp > __x)
void push_front ()
void push_back (ref< _Tp > __x)
void push_back ()
iterator erase (iterator __position)
iterator erase (iterator __first, iterator __last)
void clear ()
void resize (size_type __new_size, ref< const _Tp > __x)
void resize (size_type __new_size, ref< _Tp > __x)
void resize (size_type __new_size)
void pop_front ()
void pop_back ()
 reflist ()
 reflist (size_type __n, ref< _Tp > __value)
 reflist (size_type __n)
template<class _InputIterator>  reflist (_InputIterator __first, _InputIterator __last)
 reflist (const reflist< _Tp, _Alloc > &__x)
 ~reflist ()
reflist< _Tp, _Alloc > & operator= (const reflist< _Tp, _Alloc > &__x)
void assign (size_type __n, ref< _Tp > __val)
template<class _InputIterator> void assign (_InputIterator __first, _InputIterator __last)
void splice (iterator __position, reflist &__x)
void splice (iterator __position, reflist &__x, iterator __i)
void splice (iterator __position, reflist &__x, iterator __first, iterator __last)
void remove (ref< const _Tp > __value)
void unique ()
void merge (reflist &__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 (reflist &__x, _StrictWeakOrdering swo)
template<class _StrictWeakOrdering> void sort (_StrictWeakOrdering swo)

Protected Types

typedef std::list< ref< _Tp >,
_Alloc > 
reflist_type
typedef std::list< ref< const
_Tp >, _Alloc > 
reflist_const_type
typedef const std::list< ref<
_Tp >, _Alloc > 
const_reflist_type
typedef const std::list< ref<
const _Tp >, _Alloc > 
const_reflist_const_type

Protected Member Functions

reflist_const_typel_const ()
const_reflist_typeconst_l () const
const_reflist_const_typeconst_l_const () const

Protected Attributes

reflist_type l

template<class _Tp, class _Alloc = std::allocator<_Tp>>
class base::reflist< _Tp, _Alloc >


Member Typedef Documentation

template<class _Tp, class _Alloc = std::allocator<_Tp>>
typedef _Alloc base::reflist< _Tp, _Alloc >::allocator_type
 

Definition at line 31 of file reflist.

template<class _Tp, class _Alloc = std::allocator<_Tp>>
typedef const_reflist_type::const_iterator base::reflist< _Tp, _Alloc >::const_iterator
 

Definition at line 35 of file reflist.

template<class _Tp, class _Alloc = std::allocator<_Tp>>
typedef const_reflist_const_type::const_iterator base::reflist< _Tp, _Alloc >::const_iterator_const
 

Definition at line 36 of file reflist.

template<class _Tp, class _Alloc = std::allocator<_Tp>>
typedef const value_type* base::reflist< _Tp, _Alloc >::const_pointer
 

Definition at line 26 of file reflist.

template<class _Tp, class _Alloc = std::allocator<_Tp>>
typedef const value_type& base::reflist< _Tp, _Alloc >::const_reference
 

Definition at line 28 of file reflist.

template<class _Tp, class _Alloc = std::allocator<_Tp>>
typedef const std::list< ref<const _Tp>, _Alloc > base::reflist< _Tp, _Alloc >::const_reflist_const_type [protected]
 

Definition at line 17 of file reflist.

template<class _Tp, class _Alloc = std::allocator<_Tp>>
typedef const std::list< ref<_Tp>, _Alloc > base::reflist< _Tp, _Alloc >::const_reflist_type [protected]
 

Definition at line 16 of file reflist.

template<class _Tp, class _Alloc = std::allocator<_Tp>>
typedef std::reverse_iterator<const_iterator> base::reflist< _Tp, _Alloc >::const_reverse_iterator
 

Definition at line 40 of file reflist.

Referenced by base::reflist< Collidable >::const_rbegin(), base::reflist< Collidable >::const_rend(), base::reflist< Collidable >::rbegin(), and base::reflist< Collidable >::rend().

template<class _Tp, class _Alloc = std::allocator<_Tp>>
typedef std::reverse_iterator<const_iterator_const> base::reflist< _Tp, _Alloc >::const_reverse_iterator_const
 

Definition at line 41 of file reflist.

template<class _Tp, class _Alloc = std::allocator<_Tp>>
typedef ptrdiff_t base::reflist< _Tp, _Alloc >::difference_type
 

Definition at line 30 of file reflist.

template<class _Tp, class _Alloc = std::allocator<_Tp>>
typedef reflist_type::iterator base::reflist< _Tp, _Alloc >::iterator
 

Definition at line 33 of file reflist.

template<class _Tp, class _Alloc = std::allocator<_Tp>>
typedef reflist_const_type::iterator base::reflist< _Tp, _Alloc >::iterator_const
 

Definition at line 34 of file reflist.

template<class _Tp, class _Alloc = std::allocator<_Tp>>
typedef value_type* base::reflist< _Tp, _Alloc >::pointer
 

Definition at line 25 of file reflist.

template<class _Tp, class _Alloc = std::allocator<_Tp>>
typedef value_type& base::reflist< _Tp, _Alloc >::reference
 

Definition at line 27 of file reflist.

template<class _Tp, class _Alloc = std::allocator<_Tp>>
typedef std::list< ref<const _Tp>, _Alloc > base::reflist< _Tp, _Alloc >::reflist_const_type [protected]
 

Definition at line 15 of file reflist.

template<class _Tp, class _Alloc = std::allocator<_Tp>>
typedef std::list< ref<_Tp>, _Alloc > base::reflist< _Tp, _Alloc >::reflist_type [protected]
 

Definition at line 14 of file reflist.

template<class _Tp, class _Alloc = std::allocator<_Tp>>
typedef std::reverse_iterator<iterator> base::reflist< _Tp, _Alloc >::reverse_iterator
 

Definition at line 38 of file reflist.

Referenced by base::reflist< Collidable >::rbegin(), and base::reflist< Collidable >::rend().

template<class _Tp, class _Alloc = std::allocator<_Tp>>
typedef std::reverse_iterator<iterator_const> base::reflist< _Tp, _Alloc >::reverse_iterator_const
 

Definition at line 39 of file reflist.

template<class _Tp, class _Alloc = std::allocator<_Tp>>
typedef size_t base::reflist< _Tp, _Alloc >::size_type
 

Definition at line 29 of file reflist.

template<class _Tp, class _Alloc = std::allocator<_Tp>>
typedef ref<_Tp> base::reflist< _Tp, _Alloc >::value_type
 

Definition at line 24 of file reflist.


Constructor & Destructor Documentation

template<class _Tp, class _Alloc = std::allocator<_Tp>>
base::reflist< _Tp, _Alloc >::reflist  )  [inline]
 

Definition at line 114 of file reflist.

template<class _Tp, class _Alloc = std::allocator<_Tp>>
base::reflist< _Tp, _Alloc >::reflist size_type  __n,
ref< _Tp >  __value
[inline]
 

Definition at line 115 of file reflist.

template<class _Tp, class _Alloc = std::allocator<_Tp>>
base::reflist< _Tp, _Alloc >::reflist size_type  __n  )  [inline, explicit]
 

Definition at line 118 of file reflist.

template<class _Tp, class _Alloc = std::allocator<_Tp>>
template<class _InputIterator>
base::reflist< _Tp, _Alloc >::reflist _InputIterator  __first,
_InputIterator  __last
[inline]
 

Definition at line 123 of file reflist.

template<class _Tp, class _Alloc = std::allocator<_Tp>>
base::reflist< _Tp, _Alloc >::reflist const reflist< _Tp, _Alloc > &  __x  )  [inline]
 

Definition at line 126 of file reflist.

template<class _Tp, class _Alloc = std::allocator<_Tp>>
base::reflist< _Tp, _Alloc >::~reflist  )  [inline]
 

Definition at line 128 of file reflist.


Member Function Documentation

template<class _Tp, class _Alloc = std::allocator<_Tp>>
template<class _InputIterator>
void base::reflist< _Tp, _Alloc >::assign _InputIterator  __first,
_InputIterator  __last
[inline]
 

Definition at line 142 of file reflist.

template<class _Tp, class _Alloc = std::allocator<_Tp>>
void base::reflist< _Tp, _Alloc >::assign size_type  __n,
ref< _Tp >  __val
[inline]
 

Definition at line 138 of file reflist.

template<class _Tp, class _Alloc = std::allocator<_Tp>>
const_reference base::reflist< _Tp, _Alloc >::back  )  const [inline]
 

Definition at line 76 of file reflist.

template<class _Tp, class _Alloc = std::allocator<_Tp>>
reference base::reflist< _Tp, _Alloc >::back  )  [inline]
 

Definition at line 75 of file reflist.

template<class _Tp, class _Alloc = std::allocator<_Tp>>
const_iterator base::reflist< _Tp, _Alloc >::begin  )  const [inline]
 

Definition at line 46 of file reflist.

template<class _Tp, class _Alloc = std::allocator<_Tp>>
iterator base::reflist< _Tp, _Alloc >::begin  )  [inline]
 

Definition at line 45 of file reflist.

Referenced by physics::SpatialGroup::begin(), physics::CollidableGroup::begin(), physics::Polyhedron::Vertex::edges_begin(), base::elementAt(), base::reflist< Collidable >::front(), base::Serializer::operator()(), base::reflist< Collidable >::pop_front(), base::reflist< Collidable >::push_front(), and base::reflist< Collidable >::rend().

template<class _Tp, class _Alloc = std::allocator<_Tp>>
void base::reflist< _Tp, _Alloc >::clear  )  [inline]
 

Definition at line 103 of file reflist.

Referenced by physics::CollidableGroup::clear(), and base::Serializer::operator()().

template<class _Tp, class _Alloc = std::allocator<_Tp>>
const_iterator_const base::reflist< _Tp, _Alloc >::const_begin  )  const [inline]
 

Definition at line 47 of file reflist.

Referenced by physics::CollidableGroup::const_begin(), base::reflist< Collidable >::const_rend(), base::contains(), physics::Polyhedron::edges_begin(), physics::Polyhedron::Vertex::edges_begin(), physics::Polyhedron::polygon_begin(), and physics::Polyhedron::vertices_begin().

template<class _Tp, class _Alloc = std::allocator<_Tp>>
const_iterator_const base::reflist< _Tp, _Alloc >::const_end  )  const [inline]
 

Definition at line 51 of file reflist.

Referenced by physics::CollidableGroup::const_end(), base::reflist< Collidable >::const_rbegin(), base::contains(), physics::Polyhedron::edges_end(), physics::Polyhedron::Vertex::edges_end(), physics::Polyhedron::polygon_end(), and physics::Polyhedron::vertices_end().

template<class _Tp, class _Alloc = std::allocator<_Tp>>
const_reflist_type& base::reflist< _Tp, _Alloc >::const_l  )  const [inline, protected]
 

Definition at line 20 of file reflist.

Referenced by base::reflist< Collidable >::begin(), and base::reflist< Collidable >::end().

template<class _Tp, class _Alloc = std::allocator<_Tp>>
const_reflist_const_type& base::reflist< _Tp, _Alloc >::const_l_const  )  const [inline, protected]
 

Definition at line 21 of file reflist.

Referenced by base::reflist< Collidable >::const_begin(), and base::reflist< Collidable >::const_end().

template<class _Tp, class _Alloc = std::allocator<_Tp>>
const_reverse_iterator_const base::reflist< _Tp, _Alloc >::const_rbegin  )  const [inline]
 

Definition at line 57 of file reflist.

template<class _Tp, class _Alloc = std::allocator<_Tp>>
const_reverse_iterator_const base::reflist< _Tp, _Alloc >::const_rend  )  const [inline]
 

Definition at line 64 of file reflist.

template<class _Tp, class _Alloc = std::allocator<_Tp>>
bool base::reflist< _Tp, _Alloc >::empty  )  const [inline]
 

Definition at line 67 of file reflist.

template<class _Tp, class _Alloc = std::allocator<_Tp>>
const_iterator base::reflist< _Tp, _Alloc >::end  )  const [inline]
 

Definition at line 50 of file reflist.

template<class _Tp, class _Alloc = std::allocator<_Tp>>
iterator base::reflist< _Tp, _Alloc >::end  )  [inline]
 

Definition at line 49 of file reflist.

Referenced by base::reflist< Collidable >::back(), physics::Polyhedron::Vertex::edges_end(), base::elementAt(), physics::SpatialGroup::end(), physics::CollidableGroup::end(), base::Serializer::operator()(), base::reflist< Collidable >::push_back(), and base::reflist< Collidable >::rbegin().

template<class _Tp, class _Alloc = std::allocator<_Tp>>
iterator base::reflist< _Tp, _Alloc >::erase iterator  __first,
iterator  __last
[inline]
 

Definition at line 102 of file reflist.

template<class _Tp, class _Alloc = std::allocator<_Tp>>
iterator base::reflist< _Tp, _Alloc >::erase iterator  __position  )  [inline]
 

Definition at line 99 of file reflist.

Referenced by base::reflist< Collidable >::pop_front().

template<class _Tp, class _Alloc = std::allocator<_Tp>>
const_reference base::reflist< _Tp, _Alloc >::front  )  const [inline]
 

Definition at line 74 of file reflist.

template<class _Tp, class _Alloc = std::allocator<_Tp>>
reference base::reflist< _Tp, _Alloc >::front  )  [inline]
 

Definition at line 73 of file reflist.

template<class _Tp, class _Alloc = std::allocator<_Tp>>
void base::reflist< _Tp, _Alloc >::insert iterator  __pos,
size_type  __n,
ref< _Tp >  __x
[inline]
 

Definition at line 91 of file reflist.

template<class _Tp, class _Alloc = std::allocator<_Tp>>
template<class _InputIterator>
void base::reflist< _Tp, _Alloc >::insert iterator  __pos,
_InputIterator  __first,
_InputIterator  __last
[inline]
 

Definition at line 87 of file reflist.

template<class _Tp, class _Alloc = std::allocator<_Tp>>
iterator base::reflist< _Tp, _Alloc >::insert iterator  __position  )  [inline]
 

Definition at line 83 of file reflist.

template<class _Tp, class _Alloc = std::allocator<_Tp>>
iterator base::reflist< _Tp, _Alloc >::insert iterator  __position,
ref< _Tp >  __x
[inline]
 

Definition at line 80 of file reflist.

Referenced by base::reflist< Collidable >::insert(), base::reflist< Collidable >::push_back(), and base::reflist< Collidable >::push_front().

template<class _Tp, class _Alloc = std::allocator<_Tp>>
reflist_const_type& base::reflist< _Tp, _Alloc >::l_const  )  [inline, protected]
 

Definition at line 19 of file reflist.

Referenced by base::reflist< Collidable >::remove(), and base::reflist< Collidable >::resize().

template<class _Tp, class _Alloc = std::allocator<_Tp>>
size_type base::reflist< _Tp, _Alloc >::max_size  )  const [inline]
 

Definition at line 71 of file reflist.

template<class _Tp, class _Alloc = std::allocator<_Tp>>
template<class _StrictWeakOrdering>
void base::reflist< _Tp, _Alloc >::merge reflist< _Tp, _Alloc > &  __x,
_StrictWeakOrdering  swo
[inline]
 

Definition at line 165 of file reflist.

template<class _Tp, class _Alloc = std::allocator<_Tp>>
void base::reflist< _Tp, _Alloc >::merge reflist< _Tp, _Alloc > &  __x  )  [inline]
 

Definition at line 159 of file reflist.

template<class _Tp, class _Alloc = std::allocator<_Tp>>
reflist<_Tp, _Alloc>& base::reflist< _Tp, _Alloc >::operator= const reflist< _Tp, _Alloc > &  __x  )  [inline]
 

Definition at line 130 of file reflist.

template<class _Tp, class _Alloc = std::allocator<_Tp>>
void base::reflist< _Tp, _Alloc >::pop_back  )  [inline]
 

Definition at line 110 of file reflist.

template<class _Tp, class _Alloc = std::allocator<_Tp>>
void base::reflist< _Tp, _Alloc >::pop_front  )  [inline]
 

Definition at line 109 of file reflist.

template<class _Tp, class _Alloc = std::allocator<_Tp>>
void base::reflist< _Tp, _Alloc >::push_back  )  [inline]
 

Definition at line 97 of file reflist.

template<class _Tp, class _Alloc = std::allocator<_Tp>>
void base::reflist< _Tp, _Alloc >::push_back ref< _Tp >  __x  )  [inline]
 

Definition at line 96 of file reflist.

Referenced by physics::CollidableGroup::addCollidable(), physics::Polyhedron::Polygon::addEdge(), physics::Collider::addPotentialCollisionListener(), and base::Serializer::operator()().

template<class _Tp, class _Alloc = std::allocator<_Tp>>
void base::reflist< _Tp, _Alloc >::push_front  )  [inline]
 

Definition at line 95 of file reflist.

template<class _Tp, class _Alloc = std::allocator<_Tp>>
void base::reflist< _Tp, _Alloc >::push_front ref< _Tp >  __x  )  [inline]
 

Definition at line 94 of file reflist.

template<class _Tp, class _Alloc = std::allocator<_Tp>>
const_reverse_iterator base::reflist< _Tp, _Alloc >::rbegin  )  const [inline]
 

Definition at line 55 of file reflist.

template<class _Tp, class _Alloc = std::allocator<_Tp>>
reverse_iterator base::reflist< _Tp, _Alloc >::rbegin  )  [inline]
 

Definition at line 53 of file reflist.

template<class _Tp, class _Alloc = std::allocator<_Tp>>
void base::reflist< _Tp, _Alloc >::remove ref< const _Tp >  __value  )  [inline]
 

Definition at line 157 of file reflist.

Referenced by physics::CollidableGroup::removeCollidable(), and physics::Collider::removePotentialCollisionListener().

template<class _Tp, class _Alloc = std::allocator<_Tp>>
template<class _Predicate>
void base::reflist< _Tp, _Alloc >::remove_if _Predicate  p  )  [inline]
 

Definition at line 163 of file reflist.

template<class _Tp, class _Alloc = std::allocator<_Tp>>
const_reverse_iterator base::reflist< _Tp, _Alloc >::rend  )  const [inline]
 

Definition at line 62 of file reflist.

template<class _Tp, class _Alloc = std::allocator<_Tp>>
reverse_iterator base::reflist< _Tp, _Alloc >::rend  )  [inline]
 

Definition at line 60 of file reflist.

template<class _Tp, class _Alloc = std::allocator<_Tp>>
void base::reflist< _Tp, _Alloc >::resize size_type  __new_size  )  [inline]
 

Definition at line 107 of file reflist.

template<class _Tp, class _Alloc = std::allocator<_Tp>>
void base::reflist< _Tp, _Alloc >::resize size_type  __new_size,
ref< _Tp >  __x
[inline]
 

Definition at line 106 of file reflist.

template<class _Tp, class _Alloc = std::allocator<_Tp>>
void base::reflist< _Tp, _Alloc >::resize size_type  __new_size,
ref< const _Tp >  __x
[inline]
 

Definition at line 105 of file reflist.

Referenced by base::reflist< Collidable >::resize().

template<class _Tp, class _Alloc = std::allocator<_Tp>>
void base::reflist< _Tp, _Alloc >::reverse  )  [inline]
 

Definition at line 160 of file reflist.

template<class _Tp, class _Alloc = std::allocator<_Tp>>
size_type base::reflist< _Tp, _Alloc >::size  )  const [inline]
 

Definition at line 68 of file reflist.

Referenced by robot::sim::TestBasicEnvironment::numObstacles(), robot::sim::SimulatedBasicEnvironment::numObstacles(), robot::sim::TestBasicEnvironment::numRobots(), robot::sim::SimulatedBasicEnvironment::numRobots(), robot::sim::TestBasicEnvironment::numTools(), robot::sim::SimulatedBasicEnvironment::numTools(), and base::Serializer::operator()().

template<class _Tp, class _Alloc = std::allocator<_Tp>>
template<class _StrictWeakOrdering>
void base::reflist< _Tp, _Alloc >::sort _StrictWeakOrdering  swo  )  [inline]
 

Definition at line 166 of file reflist.

template<class _Tp, class _Alloc = std::allocator<_Tp>>
void base::reflist< _Tp, _Alloc >::sort  )  [inline]
 

Definition at line 161 of file reflist.

template<class _Tp, class _Alloc = std::allocator<_Tp>>
void base::reflist< _Tp, _Alloc >::splice iterator  __position,
reflist< _Tp, _Alloc > &  __x,
iterator  __first,
iterator  __last
[inline]
 

Definition at line 153 of file reflist.

template<class _Tp, class _Alloc = std::allocator<_Tp>>
void base::reflist< _Tp, _Alloc >::splice iterator  __position,
reflist< _Tp, _Alloc > &  __x,
iterator  __i
[inline]
 

Definition at line 150 of file reflist.

template<class _Tp, class _Alloc = std::allocator<_Tp>>
void base::reflist< _Tp, _Alloc >::splice iterator  __position,
reflist< _Tp, _Alloc > &  __x
[inline]
 

Definition at line 147 of file reflist.

template<class _Tp, class _Alloc = std::allocator<_Tp>>
void base::reflist< _Tp, _Alloc >::swap reflist< _Tp, _Alloc > &  __x  )  [inline]
 

Definition at line 78 of file reflist.

template<class _Tp, class _Alloc = std::allocator<_Tp>>
template<class _BinaryPredicate>
void base::reflist< _Tp, _Alloc >::unique _BinaryPredicate  bp  )  [inline]
 

Definition at line 164 of file reflist.

template<class _Tp, class _Alloc = std::allocator<_Tp>>
void base::reflist< _Tp, _Alloc >::unique  )  [inline]
 

Definition at line 158 of file reflist.


Member Data Documentation

template<class _Tp, class _Alloc = std::allocator<_Tp>>
reflist_type base::reflist< _Tp, _Alloc >::l [protected]
 

Definition at line 18 of file reflist.

Referenced by base::reflist< Collidable >::operator=().


The documentation for this class was generated from the following file:
Generated on Thu Jul 29 16:39:07 2004 for OpenSim by doxygen 1.3.6