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::cIndividualIdentifier Class Reference

#include <cIndividualIdentifier.h>

Collaboration diagram for enviroment::cIndividualIdentifier:

List of all members.

Public Member Functions

 cIndividualIdentifier (unsigned long long ulInAlgorithmIdentifier)
bool equal (const cIndividualIdentifier &idIndividual) const
bool operator== (const cIndividualIdentifier &idIndividual) const
bool operator!= (const cIndividualIdentifier &idIndividual) const
bool operator< (const cIndividualIdentifier &identifier) const

Static Public Member Functions

static cIndividualIdentifiergetNoIndividualIdentifier ()

Protected Member Functions

 cIndividualIdentifier (unsigned long long ulInIndividualIdentifier, unsigned long long ulInAlgorithmIdentifier)

Protected Attributes

unsigned long long ulIndividualIdentifier
unsigned long long ulAlgorithmIdentifier

Static Private Member Functions

static unsigned long long getNewIndividualIdentifier ()

Detailed Description

Definition at line 46 of file cIndividualIdentifier.h.


Constructor & Destructor Documentation

enviroment::cIndividualIdentifier::cIndividualIdentifier ( unsigned long long  ulInIndividualIdentifier,
unsigned long long  ulInAlgorithmIdentifier 
)
protected

constructor

Parameters:
ulInIndividualIdentifierthe identifier of the individual
ulInAlgorithmIdentifierthe identifier of the enviroment instantiation
enviroment::cIndividualIdentifier::cIndividualIdentifier ( unsigned long long  ulInAlgorithmIdentifier)

constructor

Parameters:
ulInAlgorithmIdentifierthe identifier of the enviroment instantiation

Member Function Documentation

bool enviroment::cIndividualIdentifier::equal ( const cIndividualIdentifier idIndividual) const

Comparisson on equal method for two cIndividualIdentifier objects.

Parameters:
idIndividualthe idIndividualobject to compare this idIndividualobject to
Returns:
true if the cIndividualIdentifier this object represents is equal to the cIndividualIdentifier the given object idIndividual represents
static unsigned long long enviroment::cIndividualIdentifier::getNewIndividualIdentifier ( )
staticprivate
Returns:
a individual identifier that wasn't used bevor
static cIndividualIdentifier& enviroment::cIndividualIdentifier::getNoIndividualIdentifier ( )
static
Returns:
a identifier for no individual; this will be lower ever other identifier
bool enviroment::cIndividualIdentifier::operator!= ( const cIndividualIdentifier idIndividual) const

Comparisson on not equal operator for two cIndividualIdentifier objects.

Parameters:
idIndividualthe idIndividualobject to compare this idIndividualobject to
Returns:
true if the cIndividualIdentifier this object represents is not equal to the cIndividualIdentifier the given object idIndividual represents
bool enviroment::cIndividualIdentifier::operator< ( const cIndividualIdentifier identifier) const

Comparisson on lower operator for two identifier objects. An identifier is lower, if it's algorithm identifier (

See also:
ulAlgorithmIdentifier) is lower or the algorithm identifiers are equal and the individual identifier (
ulIndividualIdentifier) is lower.

This method is mainly for sorting individuals.

See also:
ulAlgorithmIdentifier
ulIndividualIdentifier
Parameters:
identifierthe identifier to compare this identifier to
Returns:
true identifier is lower than the given identifier, else false
bool enviroment::cIndividualIdentifier::operator== ( const cIndividualIdentifier idIndividual) const

Comparisson on equal operator for two cIndividualIdentifier objects.

Parameters:
idIndividualthe idIndividualobject to compare this idIndividualobject to
Returns:
true if the cIndividualIdentifier this object represents is equal to the cIndividualIdentifier the given object idIndividual represents

Member Data Documentation

unsigned long long enviroment::cIndividualIdentifier::ulAlgorithmIdentifier
protected

the identifier of the enviroment instantiation, so this identifier is unique, even for different enviroment instantiations

Definition at line 60 of file cIndividualIdentifier.h.

unsigned long long enviroment::cIndividualIdentifier::ulIndividualIdentifier
protected

the identifier of a individual, wich is unique for all individuals in one enviroment instantiation

Definition at line 54 of file cIndividualIdentifier.h.


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