#include <In_place_list_n.h>
Public Types | |
typedef T | value_type |
typedef T * | pointer |
typedef const T * | const_pointer |
typedef T & | reference |
typedef const T & | const_reference |
typedef std::size_t | size_type |
typedef std::ptrdiff_t | difference_type |
typedef _In_place_list_n_iterator< T > | iterator |
typedef _In_place_list_n_iterator < const T > | const_iterator |
typedef std::reverse_iterator < iterator > | reverse_iterator |
typedef std::reverse_iterator < const_iterator > | const_reverse_iterator |
typedef In_place_list_n< T, managed > | Self |
Public Member Functions | |
In_place_list_n (int d=0) | |
void | set_dimension (int d) |
void | swap (Self &x) |
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 |
iterator | insert (iterator position, T &x) |
iterator | insert (T *pos, T &x) |
void | push_front (T &x) |
void | push_back (T &x) |
void | insert (iterator position, size_type n) |
void | insert (iterator position, size_type n, const T &x) |
void | insert (T *pos, size_type n) |
void | insert (T *pos, size_type n, const T &x=T()) |
template<class InputIterator > | |
void | insert (iterator pos, InputIterator first, InputIterator last) |
template<class InputIterator > | |
void | insert (T *pos, InputIterator first, InputIterator last) |
void | insert (T *pos, const T *first, const T *last) |
void | erase (iterator i) |
void | erase (T *pos) |
void | pop_front () |
void | pop_back () |
void | erase (iterator first, iterator last) |
void | erase (T *first, T *last) |
void | clear () |
In_place_list_n (size_type n, const T &value, int d=0) | |
template<class InputIterator > | |
In_place_list_n (InputIterator first, InputIterator last, int d=0) | |
In_place_list_n (const T *first, const T *last, int d=0) | |
In_place_list_n (const Self &x) | |
~In_place_list_n () | |
Self & | operator= (const Self &x) |
void | destroy () |
template<class InputIterator > | |
void | assign (InputIterator first, InputIterator last) |
void | assign (size_type n, const T &t) |
void | resize (size_type sz, T c=T()) |
bool | operator== (const Self &y) const |
bool | operator!= (const Self &y) const |
bool | operator< (const Self &y) const |
bool | operator> (const Self &i) const |
bool | operator<= (const Self &i) const |
bool | operator>= (const Self &i) const |
void | splice (iterator position, Self &x) |
void | splice (T *position, Self &x) |
void | splice (iterator position, Self &x, iterator i) |
void | splice (T *position, Self &x, T *i) |
void | splice (iterator pos, Self &x, iterator first, iterator last) |
void | splice (T *p, Self &x, T *first, T *last) |
void | remove (const T &value) |
void | reverse () |
void | unique () |
void | merge (Self &x) |
void | sort () |
Protected Member Functions | |
T * | get_node () |
T * | get_node (const T &t) |
void | put_node (T *p) |
void | transfer (iterator position, iterator first, iterator last) |
Protected Attributes | |
T * | node |
std::size_t | length |
int | dim |
Definition at line 100 of file In_place_list_n.h.
typedef _In_place_list_n_iterator<const T> const_iterator |
Definition at line 235 of file In_place_list_n.h.
typedef const T* const_pointer |
Definition at line 228 of file In_place_list_n.h.
typedef const T& const_reference |
Definition at line 230 of file In_place_list_n.h.
typedef std::reverse_iterator<const_iterator> const_reverse_iterator |
Definition at line 238 of file In_place_list_n.h.
typedef std::ptrdiff_t difference_type |
Definition at line 232 of file In_place_list_n.h.
typedef _In_place_list_n_iterator<T> iterator |
Definition at line 234 of file In_place_list_n.h.
typedef T* pointer |
Definition at line 227 of file In_place_list_n.h.
typedef T& reference |
Definition at line 229 of file In_place_list_n.h.
typedef std::reverse_iterator<iterator> reverse_iterator |
Definition at line 237 of file In_place_list_n.h.
typedef In_place_list_n<T,managed> Self |
Definition at line 240 of file In_place_list_n.h.
typedef std::size_t size_type |
Definition at line 231 of file In_place_list_n.h.
typedef T value_type |
Definition at line 226 of file In_place_list_n.h.
|
inlineexplicit |
Definition at line 246 of file In_place_list_n.h.
References In_place_list_n< T, managed >::dim, In_place_list_n< T, managed >::get_node(), and In_place_list_n< T, managed >::node.
|
inlineexplicit |
Definition at line 370 of file In_place_list_n.h.
References In_place_list_n< T, managed >::begin(), In_place_list_n< T, managed >::dim, In_place_list_n< T, managed >::get_node(), In_place_list_n< T, managed >::insert(), and In_place_list_n< T, managed >::node.
|
inline |
Definition at line 380 of file In_place_list_n.h.
References In_place_list_n< T, managed >::begin(), In_place_list_n< T, managed >::dim, In_place_list_n< T, managed >::get_node(), In_place_list_n< T, managed >::insert(), and In_place_list_n< T, managed >::node.
|
inline |
Definition at line 388 of file In_place_list_n.h.
References In_place_list_n< T, managed >::begin(), In_place_list_n< T, managed >::dim, In_place_list_n< T, managed >::get_node(), In_place_list_n< T, managed >::insert(), and In_place_list_n< T, managed >::node.
|
inline |
Definition at line 395 of file In_place_list_n.h.
References In_place_list_n< T, managed >::begin(), In_place_list_n< T, managed >::dim, In_place_list_n< T, managed >::end(), In_place_list_n< T, managed >::get_node(), In_place_list_n< T, managed >::insert(), and In_place_list_n< T, managed >::node.
|
inline |
Definition at line 402 of file In_place_list_n.h.
References In_place_list_n< T, managed >::begin(), In_place_list_n< T, managed >::end(), In_place_list_n< T, managed >::erase(), and In_place_list_n< T, managed >::put_node().
|
inline |
Definition at line 412 of file In_place_list_n.h.
References In_place_list_n< T, managed >::begin(), In_place_list_n< T, managed >::end(), In_place_list_n< T, managed >::erase(), and In_place_list_n< T, managed >::insert().
|
inline |
Definition at line 417 of file In_place_list_n.h.
References In_place_list_n< T, managed >::begin(), In_place_list_n< T, managed >::end(), In_place_list_n< T, managed >::erase(), and In_place_list_n< T, managed >::insert().
|
inline |
Definition at line 282 of file In_place_list_n.h.
References In_place_list_n< T, managed >::dim.
Referenced by Overlay::get_next_inode_ccw(), Overlay::get_next_inode_cw(), Overlay::insert_node_in_blue_edge(), Overlay::project_adjacent_green_vertices(), and Overlay::verify_inode().
|
inline |
|
inline |
Definition at line 262 of file In_place_list_n.h.
References In_place_list_n< T, managed >::dim.
Referenced by In_place_list_n< T, managed >::assign(), Overlay::associate_green_vertices(), In_place_list_n< T, managed >::clear(), In_place_list_n< T, managed >::front(), Overlay::get_inodes_of_face(), In_place_list_n< T, managed >::In_place_list_n(), Overlay::intersect_blue_with_green(), In_place_list_n< T, managed >::merge(), In_place_list_n< T, managed >::operator!=(), In_place_list_n< T, managed >::operator<(), In_place_list_n< T, managed >::operator=(), In_place_list_n< T, managed >::operator==(), In_place_list_n< T, managed >::pop_front(), In_place_list_n< T, managed >::push_front(), In_place_list_n< T, managed >::rend(), In_place_list_n< T, managed >::resize(), In_place_list_n< T, managed >::sort(), Overlay::sort_on_green_edges(), In_place_list_n< T, managed >::splice(), and In_place_list_n< T, managed >::~In_place_list_n().
|
inline |
Definition at line 263 of file In_place_list_n.h.
References In_place_list_n< T, managed >::dim.
|
inline |
Definition at line 366 of file In_place_list_n.h.
References In_place_list_n< T, managed >::begin(), In_place_list_n< T, managed >::end(), and In_place_list_n< T, managed >::erase().
void destroy | ( | ) |
Definition at line 588 of file In_place_list_n.h.
References i, Mesquite::length(), and _In_place_list_n_iterator< T >::node.
|
inline |
Definition at line 276 of file In_place_list_n.h.
References In_place_list_n< T, managed >::length.
Referenced by Overlay::associate_green_vertices(), Overlay::get_inodes_of_face(), Overlay::get_next_inode_ccw(), Overlay::get_next_inode_cw(), Overlay::insert_node_in_blue_edge(), Overlay::intersect_blue_with_green(), Overlay::project_adjacent_green_vertices(), Overlay::sort_on_green_edges(), In_place_list_n< T, managed >::splice(), and Overlay::verify_inode().
|
inline |
Definition at line 264 of file In_place_list_n.h.
References In_place_list_n< T, managed >::dim.
Referenced by In_place_list_n< T, managed >::assign(), Overlay::associate_green_vertices(), In_place_list_n< T, managed >::clear(), Overlay::get_inodes_of_face(), In_place_list_n< T, managed >::In_place_list_n(), Overlay::intersect_blue_with_green(), In_place_list_n< T, managed >::merge(), In_place_list_n< T, managed >::operator!=(), In_place_list_n< T, managed >::operator<(), In_place_list_n< T, managed >::operator=(), In_place_list_n< T, managed >::operator==(), In_place_list_n< T, managed >::pop_back(), In_place_list_n< T, managed >::push_back(), In_place_list_n< T, managed >::rbegin(), In_place_list_n< T, managed >::resize(), Overlay::sort_on_green_edges(), In_place_list_n< T, managed >::splice(), and In_place_list_n< T, managed >::~In_place_list_n().
|
inline |
Definition at line 265 of file In_place_list_n.h.
References In_place_list_n< T, managed >::dim.
|
inline |
Definition at line 339 of file In_place_list_n.h.
References In_place_list_n< T, managed >::dim, In_place_list_n< T, managed >::length, _In_place_list_n_iterator< T >::node, In_place_list_n< T, managed >::put_node(), and RFC_assertion.
Referenced by In_place_list_n< T, managed >::assign(), In_place_list_n< T, managed >::clear(), In_place_list_n< T, managed >::erase(), In_place_list_n< T, managed >::pop_back(), In_place_list_n< T, managed >::pop_front(), In_place_list_n< T, managed >::resize(), and In_place_list_n< T, managed >::~In_place_list_n().
|
inline |
Definition at line 348 of file In_place_list_n.h.
References In_place_list_n< T, managed >::dim, and In_place_list_n< T, managed >::erase().
Referenced by In_place_list_n< T, managed >::erase().
Definition at line 552 of file In_place_list_n.h.
|
inline |
Definition at line 362 of file In_place_list_n.h.
References In_place_list_n< T, managed >::dim, and In_place_list_n< T, managed >::erase().
|
inline |
Definition at line 280 of file In_place_list_n.h.
References In_place_list_n< T, managed >::begin().
Referenced by Overlay::get_next_inode_ccw(), Overlay::get_next_inode_cw(), Overlay::insert_node_in_blue_edge(), Overlay::intersect_blue_with_green(), Overlay::project_adjacent_green_vertices(), and Overlay::verify_inode().
|
inline |
Definition at line 281 of file In_place_list_n.h.
References In_place_list_n< T, managed >::begin().
|
inlineprotected |
Definition at line 185 of file In_place_list_n.h.
Referenced by In_place_list_n< T, managed >::In_place_list_n(), and In_place_list_n< T, managed >::insert().
|
inlineprotected |
Definition at line 186 of file In_place_list_n.h.
Definition at line 287 of file In_place_list_n.h.
References In_place_list_n< T, managed >::dim, In_place_list_n< T, managed >::length, and _In_place_list_n_iterator< T >::node.
Referenced by In_place_list_n< T, managed >::assign(), In_place_list_n< T, managed >::In_place_list_n(), In_place_list_n< T, managed >::insert(), In_place_list_n< T, managed >::push_back(), In_place_list_n< T, managed >::push_front(), and In_place_list_n< T, managed >::resize().
|
inline |
Definition at line 297 of file In_place_list_n.h.
References In_place_list_n< T, managed >::dim, and In_place_list_n< T, managed >::insert().
Definition at line 538 of file In_place_list_n.h.
Definition at line 545 of file In_place_list_n.h.
|
inline |
Definition at line 312 of file In_place_list_n.h.
References In_place_list_n< T, managed >::dim, and In_place_list_n< T, managed >::insert().
Referenced by In_place_list_n< T, managed >::insert().
|
inline |
Definition at line 313 of file In_place_list_n.h.
References In_place_list_n< T, managed >::dim, In_place_list_n< T, managed >::insert(), and x.
|
inline |
Definition at line 318 of file In_place_list_n.h.
References In_place_list_n< T, managed >::get_node(), and In_place_list_n< T, managed >::insert().
|
inline |
Definition at line 325 of file In_place_list_n.h.
References In_place_list_n< T, managed >::get_node(), and In_place_list_n< T, managed >::insert().
|
inline |
Definition at line 331 of file In_place_list_n.h.
References In_place_list_n< T, managed >::dim, and In_place_list_n< T, managed >::insert().
|
inline |
Definition at line 278 of file In_place_list_n.h.
void merge | ( | Self & | x | ) |
Definition at line 638 of file In_place_list_n.h.
References In_place_list_n< T, managed >::begin(), In_place_list_n< T, managed >::end(), In_place_list_n< T, managed >::length, and Mesquite::length().
Referenced by In_place_list_n< T, managed >::sort().
|
inline |
Definition at line 439 of file In_place_list_n.h.
References In_place_list_n< T, managed >::begin(), In_place_list_n< T, managed >::end(), equal(), and In_place_list_n< T, managed >::size().
|
inline |
Definition at line 443 of file In_place_list_n.h.
References In_place_list_n< T, managed >::begin(), and In_place_list_n< T, managed >::end().
|
inline |
Definition at line 448 of file In_place_list_n.h.
In_place_list_n< T, managed > & operator= | ( | const Self & | x | ) |
Definition at line 561 of file In_place_list_n.h.
References In_place_list_n< T, managed >::begin(), In_place_list_n< T, managed >::dim, and In_place_list_n< T, managed >::end().
|
inline |
Definition at line 435 of file In_place_list_n.h.
References In_place_list_n< T, managed >::begin(), In_place_list_n< T, managed >::end(), equal(), and In_place_list_n< T, managed >::size().
|
inline |
Definition at line 447 of file In_place_list_n.h.
|
inline |
|
inline |
Definition at line 353 of file In_place_list_n.h.
References In_place_list_n< T, managed >::end(), and In_place_list_n< T, managed >::erase().
Referenced by Overlay::insert_node_in_blue_edge().
|
inline |
Definition at line 350 of file In_place_list_n.h.
References In_place_list_n< T, managed >::begin(), and In_place_list_n< T, managed >::erase().
Referenced by Overlay::insert_node_in_blue_edge(), and Overlay::intersect_blue_with_green().
|
inline |
Definition at line 303 of file In_place_list_n.h.
References In_place_list_n< T, managed >::end(), and In_place_list_n< T, managed >::insert().
Referenced by Overlay::sort_on_green_edges().
|
inline |
Definition at line 300 of file In_place_list_n.h.
References In_place_list_n< T, managed >::begin(), and In_place_list_n< T, managed >::insert().
Referenced by Overlay::intersect_blue_with_green().
|
inlineprotected |
Definition at line 187 of file In_place_list_n.h.
Referenced by In_place_list_n< T, managed >::erase(), and In_place_list_n< T, managed >::~In_place_list_n().
|
inline |
Definition at line 267 of file In_place_list_n.h.
References In_place_list_n< T, managed >::end().
Referenced by Overlay::associate_green_vertices(), Overlay::get_inodes_of_face(), and Overlay::sort_on_green_edges().
|
inline |
Definition at line 268 of file In_place_list_n.h.
References In_place_list_n< T, managed >::end().
void remove | ( | const T & | value | ) |
Definition at line 601 of file In_place_list_n.h.
|
inline |
Definition at line 271 of file In_place_list_n.h.
References In_place_list_n< T, managed >::begin().
Referenced by Overlay::associate_green_vertices(), Overlay::get_inodes_of_face(), and Overlay::sort_on_green_edges().
|
inline |
Definition at line 272 of file In_place_list_n.h.
References In_place_list_n< T, managed >::begin().
|
inline |
Definition at line 422 of file In_place_list_n.h.
References In_place_list_n< T, managed >::begin(), In_place_list_n< T, managed >::end(), In_place_list_n< T, managed >::erase(), i, In_place_list_n< T, managed >::insert(), and In_place_list_n< T, managed >::size().
void reverse | ( | ) |
Definition at line 614 of file In_place_list_n.h.
|
inline |
Definition at line 252 of file In_place_list_n.h.
References d, and In_place_list_n< T, managed >::dim.
|
inline |
Definition at line 277 of file In_place_list_n.h.
References In_place_list_n< T, managed >::length.
Referenced by In_place_list_n< T, managed >::operator!=(), In_place_list_n< T, managed >::operator==(), Overlay::project_adjacent_green_vertices(), In_place_list_n< T, managed >::resize(), and Overlay::verify_inode().
void sort | ( | ) |
Definition at line 657 of file In_place_list_n.h.
References In_place_list_n< T, managed >::begin(), empty(), i, merge, In_place_list_n< T, managed >::merge(), In_place_list_n< T, managed >::splice(), swap(), and In_place_list_n< T, managed >::swap().
Definition at line 466 of file In_place_list_n.h.
References In_place_list_n< T, managed >::begin(), In_place_list_n< T, managed >::empty(), In_place_list_n< T, managed >::end(), In_place_list_n< T, managed >::length, and In_place_list_n< T, managed >::transfer().
Referenced by In_place_list_n< T, managed >::sort(), and In_place_list_n< T, managed >::splice().
|
inline |
Definition at line 475 of file In_place_list_n.h.
References In_place_list_n< T, managed >::dim, and In_place_list_n< T, managed >::splice().
Definition at line 478 of file In_place_list_n.h.
References i, j, In_place_list_n< T, managed >::length, and In_place_list_n< T, managed >::transfer().
|
inline |
Definition at line 489 of file In_place_list_n.h.
References In_place_list_n< T, managed >::dim, and In_place_list_n< T, managed >::splice().
Definition at line 492 of file In_place_list_n.h.
References In_place_list_n< T, managed >::length, n, and In_place_list_n< T, managed >::transfer().
|
inline |
Definition at line 508 of file In_place_list_n.h.
References In_place_list_n< T, managed >::dim, and In_place_list_n< T, managed >::splice().
|
inline |
Definition at line 254 of file In_place_list_n.h.
References In_place_list_n< T, managed >::dim, In_place_list_n< T, managed >::length, In_place_list_n< T, managed >::node, and swap().
Referenced by In_place_list_n< T, managed >::sort().
Definition at line 454 of file In_place_list_n.h.
References In_place_list_n< T, managed >::dim, and _In_place_list_n_iterator< T >::node.
Referenced by In_place_list_n< T, managed >::splice().
void unique | ( | ) |
Definition at line 623 of file In_place_list_n.h.
|
protected |
Definition at line 183 of file In_place_list_n.h.
Referenced by In_place_list_n< T, managed >::back(), In_place_list_n< T, managed >::begin(), In_place_list_n< T, managed >::end(), In_place_list_n< T, managed >::erase(), In_place_list_n< T, managed >::In_place_list_n(), In_place_list_n< T, managed >::insert(), In_place_list_n< T, managed >::operator=(), In_place_list_n< T, managed >::set_dimension(), In_place_list_n< T, managed >::splice(), In_place_list_n< T, managed >::swap(), and In_place_list_n< T, managed >::transfer().
|
protected |
Definition at line 182 of file In_place_list_n.h.
Referenced by In_place_list_n< T, managed >::empty(), In_place_list_n< T, managed >::erase(), In_place_list_n< T, managed >::insert(), In_place_list_n< T, managed >::merge(), In_place_list_n< T, managed >::size(), In_place_list_n< T, managed >::splice(), and In_place_list_n< T, managed >::swap().
|
protected |
Definition at line 181 of file In_place_list_n.h.
Referenced by In_place_list_n< T, managed >::In_place_list_n(), and In_place_list_n< T, managed >::swap().