47 #ifndef ___C_FIB_LEAF_H__
48 #define ___C_FIB_LEAF_H__
80 #ifdef FEATURE_SIMPLE_CONSTRUCTOR
90 #else //FEATURE_SIMPLE_CONSTRUCTOR
106 #endif //FEATURE_SIMPLE_CONSTRUCTOR
126 virtual bool isValidFibElement()
const;
128 #ifdef FEATURE_FAST_UPDATE
147 virtual cFibElement * getNextFibElement(
char cType );
160 bool bAbsolute=
false )
const;
175 bool bAbsolute=
false )
const;
191 virtual bool isUsedVariable(
const cFibVariable *variable ,
210 #ifdef FEATURE_FAST_UPDATE
225 virtual unsignedIntFib getNumberOfElement(
bool bOfType=
false )
const;
236 #endif //FEATURE_FAST_UPDATE
249 virtual unsignedIntFib getNumberOfElements(
char cType=
'u' )
const;
262 virtual bool isMovable()
const;
288 uiObjectPoint,
bool bAbsolute=
false )
const;
312 virtual bool insertElement(
cFibElement *fibElement,
const char cType=
'u',
314 bool bCheckVariables=
true );
338 virtual bool insertObjectInElement(
cFibElement *fibObject,
const char cType=
'u',
340 bool bAbsolute=
false );
363 virtual bool overwriteObjectWithObject(
cFibElement *fibObject,
const char cType=
'u',
365 bool bAbsolute=
false );
382 bool bDeleteOld=
true,
bool bAbsolute=
false );
391 virtual bool hasUnderAllObjects( )
const;
412 virtual bool isRemovableElement(
const char cType=
'u',
const unsignedIntFib
413 elementPoint=0,
bool bAbsolute=
false,
bool bCheckVariables=
true )
const;
435 elementPoint=0,
bool bAbsolute=
false,
bool bCheckVariables=
true );
437 #ifdef FEATURE_FAST_UPDATE
443 virtual void deleteObject();
444 #endif //FEATURE_FAST_UPDATE
473 elementPoint=0,
const intFib iHowfar=1,
bool bAbsolute=
false );
476 #ifndef FEATURE_EQUAL_FIB_OBJECT
489 virtual bool equal(
const cFibElement & fibObject )
const;
491 #endif //FEATURE_EQUAL_FIB_OBJECT
497 virtual bool isLeaf()
const;
501 #ifdef FEATURE_FAST_UPDATE
518 const char cType )
const;
596 char cType,
longFib lNumber )
const;
598 #endif //FEATURE_FAST_UPDATE
600 #ifndef FEATURE_NO_REGISTER_NEW_FIB_
614 virtual bool registerNewFibElement(
cFibElement *newFibElement,
633 virtual bool registerNewFibObject(
cFibElement *newFibObject,
636 #endif //FEATURE_NO_REGISTER_NEW_FIB_
638 #ifndef FEATURE_FAST_UPDATE
689 virtual list<unsignedIntFib> elementPointToObjectPoints(
693 #endif //FEATURE_FAST_UPDATE
724 virtual list<cFibElement*> getAllFibElementsFromPosition(
char cType,
742 virtual bool isDefinedVariableInternal(
const cFibVariable * pVariable,
744 const cFibElement * pCallingFibElement = NULL )
const;
762 virtual list< cFibVariable* > getDefinedVariablesInternal(
766 #ifdef FEATURE_EQUAL_FIB_OBJECT
796 virtual bool equalInternal(
const cFibElement & fibObject,
797 map< const cRoot *, const cRoot * > & mapEqualRootObjects,
798 map< const cFibElement *, const cFibElement * > & mapEqualDefinedVariables,
799 const bool bCheckExternalObjects )
const;
801 #endif //FEATURE_EQUAL_FIB_OBJECT