The Fib multimedia system
Fib is a system for storing multimedia data (like images or films).
|
#include <cConditionAnd.h>
Public Member Functions | |
cConditionAnd (cCondition *pInFirstSubCondition, cCondition *pInSecondSubCondition, cCondition *pInSuperiorCondition=NULL, cFibElement *pInDefiningFibElement=NULL) | |
cConditionAnd (const cCondition &inFirstSubCondition, const cCondition &inSecondSubCondition, cCondition *pInSuperiorCondition=NULL, cFibElement *pInDefiningFibElement=NULL) | |
cConditionAnd (const cConditionAnd &condition, cCondition *pInSuperiorCondition=NULL, cFibElement *pInDefiningFibElement=NULL) | |
virtual | ~cConditionAnd () |
virtual bool | getValue () const |
virtual cConditionAnd * | clone (cCondition *pInSuperiorCondition=NULL, cFibElement *pInDefiningFibElement=NULL) const |
virtual unsignedIntFib | getType () const |
virtual string | getConditionName () const |
Public Member Functions inherited from fib::cConditionTwoValue | |
cConditionTwoValue (cCondition *pInFirstSubCondition, cCondition *pInSecondSubCondition, cCondition *pInSuperiorCondition=NULL, cFibElement *pInDefiningFibElement=NULL) | |
cConditionTwoValue (const cCondition &inFirstSubCondition, const cCondition &inSecondSubCondition, cCondition *pInSuperiorCondition=NULL, cFibElement *pInDefiningFibElement=NULL) | |
cConditionTwoValue (const cConditionTwoValue &condition, cCondition *pInSuperiorCondition=NULL, cFibElement *pInDefiningFibElement=NULL) | |
virtual | ~cConditionTwoValue () |
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 |
cCondition * | getFirstSubCondition () |
const cCondition * | getFirstSubCondition () const |
bool | setFirstSubCondition (cCondition *pInSubCondition, bool bDeleteOld=true) |
bool | setFirstSubCondition (const cCondition &pInSubCondition, bool bDeleteOld=true) |
cCondition * | getSecondSubCondition () |
const cCondition * | getSecondSubCondition () const |
bool | setSecondSubCondition (cCondition *pInSubCondition, bool bDeleteOld=true) |
bool | setSecondSubCondition (const cCondition &pInSubCondition, 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::cConditionTwoValue | |
cCondition * | pFirstSubCondition |
cCondition * | pSecondSubCondition |
Protected Attributes inherited from fib::cCondition | |
cCondition * | pSuperiorCondition |
cFibElement * | pDefiningFibElement |
Definition at line 52 of file cConditionAnd.h.
fib::cConditionAnd::cConditionAnd | ( | cCondition * | pInFirstSubCondition, |
cCondition * | pInSecondSubCondition, | ||
cCondition * | pInSuperiorCondition = NULL , |
||
cFibElement * | pInDefiningFibElement = NULL |
||
) |
The constructor of the and condition.
pInFirstSubCondition | a pointer to the first condition, this condition contains; Beware: It (pSubCondition) won't be copied. |
pInSecondSubCondition | a pointer to the second condition, this condition contains; Beware: It (pSubCondition) won't be copied. |
pInSuperiorCondition | the condition which contains the new condition |
pInDefiningFibElement | the Fib-element which defines/ uses the new condition |
fib::cConditionAnd::cConditionAnd | ( | const cCondition & | inFirstSubCondition, |
const cCondition & | inSecondSubCondition, | ||
cCondition * | pInSuperiorCondition = NULL , |
||
cFibElement * | pInDefiningFibElement = NULL |
||
) |
The constructor of the and condition.
inFirstSubCondition | the first condition, this condition contains |
inSecondSubCondition | the second condition, this condition contains |
pInSuperiorCondition | the condition which contains the new condition |
pInDefiningFibElement | the Fib-element which defines/ uses the new condition |
fib::cConditionAnd::cConditionAnd | ( | const cConditionAnd & | condition, |
cCondition * | pInSuperiorCondition = NULL , |
||
cFibElement * | pInDefiningFibElement = NULL |
||
) |
The copy constructor of the condition. This constructor will also copy the subconditions 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. subcondition 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::cConditionTwoValue.
|
virtual |
Returns the value of the condition (if it is true or false).
Implements fib::cCondition.