#include <yat/utility/DataWeightProxy.h>
Public Member Functions | |
DataWeightProxy (DataIterator data, WeightIterator weight) | |
Default constructor. | |
double & | data (void) |
const double & | data (void) const |
double & | weight (void) |
const double & | weight (void) const |
DataWeightProxy & | operator= (const DataWeightProxy &rhs) |
assignment operator | |
DataWeightProxy & | operator= (const DataWeight &rhs) |
assignment operator | |
operator DataWeight () const | |
Conversion to DataWeight. |
For internal use only.
DataIterator and WeightIterator should be a mutable TrivialIterator
theplu::yat::utility::DataWeightProxy< DataIterator, WeightIterator >::DataWeightProxy | ( | DataIterator | data, | |
WeightIterator | weight | |||
) | [inline] |
Default constructor.
data | iterator pointing to data to hold | |
weight | iterator pointing to weight to hold |
double& theplu::yat::utility::DataWeightProxy< DataIterator, WeightIterator >::data | ( | void | ) | [inline] |
const double& theplu::yat::utility::DataWeightProxy< DataIterator, WeightIterator >::data | ( | void | ) | const [inline] |
double& theplu::yat::utility::DataWeightProxy< DataIterator, WeightIterator >::weight | ( | void | ) | [inline] |
const double& theplu::yat::utility::DataWeightProxy< DataIterator, WeightIterator >::weight | ( | void | ) | const [inline] |