Thyra Package Browser (Single Doxygen Collection) Version of the Day
Public Member Functions | Private Member Functions | Private Attributes
Thyra::ConstDetachedMultiVectorView< Scalar > Class Template Reference

Create an explicit non-mutable (const) view of a MultiVectorBase object. More...

#include <Thyra_DetachedMultiVectorView.hpp>

List of all members.

Public Member Functions

 ConstDetachedMultiVectorView (const MultiVectorBase< Scalar > &mv, const Range1D &rowRng=Range1D(), const Range1D &colRng=Range1D())
 
 ~ConstDetachedMultiVectorView ()
 
const
RTOpPack::ConstSubMultiVectorView
< Scalar > & 
smv () const
 
Teuchos_Index globalOffset () const
 
Teuchos_Index subDim () const
 
Teuchos_Index colOffset () const
 
Teuchos_Index numSubCols () const
 
const Scalar * values () const
 
Teuchos_Index leadingDim () const
 
const Scalar & operator() (Teuchos_Index i, Teuchos_Index j) const
 Zero-based indexing: Preconditions: values()!=NULL && (0<=i<subDim()) && (0<=j<numSubCols())

Private Member Functions

 ConstDetachedMultiVectorView ()
 ConstDetachedMultiVectorView (const ConstDetachedMultiVectorView< Scalar > &)
ConstDetachedMultiVectorView
< Scalar > & 
operator== (const ConstDetachedMultiVectorView< Scalar > &)

Private Attributes

const MultiVectorBase< Scalar > & mv_
RTOpPack::ConstSubMultiVectorView
< Scalar > 
smv_

Detailed Description

template<class Scalar>
class Thyra::ConstDetachedMultiVectorView< Scalar >

Create an explicit non-mutable (const) view of a MultiVectorBase object.

Definition at line 42 of file Thyra_DetachedMultiVectorView.hpp.


Constructor & Destructor Documentation

template<class Scalar>
Thyra::ConstDetachedMultiVectorView< Scalar >::ConstDetachedMultiVectorView ( const MultiVectorBase< Scalar > &  mv,
const Range1D rowRng = Range1D(),
const Range1D colRng = Range1D() 
) [inline]
template<class Scalar>
Thyra::ConstDetachedMultiVectorView< Scalar >::~ConstDetachedMultiVectorView ( ) [inline]
template<class Scalar>
Thyra::ConstDetachedMultiVectorView< Scalar >::ConstDetachedMultiVectorView ( ) [private]
template<class Scalar>
Thyra::ConstDetachedMultiVectorView< Scalar >::ConstDetachedMultiVectorView ( const ConstDetachedMultiVectorView< Scalar > &  ) [private]

Member Function Documentation

template<class Scalar>
const RTOpPack::ConstSubMultiVectorView<Scalar>& Thyra::ConstDetachedMultiVectorView< Scalar >::smv ( ) const [inline]
template<class Scalar>
Teuchos_Index Thyra::ConstDetachedMultiVectorView< Scalar >::globalOffset ( ) const [inline]
template<class Scalar>
Teuchos_Index Thyra::ConstDetachedMultiVectorView< Scalar >::subDim ( ) const [inline]
template<class Scalar>
Teuchos_Index Thyra::ConstDetachedMultiVectorView< Scalar >::colOffset ( ) const [inline]
template<class Scalar>
Teuchos_Index Thyra::ConstDetachedMultiVectorView< Scalar >::numSubCols ( ) const [inline]
template<class Scalar>
const Scalar* Thyra::ConstDetachedMultiVectorView< Scalar >::values ( ) const [inline]
template<class Scalar>
Teuchos_Index Thyra::ConstDetachedMultiVectorView< Scalar >::leadingDim ( ) const [inline]
template<class Scalar>
const Scalar& Thyra::ConstDetachedMultiVectorView< Scalar >::operator() ( Teuchos_Index  i,
Teuchos_Index  j 
) const [inline]

Zero-based indexing: Preconditions: values()!=NULL && (0<=i<subDim()) && (0<=j<numSubCols())

Definition at line 66 of file Thyra_DetachedMultiVectorView.hpp.

References Thyra::ConstDetachedMultiVectorView< Scalar >::smv_.

template<class Scalar>
ConstDetachedMultiVectorView<Scalar>& Thyra::ConstDetachedMultiVectorView< Scalar >::operator== ( const ConstDetachedMultiVectorView< Scalar > &  ) [private]

Member Data Documentation

template<class Scalar>
const MultiVectorBase<Scalar>& Thyra::ConstDetachedMultiVectorView< Scalar >::mv_ [private]
template<class Scalar>
RTOpPack::ConstSubMultiVectorView<Scalar> Thyra::ConstDetachedMultiVectorView< Scalar >::smv_ [private]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines