MOOCHO (Single Doxygen Collection)
Version of the Day
|
Extract a non-const DenseLinAlgPack::DVectorSlice
view of a VectorMutable
object.
More...
#include <AbstractLinAlgPack_VectorDenseEncap.hpp>
Public Member Functions | |
VectorDenseMutableEncap (VectorMutable &vec) | |
Calls vec.get_sub_vector(Range1D(),&sub_vec) to get the view. More... | |
~VectorDenseMutableEncap () | |
Calls vec.commit_sub_vector(&sub_vec) to release the view. More... | |
DVectorSlice & | operator() () |
Returns a reference to a constant view of the dense vector. More... | |
const DVectorSlice & | operator() () const |
Returns a reference to a non-const view of the dense vector. More... | |
Private Member Functions | |
VectorDenseMutableEncap () | |
VectorDenseMutableEncap (const VectorDenseMutableEncap &) | |
VectorDenseMutableEncap & | operator= (const VectorDenseMutableEncap &) |
Private Attributes | |
VectorMutable & | vec_ |
RTOpPack::MutableSubVector | sub_vec_ |
DVectorSlice | vs_ |
Extract a non-const DenseLinAlgPack::DVectorSlice
view of a VectorMutable
object.
This utility class is defined purly in terms of the abstract interfaces. It is only to be used as an automatic variable on the stack. Note that the underlying VectorMutable
object is not guarrenteed to be modified until the destructor for this
is called.
Definition at line 105 of file AbstractLinAlgPack_VectorDenseEncap.hpp.
|
inline |
Calls vec.get_sub_vector(Range1D(),&sub_vec)
to get the view.
Definition at line 161 of file AbstractLinAlgPack_VectorDenseEncap.hpp.
|
inline |
Calls vec.commit_sub_vector(&sub_vec)
to release the view.
Definition at line 174 of file AbstractLinAlgPack_VectorDenseEncap.hpp.
|
private |
|
private |
|
inline |
Returns a reference to a constant view of the dense vector.
Definition at line 180 of file AbstractLinAlgPack_VectorDenseEncap.hpp.
|
inline |
Returns a reference to a non-const view of the dense vector.
Definition at line 186 of file AbstractLinAlgPack_VectorDenseEncap.hpp.
|
private |
|
private |
Definition at line 119 of file AbstractLinAlgPack_VectorDenseEncap.hpp.
|
private |
Definition at line 120 of file AbstractLinAlgPack_VectorDenseEncap.hpp.
|
private |
Definition at line 121 of file AbstractLinAlgPack_VectorDenseEncap.hpp.