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
fib Namespace Reference

Namespaces

namespace  algorithms

Classes

class  cArea
class  cComment
class  cCondition
class  cConditionAnd
class  cConditionComparison
class  cConditionEqualInteger
class  cConditionFalse
class  cConditionGreater
class  cConditionLower
class  cConditionNot
class  cConditionOr
class  cConditionTrue
class  cConditionTwoValue
class  cConditionXor
class  cDomain
class  cDomainElement
class  cDomainInteger
class  cDomainIntegerBasis
class  cDomainIntegerBit
class  cDomainNaturalNumber
class  cDomainNaturalNumberBit
class  cDomainRational
class  cDomainRationalBasis
class  cDomainReference
class  cDomains
class  cDomainSingle
class  cDomainVector
class  cDomainVectorBasis
class  cDomainVectorOpenEnd
class  cEvalueFibElementList
class  cEvaluePositionList
class  cEvaluePositionListLimit
class  cEvaluePositionListMemLimit
class  cEvalueSimpleRGBA255
class  cExtObject
class  cExtSubobject
class  cFibBranch
class  cFibDatabase
class  cFibElement
class  cFibLeaf
class  cFibLimb
class  cFibMatrix
class  cFibObjectCounts
class  cFibSet
class  cFibVariable
class  cFibVector
class  cFunction
class  cFunctionAbs
class  cFunctionAdd
class  cFunctionArcsin
class  cFunctionDiv
class  cFunctionExp
class  cFunctionIf
class  cFunctionLog
class  cFunctionMax
class  cFunctionMin
class  cFunctionMod
class  cFunctionMult
class  cFunctionOneValue
class  cFunctionRound
class  cFunctionSin
class  cFunctionSub
class  cFunctionTwoValue
class  cFunctionValue
class  cFunctionVariable
class  cIf
class  cList
class  cMultimediaInfo
class  cOptionalPart
class  cPoint
class  cProperty
class  cReadBits
class  cRoot
class  cTypeArea
class  cTypeComments
class  cTypeDimension
class  cTypeElement
class  cTypeExtObject
class  cTypeExtObjectInput
class  cTypeExtSubobject
class  cTypeFibMatrix
class  cTypeFibSet
class  cTypeInVar
class  cTypeProperty
class  cTypeSubarea
class  cTypeUnderFunction
class  cTypeVariable
class  cUnderFunction
class  cVectorArea
class  cVectorChecksum
class  cVectorExtObject
class  cVectorExtSubobject
class  cVectorFibMatrix
class  cVectorFibSet
class  cVectorPosition
class  cVectorProperty
class  iEvalueFibElement
class  iEvaluePosition
class  iImageData
class  iVariableUser

Enumerations

enum  edDirection {
  ED_ALL, ED_POSITION, ED_BELOW, ED_HIGHER,
  ED_BELOW_EQUAL, ED_HIGHER_EQUAL
}

Functions

template<class Type >
longFib roundToLongFib (const Type &value)
template<class Type >
Type max (const Type &value1, const Type &value2)
template<class Type >
std::list< Type >::iterator getListElement (std::list< Type > &liList, unsigned long ulElementNumber)
template<class Type >
std::list< Type >::const_iterator getListElement (const std::list< Type > &liList, unsigned long ulElementNumber)
unsigned int getDigits (unsigned long long llValue)
void decomposeDoubleFib (const doubleFib dNumber, longFib *lMantissa, longFib *lExponent, intFib *iSizeMantissa=NULL, intFib *iSizeExponent=NULL)
unsigned long roundUpToFullByte (unsigned long ulNumberOfBits)
doubleFib gcd (doubleFib dValue1, doubleFib dValue2)
float absF (const float &dValue)
double absF (const double &dValue)
bool isEqualNull (const double &dValue)
bool isEqualNull (const float &dValue)
bool compareDouble (const double &dValue1, const double &dValue2)
bool compareDouble (const float &dValue1, const float &dValue2)
template<class tDouble >
bool compareVectorDouble (const std::vector< tDouble > &vector1, const std::vector< tDouble > &vector2)
template<class tDouble >
tDouble add (const tDouble &dValue1, const tDouble &dValue2)
template<class tDouble >
tDouble sub (const tDouble &dValue1, const tDouble &dValue2)
template<class tDouble >
tDouble addToFirst (tDouble &dValue1, const tDouble &dValue2)
template<class tDouble >
tDouble subFromFirst (tDouble &dValue1, const tDouble &dValue2)
template<class tDouble >
std::vector< tDouble > addToFirst (std::vector< tDouble > &vecValue1, const std::vector< tDouble > &vecValue2)
template<class tDouble >
std::vector< tDouble > multToFirst (std::vector< tDouble > &vecValue, const tDouble &dValue)

