class ValueProxy allows the SparseVector to differentiate between writing and reading, so zeros can be ignored See "more effective c++" section 30 More...
#include <OpenMS/DATASTRUCTURES/SparseVector.h>
| Public Member Functions | |
| ValueProxy (SparseVector &vec, size_type index) | |
| public constructor  More... | |
| operator double () const | |
| cast operator for implicit casting in case of reading in the vector  More... | |
| operator int () const | |
| cast operator for implicit casting in case of reading in the vector  More... | |
| operator float () const | |
| cast operator for implicit casting in case of reading in the vector  More... | |
| ValueProxy & | operator= (const ValueProxy &rhs) | 
| assignment operator, ditches the sparse elements  More... | |
| ValueProxy & | operator= (Value val) | 
| assignment operator, ditches the sparse elements  More... | |
| bool | operator!= (const ValueProxy &other) | 
| inequality operator  More... | |
| bool | operator== (const ValueProxy &other) | 
| equality operator  More... | |
| bool | operator< (const ValueProxy &other) | 
| less than operator  More... | |
| bool | operator> (const ValueProxy &other) | 
| greater than operator  More... | |
| bool | operator<= (const ValueProxy &other) | 
| less or equal than operator  More... | |
| bool | operator>= (const ValueProxy &other) | 
| greater or equal than operator  More... | |
| Private Attributes | |
| SparseVector & | vec_ | 
| the referring SparseVector  More... | |
| size_type | index_ | 
| the reference into the SparseVector  More... | |
class ValueProxy allows the SparseVector to differentiate between writing and reading, so zeros can be ignored See "more effective c++" section 30
| 
 | inline | 
public constructor
| 
 | inline | 
cast operator for implicit casting in case of reading in the vector
References SparseVector< Value >::ValueProxy::index_, SparseVector< Value >::sparse_element_, SparseVector< Value >::values_, and SparseVector< Value >::ValueProxy::vec_.
| 
 | inline | 
cast operator for implicit casting in case of reading in the vector
References SparseVector< Value >::ValueProxy::index_, SparseVector< Value >::sparse_element_, SparseVector< Value >::values_, and SparseVector< Value >::ValueProxy::vec_.
| 
 | inline | 
cast operator for implicit casting in case of reading in the vector
References SparseVector< Value >::ValueProxy::index_, SparseVector< Value >::sparse_element_, SparseVector< Value >::values_, and SparseVector< Value >::ValueProxy::vec_.
| 
 | inline | 
inequality operator
References SparseVector< Value >::ValueProxy::index_, and SparseVector< Value >::ValueProxy::vec_.
| 
 | inline | 
less than operator
| 
 | inline | 
less or equal than operator
| 
 | inline | 
assignment operator, ditches the sparse elements
References SparseVector< Value >::ValueProxy::index_, SparseVector< Value >::values_, and SparseVector< Value >::ValueProxy::vec_.
| 
 | inline | 
assignment operator, ditches the sparse elements
References SparseVector< Value >::ValueProxy::index_, SparseVector< Value >::sparse_element_, SparseVector< Value >::values_, and SparseVector< Value >::ValueProxy::vec_.
| 
 | inline | 
equality operator
| 
 | inline | 
greater than operator
| 
 | inline | 
greater or equal than operator
| 
 | private | 
the reference into the SparseVector
Referenced by SparseVector< Value >::ValueProxy::operator double(), SparseVector< Value >::ValueProxy::operator float(), SparseVector< Value >::ValueProxy::operator int(), SparseVector< Value >::ValueProxy::operator!=(), and SparseVector< Value >::ValueProxy::operator=().
| 
 | private | 
| OpenMS / TOPP release 1.11.1 | Documentation generated on Thu Nov 14 2013 11:19:29 using doxygen 1.8.5 |