PPL
1.2
|
#include <Swapping_Vector_defs.hh>
Public Types | |
typedef std::vector< T >::const_iterator | const_iterator |
typedef std::vector< T >::iterator | iterator |
typedef std::vector< T >::size_type | size_type |
Public Member Functions | |
Swapping_Vector () | |
Swapping_Vector (dimension_type new_size) | |
Swapping_Vector (dimension_type new_size, const T &x) | |
void | clear () |
void | reserve (dimension_type new_capacity) |
void | resize (dimension_type new_size) |
void | resize (dimension_type new_size, const T &x) |
dimension_type | size () const |
dimension_type | capacity () const |
bool | empty () const |
void | m_swap (Swapping_Vector &v) |
T & | operator[] (dimension_type i) |
const T & | operator[] (dimension_type i) const |
T & | back () |
const T & | back () const |
void | push_back (const T &x) |
void | pop_back () |
iterator | begin () |
iterator | end () |
const_iterator | begin () const |
const_iterator | end () const |
iterator | erase (iterator itr) |
iterator | erase (iterator first, iterator last) |
memory_size_type | external_memory_in_bytes () const |
dimension_type | max_num_rows () |
Private Attributes | |
std::vector< T > | impl |
Related Functions | |
(Note that these are not member functions.) | |
template<typename T > | |
void | swap (Swapping_Vector< T > &x, Swapping_Vector< T > &y) |
A wrapper for std::vector that calls a swap() method instead of copying elements, when possible.
Definition at line 38 of file Swapping_Vector_defs.hh.
typedef std::vector<T>::const_iterator Parma_Polyhedra_Library::Swapping_Vector< T >::const_iterator |
Definition at line 41 of file Swapping_Vector_defs.hh.
typedef std::vector<T>::iterator Parma_Polyhedra_Library::Swapping_Vector< T >::iterator |
Definition at line 42 of file Swapping_Vector_defs.hh.
typedef std::vector<T>::size_type Parma_Polyhedra_Library::Swapping_Vector< T >::size_type |
Definition at line 43 of file Swapping_Vector_defs.hh.
|
inline |
Definition at line 33 of file Swapping_Vector_inlines.hh.
|
inlineexplicit |
Definition at line 39 of file Swapping_Vector_inlines.hh.
References Parma_Polyhedra_Library::Swapping_Vector< T >::resize().
|
inline |
Definition at line 48 of file Swapping_Vector_inlines.hh.
References Parma_Polyhedra_Library::Swapping_Vector< T >::resize().
|
inline |
Definition at line 134 of file Swapping_Vector_inlines.hh.
Referenced by Parma_Polyhedra_Library::Linear_System< Row >::merge_rows_assign().
|
inline |
Definition at line 140 of file Swapping_Vector_inlines.hh.
|
inline |
Definition at line 170 of file Swapping_Vector_inlines.hh.
|
inline |
Definition at line 182 of file Swapping_Vector_inlines.hh.
|
inline |
Definition at line 103 of file Swapping_Vector_inlines.hh.
|
inline |
Definition at line 55 of file Swapping_Vector_inlines.hh.
|
inline |
Definition at line 109 of file Swapping_Vector_inlines.hh.
|
inline |
Definition at line 176 of file Swapping_Vector_inlines.hh.
|
inline |
Definition at line 188 of file Swapping_Vector_inlines.hh.
|
inline |
Definition at line 194 of file Swapping_Vector_inlines.hh.
References Parma_Polyhedra_Library::swap().
|
inline |
Definition at line 209 of file Swapping_Vector_inlines.hh.
References Parma_Polyhedra_Library::swap().
|
inline |
Definition at line 159 of file Swapping_Vector_inlines.hh.
|
inline |
Definition at line 115 of file Swapping_Vector_inlines.hh.
References Parma_Polyhedra_Library::Swapping_Vector< T >::impl, and Parma_Polyhedra_Library::swap().
Referenced by Parma_Polyhedra_Library::swap().
|
inline |
Definition at line 227 of file Swapping_Vector_inlines.hh.
Referenced by Parma_Polyhedra_Library::Linear_System< Row >::merge_rows_assign().
|
inline |
Definition at line 122 of file Swapping_Vector_inlines.hh.
|
inline |
Definition at line 128 of file Swapping_Vector_inlines.hh.
|
inline |
Definition at line 153 of file Swapping_Vector_inlines.hh.
|
inline |
Definition at line 146 of file Swapping_Vector_inlines.hh.
|
inline |
Definition at line 61 of file Swapping_Vector_inlines.hh.
References Parma_Polyhedra_Library::compute_capacity(), and Parma_Polyhedra_Library::swap().
Referenced by Parma_Polyhedra_Library::Linear_System< Row >::merge_rows_assign().
|
inline |
Definition at line 83 of file Swapping_Vector_inlines.hh.
Referenced by Parma_Polyhedra_Library::Linear_System< Row >::Linear_System(), Parma_Polyhedra_Library::Matrix< Row >::Matrix(), Parma_Polyhedra_Library::Linear_System< Row >::merge_rows_assign(), and Parma_Polyhedra_Library::Swapping_Vector< T >::Swapping_Vector().
|
inline |
Definition at line 90 of file Swapping_Vector_inlines.hh.
|
inline |
Definition at line 97 of file Swapping_Vector_inlines.hh.
Referenced by Parma_Polyhedra_Library::Matrix< Row >::Matrix(), Parma_Polyhedra_Library::Linear_System< Row >::merge_rows_assign(), Parma_Polyhedra_Library::Grid::reduce_congruence_with_equality(), and Parma_Polyhedra_Library::Grid::reduce_parameter_with_line().
|
related |
Definition at line 233 of file Swapping_Vector_inlines.hh.
|
private |
Definition at line 83 of file Swapping_Vector_defs.hh.
Referenced by Parma_Polyhedra_Library::Swapping_Vector< T >::m_swap().