Enumeration Type Documentation

Enumerator:
ED_ALL 
ED_POSITION 
ED_BELOW 
ED_HIGHER 
ED_BELOW_EQUAL 
ED_HIGHER_EQUAL 

Definition at line 85 of file cFibElement.h.


Function Documentation

float fib::absF ( const float &  dValue)
Parameters:
dValuethe value, for which to evalue the positiv value
Returns:
the positive value for the given number dValue
double fib::absF ( const double &  dValue)
Parameters:
dValuethe value, for which to evalue the positiv value
Returns:
the positive value for the given number dValue
template<class tDouble >
tDouble fib::add ( const tDouble &  dValue1,
const tDouble &  dValue2 
)

This functions adds two floating point numbers. Really small differences will be ignored, this means: If one number is allmost equal to the negativ of the other the result is 0.

Parameters:
dValue1the first number to add
dValue2the second number to add
Returns:
the sum of the two given values

Definition at line 285 of file fibDatatyps.h.

template<class tDouble >
tDouble fib::addToFirst ( tDouble &  dValue1,
const tDouble &  dValue2 
)

This functions adds two floating point numbers. Really small differences will be ignored, this means: If one number is allmost equal to the negativ of the other the result is 0.

Parameters:
dValue1the first number to add, the sum will also be stored in this variable
dValue2the second number to add
Returns:
the sum of the two given values

Definition at line 326 of file fibDatatyps.h.

template<class tDouble >
std::vector< tDouble > fib::addToFirst ( std::vector< tDouble > &  vecValue1,
const std::vector< tDouble > &  vecValue2 
)

This functions adds two floating point number vectors. Really small differences will be ignored, this means: If one number is allmost equal to the negativ of the other the result is 0.

Parameters:
vecValue1the first vector to add, the sum will also be stored in this variable
vecValue2the second vector to add
Returns:
the sum of the two given vectors

Definition at line 372 of file fibDatatyps.h.

bool fib::compareDouble ( const double &  dValue1,
const double &  dValue2 
)

This functions compares two double numbers. Really small differences will be ignored.

Parameters:
dValue1the first number to compare
dValue2the second number to compare
Returns:
true if the first number is equal to the second, else false
bool fib::compareDouble ( const float &  dValue1,
const float &  dValue2 
)

This functions compares two float numbers. Really small differences will be ignored.

Parameters:
dValue1the first number to compare
dValue2the second number to compare
Returns:
true if the first number is equal to the second, else false
template<class tDouble >
bool fib::compareVectorDouble ( const std::vector< tDouble > &  vector1,
const std::vector< tDouble > &  vector2 
)

This functions compares two vectors with double numbers. Really small differences betwean the vector element numbers will be ignored.

Parameters:
vector1the first vector to compare
vector2the second vector to compare
Returns:
true if the first vector is equal to the second, else false

Definition at line 254 of file fibDatatyps.h.

void fib::decomposeDoubleFib ( const doubleFib  dNumber,
longFib lMantissa,
longFib lExponent,
intFib iSizeMantissa = NULL,
intFib iSizeExponent = NULL 
)

Decompses a doubleFib number into it's mantissa and exponent part.

