The Fib multimedia system
Fib is a system for storing multimedia data (like images or films).
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
enviroment::fib::cFibObjectFitness Class Reference

#include <cFibObjectFitness.h>

Inheritance diagram for enviroment::fib::cFibObjectFitness:
Collaboration diagram for enviroment::fib::cFibObjectFitness:

List of all members.

Public Member Functions

 cFibObjectFitness (const cFibObjectFitness &objectFitness)
virtual ~cFibObjectFitness ()
virtual string getClassName () const
const cFibObjectFitnessAlgorithmgetFitnessAlgorithm () const
virtual cFibObjectFitnessclone () const
virtual bool operator== (const cFibObjectFitness &fitness) const
- Public Member Functions inherited from enviroment::cObjectFitness
 cObjectFitness (const cObjectFitness &objectFitness)
virtual ~cObjectFitness ()
virtual double getFitness () const
virtual bool equal (const cObjectFitness &fitness) const
virtual bool operator== (const cObjectFitness &fitness) const
virtual bool operator< (const cObjectFitness &fitness) const

Protected Member Functions

 cFibObjectFitness (double dInFittness, const cFibObjectFitnessAlgorithm *pInFibObjectFitnessAlgorithm=NULL)
- Protected Member Functions inherited from enviroment::cObjectFitness
 cObjectFitness (double dInFittness, const cObjectFitnessAlgorithm *pInObjectFitnessAlgorithm=NULL)

Friends

class cFibObjectFitnessAlgorithm

Additional Inherited Members

- Protected Attributes inherited from enviroment::cObjectFitness
double dFittness
const cObjectFitnessAlgorithmpObjectFitnessAlgorithm

Detailed Description

Definition at line 59 of file cFibObjectFitness.h.


Constructor & Destructor Documentation

enviroment::fib::cFibObjectFitness::cFibObjectFitness ( double  dInFittness,
const cFibObjectFitnessAlgorithm pInFibObjectFitnessAlgorithm = NULL 
)
protected

constructor

Parameters:
dInFittnessa value for the fitness of the object; the higher this value is the better the fitness
pInFibObjectFitnessAlgorithmthe algorithm with which this fitness was created; if NULL no algorithm had created this object; Beware: this object won't be copied, if you delete it getFitnessAlgorithm() will return an invalid pointer
enviroment::fib::cFibObjectFitness::cFibObjectFitness ( const cFibObjectFitness objectFitness)

copyconstructor

Parameters:
objectFitnessthe cObjectFitness object to copy
virtual enviroment::fib::cFibObjectFitness::~cFibObjectFitness ( )
virtual

Destructor of the class cFibObjectFitness.


Member Function Documentation

virtual cFibObjectFitness* enviroment::fib::cFibObjectFitness::clone ( ) const
virtual

This Method clones this object.

Returns:
a clone of this object

Reimplemented from enviroment::cObjectFitness.

Reimplemented in enviroment::fib::cFibObjectFitnessBasic.

virtual string enviroment::fib::cFibObjectFitness::getClassName ( ) const
virtual
Returns:
the name of this class

Reimplemented from enviroment::cObjectFitness.

Reimplemented in enviroment::fib::cFibObjectFitnessBasic.

const cFibObjectFitnessAlgorithm* enviroment::fib::cFibObjectFitness::getFitnessAlgorithm ( ) const
Returns:
the algorithm with which this fitness was created; if NULL no algorithm had created this object

Reimplemented from enviroment::cObjectFitness.

Reimplemented in enviroment::fib::cFibObjectFitnessBasic.

virtual bool enviroment::fib::cFibObjectFitness::operator== ( const cFibObjectFitness fitness) const
virtual

Comparisson on equal operator for two fitness objects.

Parameters:
fitnessthe fitnessobject to compare this fitnessobject to
Returns:
true if the fitness this object represents is equal to the fitness the given object fitness represents

Friends And Related Function Documentation

friend class cFibObjectFitnessAlgorithm
friend

Definition at line 61 of file cFibObjectFitness.h.


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