BICO 1.1

- Main Page
- Related Pages
- Namespaces
- Classes
- Files

- Class List
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Pages
Public Member Functions | List of all members
CluE::WeightModifier< T > Class Template Referenceabstract

Abstract base class to modify the weight of weighted objects. More...

`#include <weightmodifier.h>`

Inheritance diagram for CluE::WeightModifier< T >:
Collaboration diagram for CluE::WeightModifier< T >:

## Public Member Functions
virtual | ~WeightModifier ()
virtual WeightModifier< T > * | clone () const =0
| make an exact copy of this object The clone method creates a copy of this object and returns a pointer to the new instance. More...
virtual double | getWeight (T &)=0
virtual void | setWeight (T &, double)=0

## Detailed Description

### template<typename T>
class CluE::WeightModifier< T >

Abstract base class to modify the weight of weighted objects.

Definition at line 12 of file weightmodifier.h.

## Constructor & Destructor Documentation

template<typename T>

virtual CluE::WeightModifier< T >::~WeightModifier | ( |  | ) |
| inline virtual

Definition at line 15 of file weightmodifier.h.

## Member Function Documentation

template<typename T>

virtual WeightModifier<T>* CluE::WeightModifier< T >::clone | ( |  | ) | const
| pure virtual

make an exact copy of this object The clone method creates a copy of this object and returns a pointer to the new instance.

Implemented in CluE::PointWeightModifier.

template<typename T>

virtual double CluE::WeightModifier< T >::getWeight | ( | T & |  | ) |
| pure virtual

Implemented in CluE::PointWeightModifier.

template<typename T>

virtual void CluE::WeightModifier< T >::setWeight | ( | T & | ,
|  | double |
| ) |  |
| pure virtual

Implemented in CluE::PointWeightModifier.

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

- src/base/weightmodifier.h