Moses::ProxyFVector Class Reference

#include <FeatureVector.h>

Collaboration diagram for Moses::ProxyFVector:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 ProxyFVector (FVector *fv, const FName &name)
ProxyFVectoroperator= (const FValue &value)
 operator FValue ()
FValue operator++ ()
FValue operator+= (FValue lhs)
FValue operator-= (FValue lhs)


Detailed Description

Used to help with subscript operator overloading. See http://stackoverflow.com/questions/1386075/overloading-operator-for-a-sparse-vector

Definition at line 346 of file FeatureVector.h.


Constructor & Destructor Documentation

Moses::ProxyFVector::ProxyFVector ( FVector fv,
const FName name 
) [inline]

Definition at line 349 of file FeatureVector.h.


Member Function Documentation

Moses::ProxyFVector::operator FValue (  )  [inline]

Definition at line 359 of file FeatureVector.h.

FValue Moses::ProxyFVector::operator++ (  )  [inline]

Definition at line 369 of file FeatureVector.h.

FValue Moses::ProxyFVector::operator+= ( FValue  lhs  )  [inline]

Definition at line 373 of file FeatureVector.h.

FValue Moses::ProxyFVector::operator-= ( FValue  lhs  )  [inline]

Definition at line 377 of file FeatureVector.h.

ProxyFVector& Moses::ProxyFVector::operator= ( const FValue value  )  [inline]

Definition at line 350 of file FeatureVector.h.


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

Generated on Thu Jul 6 00:33:00 2017 for Moses by  doxygen 1.5.9