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 ()
 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 Thu Sep 18 12:32:33 2008 for Thyra Operator/Vector Support by doxygen 1.3.9.1