PositionElement< T > Class Template Reference

A simple class containing value and position attributes. More...

Inheritance diagram for PositionElement< T >:
OrderByPosition< T > OrderByValue< T >

List of all members.

Public Member Functions

float Value (void)
 Return the value of the element.
int Position (void)
 Return the position of the element.
void setContent (int position1, float value1)
 Set the position and value of the element.
void operator= (PositionElement< T > t)
 Assign the content of another element to this element.

Protected Attributes

int position
 The position of the element.
float value
 The value of the element.

Detailed Description

template<typename T>
class PositionElement< T >

A simple class containing value and position attributes.

This class allows the user to store the value and position of an element, hence loosing the need to store items in a particular order.

Author
lapark
Revision
1.10
Date
2009/10/08 06:41:29
Id
Accumulator.tcc,v 1.10 2009/10/08 06:41:29 lapark Exp

The documentation for this class was generated from the following file:
 All Classes Functions Variables Friends

Generated on Tue Nov 10 14:12:16 2009 for textIR by  doxygen 1.6.1