iRoCS Toolbox  1.1.0
Public Member Functions | Protected Attributes
svt::SparseItem Class Reference

The SparseItem class specifies one element in a SpareFV. More...

#include <SparseFV.hh>

Collaboration diagram for svt::SparseItem:

Public Member Functions

 SparseItem (unsigned int index, double value)
 
unsigned int index () const
 
const double & value () const
 
double & value ()
 

Protected Attributes

unsigned int pIndex
 
double pValue
 

Detailed Description

The SparseItem class specifies one element in a SpareFV.

Definition at line 97 of file SparseFV.hh.

Constructor & Destructor Documentation

◆ SparseItem()

svt::SparseItem::SparseItem ( unsigned int  index,
double  value 
)
inline

Definition at line 100 of file SparseFV.hh.

Member Function Documentation

◆ index()

unsigned int svt::SparseItem::index ( ) const
inline

Definition at line 107 of file SparseFV.hh.

Referenced by svt::SparseFV::operator[](), and svt::SparseFV::readWithoutLabel().

◆ value() [1/2]

const double& svt::SparseItem::value ( ) const
inline

Definition at line 112 of file SparseFV.hh.

Referenced by svt::SparseFV::readWithoutLabel(), and svt::SparseFV::setLabel().

◆ value() [2/2]

double& svt::SparseItem::value ( )
inline

Definition at line 117 of file SparseFV.hh.

Field Documentation

◆ pIndex

unsigned int svt::SparseItem::pIndex
protected

Definition at line 120 of file SparseFV.hh.

Referenced by index().

◆ pValue

double svt::SparseItem::pValue
protected

Definition at line 125 of file SparseFV.hh.

Referenced by value().


The documentation for this class was generated from the following file: