QVectorView Class Reference

List of all members.


Detailed Description

subview of an existing QVector, useful to operate on a QVector slice

Author:
Marco Vignati All the QVector methods of the member QVector are available except Resize, Append and in general all the methods changing the size. Once a QVectorView is created the member QVector keep the original size and operate on the same memory of the input QVector.
For const input QVector use QVectorConstView

Public Member Functions

 QVectorView (QVector &in, size_t start, size_t size)
 constructor
virtual ~QVectorView ()
 destructor: do not destroy the input QVector
QVectorGetVector () const
 Get subview QVector.

Private Member Functions

const QVectorViewoperator= (const QVectorView &other)
 operator=

Private Attributes

QVectorfVector

Constructor & Destructor Documentation

Q_BEGIN_NAMESPACE QVectorView::QVectorView ( QVector in,
size_t  start,
size_t  size 
)

constructor

Parameters:
in QVector this view refers to
start start index of the view
size number of the view elements

References QVector::fMathVec, QVector::fVec, and QVector::SetMathRange().


The documentation for this class was generated from the following files:

Generated on Tue Nov 16 10:50:08 2010 for CUORE Software by  doxygen 1.5.6