BICO 1.1

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

- File List
- File Members

All Classes Namespaces Files Functions Variables Typedefs Pages
weightmodifier.h
Go to the documentation of this file.
1 #ifndef WEIGHTMODIFIER_H
2 #define WEIGHTMODIFIER_H
3
4 namespace CluE
5 {
6
12 template<typename T> class WeightModifier
13 {
14 public:
15 virtual ~WeightModifier()
16 {
17 }
18
23 virtual WeightModifier<T>* clone() const = 0;
24
25 virtual double getWeight(T&) = 0;
26 virtual void setWeight(T&, double) = 0;
27 };
28
29 }
30
31 #endif
CluE::WeightModifier::clone
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 pointe...
CluE::WeightModifier::~WeightModifier
virtual ~WeightModifier()
Definition: weightmodifier.h:15
CluE::WeightModifier::setWeight
virtual void setWeight(T &, double)=0
CluE::WeightModifier
Abstract base class to modify the weight of weighted objects.
Definition: weightmodifier.h:12
CluE::WeightModifier::getWeight
virtual double getWeight(T &)=0