Parameters:
dNumberthe number to decompose
lMantissaa pointer to the longFib field wher the mantissa should be stored
lExponenta pointer to the longFib field wher the exponent should be stored
iSizeMantissaa pointer to the intFib field wher the size of the mantissa in bits should be stored or NULL if it shouldn't be stored
iSizeExponenta pointer to the intFib field wher the size of the exponent in bits should be stored or NULL if it shouldn't be stored
doubleFib fib::gcd ( doubleFib  dValue1,
doubleFib  dValue2 
)

This function evalues the greatest common divisor of the two given numbers.

Parameters:
dValue1the first number
dValue2the second number
Returns:
the greatest common divisor of the two given numbers dValue1 and dValue2
unsigned int fib::getDigits ( unsigned long long  llValue)

This function evalues the digits needed to store a value as an natural number.

Parameters:
llValuethe value to evalue the digits for
Returns:
the digits needed to store a value as an natural number
template<class Type >
std::list< Type >::iterator fib::getListElement ( std::list< Type > &  liList,
unsigned long  ulElementNumber 
)

This returns the ulElementNumber'th element from an given list.

Parameters:
liListthe list from wher to return the list iterator
ulElementNumberthe number of the list element to return
Returns:
an iterator to the ulElementNumber'th list element

Definition at line 109 of file fibDatatyps.h.

template<class Type >
std::list< Type >::const_iterator fib::getListElement ( const std::list< Type > &  liList,
unsigned long  ulElementNumber 
)

This returns the ulElementNumber'th element from an given list.

Parameters:
liListthe list from wher to return the list iterator
ulElementNumberthe number of the list element to return
Returns:
an iterator to the ulElementNumber'th list element

Definition at line 130 of file fibDatatyps.h.

bool fib::isEqualNull ( const double &  dValue)

This functions checks if the given double number is equal 0. Really small differences will be ignored.

Parameters:
dValuethe number to check
Returns:
true if the given number is equal 0, else false
bool fib::isEqualNull ( const float &  dValue)

This functions checks if the given float number is equal 0. Really small differences will be ignored.

Parameters:
dValuethe number to check
Returns:
true if the given number is equal 0, else false
template<class Type >
Type fib::max ( const Type &  value1,
const Type &  value2 
)

This function evalues the maximum of two values.

Parameters:
value1the first value
value2the second value
Returns:
the maximum of the first and the second value

Definition at line 93 of file fibDatatyps.h.

template<class tDouble >
std::vector< tDouble > fib::multToFirst ( std::vector< tDouble > &  vecValue,
const tDouble &  dValue 
)

This functions multiplys a floating point number vector with a number.

Parameters:
vecValuethe vector to multiply with the number, the product will also be stored in this variable
dValuethe value to multiply the vector with
Returns:
the product of the given vector and the value

Definition at line 399 of file fibDatatyps.h.

template<class Type >
longFib fib::roundToLongFib ( const Type &  value)

This function rounds an double value to an longFib value.

Parameters:
valuethe value to round
Returns:
the rounded value

Definition at line 77 of file fibDatatyps.h.

unsigned long fib::roundUpToFullByte ( unsigned long  ulNumberOfBits)

This function rounds the given number of bits ulNumberOfBits up to a full number of byte;

Parameters:
ulNumberOfBitsthe number of bits to round
Returns:
the, to full byte rounded up, number of bits
template<class tDouble >
tDouble fib::sub ( const tDouble &  dValue1,
const tDouble &  dValue2 
)

This functions subtracts two floating point numbers. Really small differences will be ignored, this means: If one number is allmost equal to the other the result is 0.

Parameters:
dValue1the minuend of the subtraction
dValue2the subtrahend of the subtraction
Returns:
the difference of the two given values

Definition at line 305 of file fibDatatyps.h.

template<class tDouble >
tDouble fib::subFromFirst ( tDouble &  dValue1,
const tDouble &  dValue2 
)

This functions subtracts two floating point numbers. Really small differences will be ignored, this means: If one number is allmost equal to the other the result is 0.

Parameters:
dValue1the minuend of the subtraction, the difference will also be stored in this variable
dValue2the subtrahend of the subtraction
Returns:
the difference of the two given values

Definition at line 349 of file fibDatatyps.h.