SOFA API  6dc60b15
Open source framework for multi-physics simuation
sofa::core::behavior::MultiMatrixAccessor::MatrixRef Class Reference

#include <MultiMatrixAccessor.h>

Simple structure holding a reference to the submatrix related to one MechanicalState. More...

Detailed Description

Simple structure holding a reference to the submatrix related to one MechanicalState.

Public Attributes

defaulttype::BaseMatrixmatrix
 
unsigned int offset
 

Public Member Functions

 MatrixRef ()
 
defaulttype::BaseMatrixoperator-> () const
 
bool operator! () const
 
 operator bool () const
 
void operator= (const MatrixRef &b)
 

Attribute details

defaulttype::BaseMatrix* sofa::core::behavior::MultiMatrixAccessor::MatrixRef::matrix
unsigned int sofa::core::behavior::MultiMatrixAccessor::MatrixRef::offset

Constructor details

sofa::core::behavior::MultiMatrixAccessor::MatrixRef::MatrixRef ( )
inline

Function details

sofa::core::behavior::MultiMatrixAccessor::MatrixRef::operator bool ( ) const
inline
bool sofa::core::behavior::MultiMatrixAccessor::MatrixRef::operator! ( ) const
inline
defaulttype::BaseMatrix* sofa::core::behavior::MultiMatrixAccessor::MatrixRef::operator-> ( ) const
inline
void sofa::core::behavior::MultiMatrixAccessor::MatrixRef::operator= ( const MatrixRef b)
inline