Tool to manipulate a vector entry while building a vector. More...
#include <core/alien/data/utils/VectorElement.h>
Public Member Functions | |
| VectorElementT (Arccore::ArrayView< T > values, Arccore::ConstArrayView< Arccore::Integer > indexes, Arccore::Integer local_offset) | |
| Constructor. | |
| void | operator= (Arccore::ConstArrayView< T > values) |
| Operator equal. | |
| void | operator+= (Arccore::ConstArrayView< T > values) |
| Plus equal operator. | |
| void | operator-= (Arccore::ConstArrayView< T > values) |
| Minus equal operator. | |
Private Attributes | |
| Arccore::ArrayView< T > & | m_values |
| The array of values. | |
| Arccore::ConstArrayView< Arccore::Integer > | m_indexes |
| The array of indexes. | |
| Arccore::Integer | m_local_offset |
| The offset. | |
Tool to manipulate a vector entry while building a vector.
| T | The data type of the vector |
| Indexer | The indexer |
Definition at line 47 of file VectorElement.h.
| Alien::VectorElementT< T, Indexer >::VectorElementT | ( | Arccore::ArrayView< T > | values, |
| Arccore::ConstArrayView< Arccore::Integer > | indexes, | ||
| Arccore::Integer | local_offset ) |
Constructor.
| [in] | values | The array values |
| [in] | indexes | The indexes to work on |
| [in] | local_offset | The offset |
Definition at line 36 of file VectorElementT.h.
References m_indexes, m_local_offset, and m_values.
| void Alien::VectorElementT< T, Indexer >::operator+= | ( | Arccore::ConstArrayView< T > | values | ) |
Plus equal operator.
| [in] | values | The values to add |
Definition at line 61 of file VectorElementT.h.
References m_indexes, m_local_offset, and m_values.
| void Alien::VectorElementT< T, Indexer >::operator-= | ( | Arccore::ConstArrayView< T > | values | ) |
Minus equal operator.
| [in] | values | The values to substract |
Definition at line 74 of file VectorElementT.h.
References m_indexes, m_local_offset, and m_values.
| void Alien::VectorElementT< T, Indexer >::operator= | ( | Arccore::ConstArrayView< T > | values | ) |
Operator equal.
| [in] | values | The values to set |
Definition at line 48 of file VectorElementT.h.
References m_indexes, m_local_offset, and m_values.
|
private |
The array of indexes.
Definition at line 82 of file VectorElement.h.
Referenced by operator+=(), operator-=(), operator=(), and VectorElementT().
|
private |
The offset.
Definition at line 84 of file VectorElement.h.
Referenced by operator+=(), operator-=(), operator=(), and VectorElementT().
|
private |
The array of values.
Definition at line 80 of file VectorElement.h.
Referenced by operator+=(), operator-=(), operator=(), and VectorElementT().