theplu::yat::utility::DataWeightProxy< DataIterator, WeightIterator > Class Template Reference

Proxy class for DataWeight. More...

#include <yat/utility/DataWeightProxy.h>

List of all members.

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
DataWeightProxyoperator= (const DataWeightProxy &rhs)
 assignment operator
DataWeightProxyoperator= (const DataWeight &rhs)
 assignment operator
 operator DataWeight () const
 Conversion to DataWeight.


Detailed Description

template<typename DataIterator, typename WeightIterator>
class theplu::yat::utility::DataWeightProxy< DataIterator, WeightIterator >

Proxy class for DataWeight.

For internal use only.

DataIterator and WeightIterator should be a mutable TrivialIterator


Constructor & Destructor Documentation

template<typename DataIterator, typename WeightIterator>
theplu::yat::utility::DataWeightProxy< DataIterator, WeightIterator >::DataWeightProxy ( DataIterator  data,
WeightIterator  weight 
) [inline]

Default constructor.

Parameters:
data iterator pointing to data to hold
weight iterator pointing to weight to hold


Member Function Documentation

template<typename DataIterator, typename WeightIterator>
double& theplu::yat::utility::DataWeightProxy< DataIterator, WeightIterator >::data ( void   )  [inline]

Returns:
reference to data

template<typename DataIterator, typename WeightIterator>
const double& theplu::yat::utility::DataWeightProxy< DataIterator, WeightIterator >::data ( void   )  const [inline]

Returns:
const reference to data

template<typename DataIterator, typename WeightIterator>
double& theplu::yat::utility::DataWeightProxy< DataIterator, WeightIterator >::weight ( void   )  [inline]

Returns:
reference to weight

template<typename DataIterator, typename WeightIterator>
const double& theplu::yat::utility::DataWeightProxy< DataIterator, WeightIterator >::weight ( void   )  const [inline]

Returns:
const reference to weight


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

Generated on Tue Jan 18 02:21:18 2011 for yat by  doxygen 1.5.5