The Fib multimedia system
Fib is a system for storing multimedia data (like images or films).
|
#include <cConditionEqualInteger.h>
Public Member Functions | |
cConditionEqualInteger (cUnderFunction *pInFirstSubFunction, cUnderFunction *pInSecondSubFunction, cCondition *pInSuperiorCondition=NULL, cFibElement *pInDefiningFibElement=NULL) | |
cConditionEqualInteger (const cUnderFunction &inFirstSubFunction, const cUnderFunction &inSecondSubFunction, cCondition *pInSuperiorCondition=NULL, cFibElement *pInDefiningFibElement=NULL) | |
cConditionEqualInteger (const cConditionEqualInteger &condition, cCondition *pInSuperiorCondition=NULL, cFibElement *pInDefiningFibElement=NULL) | |
virtual | ~cConditionEqualInteger () |
virtual bool | getValue () const |
virtual cConditionEqualInteger * | clone (cCondition *pInSuperiorCondition=NULL, cFibElement *pInDefiningFibElement=NULL) const |
virtual unsignedIntFib | getType () const |
virtual string | getConditionName () const |
Public Member Functions inherited from fib::cConditionComparison | |
cConditionComparison (cUnderFunction *pInFirstSubFunction, cUnderFunction *pInSecondSubFunction, cCondition *pInSuperiorCondition=NULL, cFibElement *pInDefiningFibElement=NULL) | |
cConditionComparison (const cUnderFunction &inFirstSubFunction, const cUnderFunction &inSecondSubFunction, cCondition *pInSuperiorCondition=NULL, cFibElement *pInDefiningFibElement=NULL) | |
cConditionComparison (const cConditionComparison &condition, cCondition *pInSuperiorCondition=NULL, cFibElement *pInDefiningFibElement=NULL) | |
virtual | ~cConditionComparison () |
virtual bool | isValid () const |
virtual bool | isUsedVariable (const cFibVariable *variable) const |
virtual set< cFibVariable * > | getUsedVariables () |
virtual bool | replaceVariable (cFibVariable *variableOld, cFibVariable *variableNew) |
virtual unsignedIntFib | getNumberOfConditions () const |
virtual unsignedIntFib | getNumberOfUnderFunctions () const |
virtual void | setDefiningFibElement (cFibElement *pDefiningFibElement=NULL, bool bCheckDomains=true) |
virtual unsignedLongFib | getTimeNeed (unsignedLongFib lMaxTime=0) const |
virtual unsignedLongFib | getCompressedSize () const |
virtual bool | store (ostream &stream, char &cRestBits, unsigned char &uiRestBitPosition) const |
virtual bool | storeXml (ostream &stream) const |
virtual bool | equal (const cCondition &condition) const |
cUnderFunction * | getFirstSubFunction () |
const cUnderFunction * | getFirstSubFunction () const |
bool | setFirstSubFunction (cUnderFunction *pInSubFunction, bool bDeleteOld=true) |
bool | setFirstSubFunction (const cUnderFunction &pInSubFunction, bool bDeleteOld=true) |
cUnderFunction * | getSecondSubFunction () |
const cUnderFunction * | getSecondSubFunction () const |
bool | setSecondSubFunction (cUnderFunction *pInSubFunction, bool bDeleteOld=true) |
bool | setSecondSubFunction (const cUnderFunction &pInSubFunction, bool bDeleteOld=true) |
Public Member Functions inherited from fib::cCondition | |
virtual | ~cCondition () |
cFibElement * | getDefiningFibElement () const |
cCondition * | getSuperiorCondition () const |
virtual bool | operator== (const cCondition &condition) const |
bool | operator!= (const cCondition &condition) const |
Protected Member Functions | |
virtual char | getTypeBit () const |
Additional Inherited Members | |
Protected Attributes inherited from fib::cConditionComparison | |
cUnderFunction * | pFirstSubFunction |
cUnderFunction * | pSecondSubFunction |
Protected Attributes inherited from fib::cCondition | |
cCondition * | pSuperiorCondition |
cFibElement * | pDefiningFibElement |
Definition at line 53 of file cConditionEqualInteger.h.
fib::cConditionEqualInteger::cConditionEqualInteger | ( | cUnderFunction * | pInFirstSubFunction, |
cUnderFunction * | pInSecondSubFunction, | ||
cCondition * | pInSuperiorCondition = NULL , |
||
cFibElement * | pInDefiningFibElement = NULL |
||
) |
The constructor of the xor condition.
pInFirstSubFunction | a pointer to the first function, this condition contains; Beware: It (pSubFunction) won't be copied. |
pInSecondSubFunction | a pointer to the second function, this condition contains; Beware: It (pSubFunction) won't be copied. |
pInSuperiorCondition | the condition which contains the new condition |
pInDefiningFibElement | the Fib-element which defines/ uses the new condition |
fib::cConditionEqualInteger::cConditionEqualInteger | ( | const cUnderFunction & | inFirstSubFunction, |
const cUnderFunction & | inSecondSubFunction, | ||
cCondition * | pInSuperiorCondition = NULL , |
||
cFibElement * | pInDefiningFibElement = NULL |
||
) |
The constructor of the xor condition.
inFirstSubFunction | the first function, this condition contains |
inSecondSubFunction | the second function, this condition contains |
pInSuperiorCondition | the condition which contains the new condition |
pInDefiningFibElement | the Fib-element which defines/ uses the new condition |
fib::cConditionEqualInteger::cConditionEqualInteger | ( | const cConditionEqualInteger & | condition, |
cCondition * | pInSuperiorCondition = NULL , |
||
cFibElement * | pInDefiningFibElement = NULL |
||
) |
The copy constructor of the condition. This constructor will also copy the subfunctions of the given condition.
condition | the condition which to copy |
pInSuperiorCondition | the condition which contains the new condition |
pInDefiningFibElement | the Fib-element which defines/ uses the new condition |
|
virtual |
The destructor of the condition.
|
virtual |
This method duplicates this whole condition. subfunction of this condition are also cloned.
pSuperiorCondition | the condition which contains the cloned condition |
pInDefiningFibElement | the Fib-element which defines/ uses the cloned condition |
Implements fib::cCondition.
|
virtual |
Implements fib::cCondition.
|
virtual |
Implements fib::cCondition.
|
protectedvirtual |
Implements fib::cConditionComparison.
|
virtual |
Returns the value of the condition (if it is true or false).
Implements fib::cCondition.