Public Member Functions | |
template<typename V> | |
Pseudo_Row (const Pseudo_Row< V > &y) | |
Copy-constructor allowing the construction of a const pseudo-row from a non-const pseudo-row. Ordinary copy constructor. | |
~Pseudo_Row () | |
Destructor. | |
U & | operator[] (dimension_type k) const |
Subscript operator. | |
Pseudo_Row () | |
Default constructor: creates a past-the-end object. | |
Pseudo_Row & | operator= (const Pseudo_Row &y) |
Assignment operator. | |
Private Member Functions | |
Pseudo_Row (U &y) | |
Private constructor for a Pseudo_Row beginning at y . | |
Private Attributes | |
U * | first |
Holds a reference to the beginning of this row. | |
Friends | |
class | Pseudo_Row |
class | any_row_iterator |
class | OR_Matrix |
Definition at line 112 of file OR_Matrix.defs.hh.
Parma_Polyhedra_Library::OR_Matrix< T >::Pseudo_Row< U >::Pseudo_Row | ( | const Pseudo_Row< V > & | y | ) | [inline] |
Copy-constructor allowing the construction of a const pseudo-row from a non-const pseudo-row. Ordinary copy constructor.
Definition at line 91 of file OR_Matrix.inlines.hh.
00092 : first(y.first) 00093 #if PPL_OR_MATRIX_EXTRA_DEBUG 00094 , size_(y.size_) 00095 #endif 00096 { 00097 }
Parma_Polyhedra_Library::OR_Matrix< T >::Pseudo_Row< U >::~Pseudo_Row | ( | ) | [inline] |
Parma_Polyhedra_Library::OR_Matrix< T >::Pseudo_Row< U >::Pseudo_Row | ( | ) |
Default constructor: creates a past-the-end object.
Parma_Polyhedra_Library::OR_Matrix< T >::Pseudo_Row< U >::Pseudo_Row | ( | U & | y | ) | [inline, explicit, private] |
Private constructor for a Pseudo_Row beginning at y
.
Definition at line 75 of file OR_Matrix.inlines.hh.
00080 : first(&y) 00081 #if PPL_OR_MATRIX_EXTRA_DEBUG 00082 , size_(s) 00083 #endif 00084 { 00085 }
U & Parma_Polyhedra_Library::OR_Matrix< T >::Pseudo_Row< U >::operator[] | ( | dimension_type | k | ) | const [inline] |
Subscript operator.
Definition at line 119 of file OR_Matrix.inlines.hh.
References Parma_Polyhedra_Library::OR_Matrix< T >::Pseudo_Row< U >::first.
00119 { 00120 #if PPL_OR_MATRIX_EXTRA_DEBUG 00121 assert(k < size_); 00122 #endif 00123 return *(first + k); 00124 }
OR_Matrix< T >::Pseudo_Row< U > & Parma_Polyhedra_Library::OR_Matrix< T >::Pseudo_Row< U >::operator= | ( | const Pseudo_Row< U > & | y | ) | [inline] |
Assignment operator.
Definition at line 102 of file OR_Matrix.inlines.hh.
References Parma_Polyhedra_Library::OR_Matrix< T >::Pseudo_Row< U >::first.
00102 { 00103 first = y.first; 00104 #if PPL_OR_MATRIX_EXTRA_DEBUG 00105 size_ = y.size_; 00106 #endif 00107 return *this; 00108 }
Parma_Polyhedra_Library::OR_Matrix< T >::Pseudo_Row< U >::Pseudo_Row [friend] |
Definition at line 182 of file OR_Matrix.defs.hh.
Definition at line 183 of file OR_Matrix.defs.hh.
Definition at line 185 of file OR_Matrix.defs.hh.
U* Parma_Polyhedra_Library::OR_Matrix< T >::Pseudo_Row< U >::first [private] |
Holds a reference to the beginning of this row.
Definition at line 154 of file OR_Matrix.defs.hh.
Referenced by Parma_Polyhedra_Library::OR_Matrix< T >::Pseudo_Row< U >::operator=(), and Parma_Polyhedra_Library::OR_Matrix< T >::Pseudo_Row< U >::operator[]().