Thyra::Vector< Scalar >::IndexObject Class Reference

Allows an element to be changed using operator=(). More...

#include <Thyra_VectorDecl.hpp>

List of all members.

Public Member Functions

 IndexObject (const Teuchos::RCP< VectorBase< Scalar > > &v, Index i)
 IndexObject (const IndexObject &other)
 ~IndexObject ()
 Writes back the value if it changed.
 operator Scalar () const
 Implicit conversion to the underlying Scalar.
IndexObjectoperator= (const Scalar &value)
 Assignment from a scalar.


Detailed Description

template<class Scalar>
class Thyra::Vector< Scalar >::IndexObject

Allows an element to be changed using operator=().

Definition at line 200 of file Thyra_VectorDecl.hpp.


Constructor & Destructor Documentation

template<class Scalar>
Thyra::Vector< Scalar >::IndexObject::~IndexObject (  )  [inline]

Writes back the value if it changed.

Definition at line 218 of file Thyra_VectorDecl.hpp.


Member Function Documentation

template<class Scalar>
Thyra::Vector< Scalar >::IndexObject::operator Scalar (  )  const [inline]

Implicit conversion to the underlying Scalar.

Definition at line 228 of file Thyra_VectorDecl.hpp.

template<class Scalar>
IndexObject& Thyra::Vector< Scalar >::IndexObject::operator= ( const Scalar &  value  )  [inline]

Assignment from a scalar.

Definition at line 230 of file Thyra_VectorDecl.hpp.


The documentation for this class was generated from the following file:
Generated on Tue Oct 20 12:47:01 2009 for Thyra Operator/Vector Support by doxygen 1.4.7