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

#include <cFibLeaf.h>

Inheritance diagram for fib::cFibLeaf:
Collaboration diagram for fib::cFibLeaf:

List of all members.

Public Member Functions

virtual bool isValidFibElement () const
virtual bool isUsedVariable (const cFibVariable *variable, edDirection direction=ED_POSITION) const
virtual set< cFibVariable * > getUsedVariables (edDirection direction=ED_POSITION)
virtual unsignedIntFib getNumberOfElements (char cType='u') const
virtual unsignedIntFib getNumberOfMovePoints () const
virtual bool isMovable () const
virtual unsignedIntFib getNumberOfObjectPoints () const
virtual unsignedIntFib objectPointToElementPoint (const unsignedIntFib uiObjectPoint, bool bAbsolute=false) const
virtual bool insertElement (cFibElement *fibElement, const char cType='u', const unsignedIntFib elementPoint=0, bool bAbsolute=false, bool bCheckVariables=true)
virtual bool insertObjectInElement (cFibElement *fibObject, const char cType='u', const unsignedIntFib elementPoint=0, bool first=true, bool bAbsolute=false)
virtual bool overwriteObjectWithObject (cFibElement *fibObject, const char cType='u', const unsignedIntFib elementPoint=0, bool bDeleteOld=true, bool bAbsolute=false)
virtual bool removeObject (const unsignedIntFib objectPoint, bool bDeleteOld=true, bool bAbsolute=false)
virtual bool hasUnderAllObjects () const
virtual bool isRemovableElement (const char cType='u', const unsignedIntFib elementPoint=0, bool bAbsolute=false, bool bCheckVariables=true) const
virtual cFibElementcutElement (const char cType='u', const unsignedIntFib elementPoint=0, bool bAbsolute=false, bool bCheckVariables=true)
virtual intFib moveLimbElement (const char cType='u', const unsignedIntFib elementPoint=0, const intFib iHowfar=1, bool bAbsolute=false)
virtual bool equal (const cFibElement &fibObject) const
virtual bool isLeaf () const
- Public Member Functions inherited from fib::cFibElement
virtual ~cFibElement ()
virtual char getType () const =0
virtual cFibElementgetSuperiorFibElement ()
virtual cFibElementgetNextFibElement ()
virtual cFibElementgetNextFibElement (char cType)
virtual cFibElementgetConstFibElement (longFib lNumber, bool bAbsolute=false) const
virtual cFibElementgetConstFibElement (char cType, longFib lNumber, bool bAbsolute=false) const
cFibElementgetFibElement (longFib lNumber, bool bAbsolute=false)
cFibElementgetFibElement (char cType, longFib lNumber, bool bAbsolute=false)
list< cFibElement * > getAllFibElements (char cTypeBasis='u', longFib lNumber=1, char cType='u', edDirection direction=ED_ALL, unsignedLongFib lNumberOfMaxReturnedElements=0, bool bAbsolute=false)
bool evalueObjectSimple (iEvaluePosition &evaluePosition, const unsignedIntFib objectPoint=0) const
virtual bool evalueObject (iEvaluePosition &evaluePosition, const unsignedIntFib objectPoint, list< cVectorProperty > &liVecProperties) const =0
bool evalueObjectSimple (iEvalueFibElement &evalueFibElement, const unsignedIntFib objectPoint=0, const list< char > liCFibElementTyps=list< char >())
virtual bool evalueObject (iEvalueFibElement &evalueFibElement, const unsignedIntFib objectPoint, list< cVectorProperty > &liVecProperties, const list< char > &liCFibElementTyps)=0
virtual unsignedLongFib getTimeNeed (unsignedLongFib lMaxTime=0) const =0
virtual unsignedLongFib getCompressedSize () const =0
virtual bool isDefinedVariable (const cFibVariable *variable, edDirection direction=ED_POSITION) const
virtual list< cFibVariable * > getDefinedVariables (edDirection direction=ED_HIGHER)
bool variablesAreDefined (const set< cFibVariable * > &setVariable, edDirection direction=ED_HIGHER) const
virtual bool replaceVariable (cFibVariable *variableOld, cFibVariable *variableNew)=0
virtual unsignedIntFib getNumberOfElement (bool bOfType=false) const
virtual unsignedIntFib getNumberOfMovePoint () const
virtual unsignedIntFib getNumberOfObjectPoint () const
virtual unsignedIntFib typeElementPointToElementPoint (const char cType, const unsignedIntFib elementPoint, bool bAbsolute=false) const
virtual list< unsignedIntFibelementPointToObjectPoints (const char cType, const unsignedIntFib elementPoint, bool bAbsolute=false) const
virtual list< unsignedIntFibgetObjectPointsForElement (const cFibElement *pFibElement, bool bAbsolute=false) const
virtual bool removeElement (const char cType='u', const unsignedIntFib elementPoint=0, bool bAbsolute=false, bool bCheckVariables=true)
virtual cFibElementclone () const
virtual cFibElementcopy (const unsignedIntFib iObjectPoint=0) const
virtual cFibElementcopyElement (const char cType='u', const unsignedIntFib elementPoint=0, bool bAbsolute=false) const =0
virtual bool equalElement (const cFibElement &fibElement) const =0
virtual bool equalValuesSet (const cFibVariable *variableOwn, const cFibElement &fibElement, const cFibVariable *variable) const
virtual bool storeXml (ostream &stream) const =0
virtual bool store (ostream &stream) const
virtual cRootgetSuperiorRootElement ()
virtual const cRootgetSuperiorRootElement () const
virtual list< longFibgetAllRootObjectIdentifiers () const
virtual list< longFibgetAllDatabaseObjectIdentifiers () const
virtual cRootgetRootObject (longFib lIdentifier)
virtual list< longFibgetAllAccessibleRootObjectIdentifiers () const
virtual cRootgetAccessibleRootObject (longFib lIdentifier)
virtual cDomains getValidDomains () const
virtual cDomains getValidValueDomains () const
virtual unsignedIntFib getNumberOfDimensions () const
virtual unsignedIntFib getDimensionMapping (unsignedIntFib iDimensionNumber) const
virtual bool isBranch () const
virtual bool isLimb () const

Protected Member Functions

 cFibLeaf (cFibElement *pInSuperiorElement=NULL, cFibElement *pInPreviousFibElement=NULL, cFibElement *pInNextFibElement=NULL)
 cFibLeaf (const cFibLeaf &fibLeafElement)
virtual bool registerNewFibElement (cFibElement *newFibElement, unsignedIntFib uINumberOfFibElement, bool bDirectionUp)
virtual bool registerNewFibObject (cFibElement *newFibObject, unsignedIntFib uILowerNumberOfFibElements, unsignedIntFib uIUpperNumberOfFibElements, bool bDirectionUp)
virtual cFibElementupdateValues (cFibElement *previosFibElement=NULL, cFibElement *pNextArm=NULL)
virtual unsignedIntFib getNumberOfObjectPoint (unsignedIntFib uINumberOfStartFibElement) const
virtual list< unsignedIntFibelementPointToObjectPoints (const cFibElement *referenceFibObject, const unsignedIntFib uiLastObjectPoint) const
virtual unsignedIntFib enumerateVariablesForStoring (unsignedIntFib uiLastVariableNumber=0)
virtual list< cFibElement * > getAllFibElementsFromPosition (char cType, edDirection direction, unsignedLongFib lNumberOfMaxReturnedElements)
virtual bool isDefinedVariableInternal (const cFibVariable *pVariable, edDirection direction=ED_POSITION, const cFibElement *pCallingFibElement=NULL) const
virtual list< cFibVariable * > getDefinedVariablesInternal (edDirection direction=ED_HIGHER, const cFibElement *pCallingFibElement=NULL)
- Protected Member Functions inherited from fib::cFibElement
 cFibElement (cFibElement *pInSuperiorElement=NULL, cFibElement *pInPreviousFibElement=NULL, cFibElement *pInNextFibElement=NULL)
 cFibElement (const cFibElement &fibElement)
virtual bool storeBit (ostream &stream, char &cRestBits, unsigned char &uiRestBitPosition) const =0
virtual bool updateAllValues ()
virtual void cutConnections (edDirection direction=ED_ALL)
intFib moveLimbElementUp (const char cType= 'u', const unsignedIntFib elementPoint=0, const unsignedIntFib uiHowfar=1, bool bAbsolute=false)
virtual cFibElementcopyInternal (const unsignedIntFib iObjectPoint=0) const =0
cFibElementgetMasterRoot ()
cFibElementgetMasterRoot () const

Additional Inherited Members

- Static Public Member Functions inherited from fib::cFibElement
static string getTypeName (char cType)
static void deleteObject (cFibElement *fibObject)
static cFibElementrestoreXml (istream &stream, intFib *outStatus=NULL)
static cFibElementrestoreXml (const TiXmlNode *pXmlNode, intFib *outStatus=NULL)
static cFibElementrestoreXml (const TiXmlNode *pXmlNode, intFib &outStatus, list< cFibVariable * > &liDefinedVariables)
static cFibElementrestore (istream &stream, intFib *outStatus=NULL)
- Static Protected Member Functions inherited from fib::cFibElement
static cFibElementrestoreXmlInternal (const TiXmlNode *pXmlNode, intFib &outStatus, list< cFibVariable * > &liDefinedVariables)
static cRootrestoreRootInternal (cReadBits &iBitStream, intFib &outStatus, cRoot *pNextRoot)
static cFibElementrestoreInternal (cReadBits &iBitStream, intFib &outStatus, list< cFibVariable * > &liDefinedVariables, const cDomains &validDomains, cRoot *pNextRoot)
- Protected Attributes inherited from fib::cFibElement
cFibElementpSuperiorElement
cFibElementpPreviousFibElement
cFibElementpNextFibElement
cRootpNextRootElement
unsignedIntFib uINumberOfFibElement

Detailed Description

Definition at line 76 of file cFibLeaf.h.


Constructor & Destructor Documentation

fib::cFibLeaf::cFibLeaf ( cFibElement pInSuperiorElement = NULL,
cFibElement pInPreviousFibElement = NULL,
cFibElement pInNextFibElement = NULL 
)
protected

parameterconstructor

Parameters:
pInSuperiorElementthe fib -Element in which this fib -element is the underobject
pInPreviousFibElementthe fib -Element which stands in th order of Fib -elements befor this Fib -element
pInNextFibElementthe fib -Element which stands in th order of Fib -elements behind this Fib -element
fib::cFibLeaf::cFibLeaf ( const cFibLeaf fibLeafElement)
protected

copyconstructor This copyconstructor constructs a copy of this Fib -Element. It dosn't copy other fib -elements than this, even if ther are in this fib -element.

Parameters:
fibLeafElementthe Fib -element to copy

Member Function Documentation

virtual cFibElement* fib::cFibLeaf::cutElement ( const char  cType = 'u',
const unsignedIntFib  elementPoint = 0,
bool  bAbsolute = false,
bool  bCheckVariables = true 
)
virtual

This method cuts the Fib -element on the specified position. This works like removeElement(), except that the removed element is returned.

See also:
isDeletableElement()
removeElement()
getType()
Parameters:
cTypethe type of the Fib -element to cut
elementPointthe number of the Fib -element, in the order of Fib -elements of the given type cType, to cut
bAbsoluteif the elementPoint is an absolute value for the wool fib -object
bCheckVariablesif true (standardvalue) it will be checked if the variables the fib -element defines are needed, else the fib -element will be removed even if its variables are needed elsewher
Returns:
the pointer to the cuted Fib -element or NULL, if the Fib -element couldn't cut

Implements fib::cFibElement.

virtual list<unsignedIntFib> fib::cFibLeaf::elementPointToObjectPoints ( const cFibElement referenceFibObject,
const unsignedIntFib  uiLastObjectPoint 
) const
protectedvirtual

This method returns the numbers of all object points that contain the elementPoint Fib -element.

See also:
elementPointToObjectPoints()
getNumberOfElement()
getNumberOfElements()
getNumberOfObjectPoint()
getNumberOfObjectPoints()
getType()
Parameters:
referenceFibObjectthe fib -element for which the object points are to returned
uiLastObjectPointthe number of the last object point to the referenceFibObject
Returns:
a list of the numbers of all object points that contain the elementPoint Fib -element of the type cType

Reimplemented from fib::cFibElement.

virtual unsignedIntFib fib::cFibLeaf::enumerateVariablesForStoring ( unsignedIntFib  uiLastVariableNumber = 0)
protectedvirtual

This method sets the each variable, which is defined over an leaf, to an uniqe integer number greater than the given number uiLastVariableNumber. While storing this number can be stored to identify the variable.

Parameters:
uiLastVariableNumberthe number which was last use, this means also is the greatest used, in this limb.
Returns:
the number which was last use, this means also is the greatest used, in this limb from the method

Implements fib::cFibElement.

virtual bool fib::cFibLeaf::equal ( const cFibElement fibObject) const
virtual

This method checks if the given Fib -object is equal to this Fib -object. Variables can be others, but must be defined and aused in equivalent Fib -elements.

Parameters:
fibObjectthe Fib -object to which this Fib -object should be equal
Returns:
true if this Fib -object is equal to the given Fib -object, else false

Implements fib::cFibElement.

Reimplemented in fib::cPoint.

virtual list<cFibElement*> fib::cFibLeaf::getAllFibElementsFromPosition ( char  cType,
edDirection  direction,
unsignedLongFib  lNumberOfMaxReturnedElements 
)
protectedvirtual

This method returns a number of (lNumberOfMaxReturnedElements) Fib -elements beginning from the actual Fib -element in the given direction of the given type cType. The actual fib -element will never be included in the returned list.

Parameters:
cTypethe type of the Fib -elements to return; 'w' stands for wrong/ not correct fib -elements
directionthe direction, beginning from the reference Fib -element, in which the to return Fib -elements should stand
lNumberOfMaxReturnedElementsthe maximal number of Fib -elements to return
Returns:
a list with the pointers to the to returning Fib -elements

Implements fib::cFibElement.

virtual list< cFibVariable* > fib::cFibLeaf::getDefinedVariablesInternal ( edDirection  direction = ED_HIGHER,
const cFibElement pCallingFibElement = NULL 
)
protectedvirtual

This method returns all variables defined in the given direction from this Fib-element. This is for intern use to get the correct data from getDefinedVariables() without pCallingFibElement..

See also:
cFibVariable
getUsedVariables()
isDefinedVariable()
Parameters:
directionthe direction from this Fib-element, in which the variable should be used; standardvalue is ED_POSITION so yust this Fib-element will be checked
pCallingFibElementthe Fib-Element which called this method
Returns:
the set with all variables used in the given direction from this Fib-element

Implements fib::cFibElement.

virtual unsignedIntFib fib::cFibLeaf::getNumberOfElements ( char  cType = 'u') const
virtual

This method returns the number of Fib -elements of a type in this Fib -object.

See also:
getType()
getNumberOfElement()
Parameters:
cTypethe character of the type (
See also:
getType() ), for which the elements should be counted; u (the standartvalue) stands for Fib -Elements of any type
Returns:
the number of Fib -elements of a type in the Fib -object

Implements fib::cFibElement.

virtual unsignedIntFib fib::cFibLeaf::getNumberOfMovePoints ( ) const
virtual

This method returns the number of move points in this Fib -object.

See also:
getNumberOfMovePoint()
Returns:
the number of move points in this Fib -object

Implements fib::cFibElement.

virtual unsignedIntFib fib::cFibLeaf::getNumberOfObjectPoint ( unsignedIntFib  uINumberOfStartFibElement) const
protectedvirtual

This method returns the number of the next connected object point in the order of connected object points that conntains this Fib -element.

Parameters:
uINumberOfStartFibElementthe number, in the order of all fib -elements, of the fib -element for which the connected object point is to return
See also:
getNumberOfObjectPoint
getNumberOfObjectPoints()
Returns:
the number of the next connected object point for this Fib -element

Reimplemented from fib::cFibElement.

virtual unsignedIntFib fib::cFibLeaf::getNumberOfObjectPoints ( ) const
virtual

This method returns the number of object points in this Fib -object.

See also:
getNumberOfObjectPoint()
Returns:
the number of object points in this Fib -object

Implements fib::cFibElement.

virtual set<cFibVariable*> fib::cFibLeaf::getUsedVariables ( edDirection  direction = ED_POSITION)
virtual

This method returns all variables used in the given direction from this Fib -element.

See also:
cFibVariable
isUsedVariable()
isDefinedVariable()
Parameters:
directionthe direction from this Fib -element, in which the variable should be used; standardvalue is ED_POSITION so yust this Fib -element will be checked
Returns:
the set with all variables used in the given direction from this Fib -element

Implements fib::cFibElement.

Reimplemented in fib::cExtSubobject, and fib::cPoint.

virtual bool fib::cFibLeaf::hasUnderAllObjects ( ) const
virtual

This method checks, if all Fib -elements of this Fib -object have the underobjects they need to be correct.

Returns:
true if all Fib -elements of this Fib -object have the underobjects they need to be correct, else false

Implements fib::cFibElement.

virtual bool fib::cFibLeaf::insertElement ( cFibElement fibElement,
const char  cType = 'u',
const unsignedIntFib  elementPoint = 0,
bool  bAbsolute = false,
bool  bCheckVariables = true 
)
virtual

This method inserts the given Fib -element fibElement on the specified position. The replaced Fib -element will be the underobject of the inserted Fib -element fibElement.

See also:
getNumberOfElement()
getNumberOfElements()
getType()
Parameters:
cTypethe type of the Fib -element insted of which the given Fib -element fibElement should be inserted
elementPointthe number of the Fib -element, in the order of Fib -elements of the given type cType, in which position the given Fib -element fibElement should be inserted; if 0 the given fibElement will be inserted under this Fib -element
fibElementthe Fib -element to insert
bAbsoluteif the lNumber is an absolute value for the wool fib -object
bCheckVariablesif true (standardvalue) it will be checked if the variables the fib -element defines are needed, else the fib -element will be removed even if its variables are needed elsewher
Returns:
true if the Fib -element fibElement was inserted, else false

Implements fib::cFibElement.

virtual bool fib::cFibLeaf::insertObjectInElement ( cFibElement fibObject,
const char  cType = 'u',
const unsignedIntFib  elementPoint = 0,
bool  first = true,
bool  bAbsolute = false 
)
virtual

This method inserts the given Fib -object fibObject on the specified position. On the specified position a listelement will be inserted, with the old Fib -object and the given Fib -object fibObject as its underobjects.

See also:
getNumberOfElement()
getNumberOfElements()
overwriteObjectWithObject()
getType()
Parameters:
cTypethe type of the Fib -element, on which position the given Fib -object fibObject should be inserted
elementPointthe number of the Fib -element, in the order of Fib -elements of the given type cType, on which position the given Fib -object fibObject should be inserted
fibObjectthe Fib -object to insert
firstif true, the inserted object will be the first underobject of the new listelement
bAbsoluteif the lNumber is an absolute value for the wool fib -object
Returns:
true if the Fib -object fibObject was inserted, else false

Implements fib::cFibElement.

virtual bool fib::cFibLeaf::isDefinedVariableInternal ( const cFibVariable pVariable,
edDirection  direction = ED_POSITION,
const cFibElement pCallingFibElement = NULL 
) const
protectedvirtual

This method checks if the given variable is defined in the given direction from this Fib-element. This is for intern use to get the correct data from isDefinedVariable() without pCallingFibElement.

See also:
cFibVariable
isUsedVariable()
Parameters:
pVariablethe variable to check if it is defined
directionthe direction from this Fib-element, in which the variable should be defined; standardvalue is ED_POSITION so yust this Fib-element will be checked
pCallingFibElementthe Fib-Element which called this method
Returns:
true if the variable is used, else false

Implements fib::cFibElement.

virtual bool fib::cFibLeaf::isLeaf ( ) const
virtual
Returns:
this method returns true if this fib -element is an leafelement, alse false

Reimplemented from fib::cFibElement.

virtual bool fib::cFibLeaf::isMovable ( ) const
virtual
Returns:
true if this fib -element is movebel else false

Reimplemented from fib::cFibElement.

virtual bool fib::cFibLeaf::isRemovableElement ( const char  cType = 'u',
const unsignedIntFib  elementPoint = 0,
bool  bAbsolute = false,
bool  bCheckVariables = true 
) const
virtual

This method checks, if the Fib -element on the specified position is deletable. An deletable Fib -element doesn't make the Fib -object invalid if it is deleted (e.g. points- and listelements are never deletable).

See also:
removeElement()
cutElement()
getType()
Parameters:
cTypethe type of the Fib -element to check
elementPointthe number of the Fib -element, in the order of Fib -elements of the given type cType, to check
bAbsoluteif the elementPoint is an absolute value for the wool fib -object
bCheckVariablesif true (standardvalue) it will be checked if the variables the fib -element defines are needed, else the fib -element will be removed even if its variables are needed elsewher
Returns:
true if the Fib -element is deletable, else false

Reimplemented from fib::cFibElement.

virtual bool fib::cFibLeaf::isUsedVariable ( const cFibVariable variable,
edDirection  direction = ED_POSITION 
) const
virtual

This method checks if the given variable is used in the given direction from this Fib -element.

See also:
cFibVariable
isDefinedVariable()
Parameters:
variablethe variable to check if it is used
directionthe direction from this Fib -element, in which the variable should be used; standardvalue is ED_POSITION so yust this Fib -element will be checked
Returns:
true if the variable is used, else false

Implements fib::cFibElement.

Reimplemented in fib::cExtSubobject, and fib::cPoint.

virtual bool fib::cFibLeaf::isValidFibElement ( ) const
virtual

This method checks, if this fib -element is an valid fib -element.

Returns:
true if this fib -element is an valid fib -element, else false

Implements fib::cFibElement.

Reimplemented in fib::cExtSubobject.

virtual intFib fib::cFibLeaf::moveLimbElement ( const char  cType = 'u',
const unsignedIntFib  elementPoint = 0,
const intFib  iHowfar = 1,
bool  bAbsolute = false 
)
virtual

This method moves a Fib -limb -element (cFibLimb) on the specified position over iHowfar Fib -elements. Moving is stoped if an invalid Fib -object would result (e.g. no Fib -element can be moved over an Fib -elements that defines a variable the moved Fib -element uses). Moving an Fib -element into an listelement will result in an listelement with the moved element in everyone of it's underobjects.

See also:
isDeletableElement()
removeElement()
getType()
Parameters:
cTypethe type of the Fib -element to move
elementPointthe number of the Fib -element, in the order of Fib -elements of the given type cType, to move
iHowfarthe number of Fib -elements over which the to move Fib -element should be moved; if this value is positiv the Fib -element will be moved over Fib -elements it contains else over Fib -elements it is contained in
bAbsoluteif the elementPoint is an absolute value for the wool fib -object
Returns:
the number of Fib -Elements over which the to move Fib -element was moved; if this value is positiv the Fib -element was moved over Fib -elements it contains else over Fib -elements it is contained in

Implements fib::cFibElement.

virtual unsignedIntFib fib::cFibLeaf::objectPointToElementPoint ( const unsignedIntFib  uiObjectPoint,
bool  bAbsolute = false 
) const
virtual

This method returns the number of the Fib -element over wich the objectPoint object point is defined.

See also:
getNumberOfElement()
getNumberOfElements()
getNumberOfObjectPoint()
getNumberOfObjectPoints()
Parameters:
uiObjectPointthe number of the object point for which the definig Fib -element number should be returned
bAbsoluteif the lNumber is an absolute value for the wool fib -object
Returns:
the number of the Fib -element over wich the objectPoint object point is defined

Implements fib::cFibElement.

virtual bool fib::cFibLeaf::overwriteObjectWithObject ( cFibElement fibObject,
const char  cType = 'u',
const unsignedIntFib  elementPoint = 0,
bool  bDeleteOld = true,
bool  bAbsolute = false 
)
virtual

This method overwrites the Fib -object on specified position with the given Fib -object fibObject. The Fib -object on specified position will be replaced with the given Fib -object fibObject.

See also:
getNumberOfElement()
getNumberOfElements()
insertObjectInElement()
getType()
Parameters:
cTypethe type of the Fib -element, on which position the given Fib -object fibObject should be inserted
elementPointthe number of the Fib -element, in the order of Fib -elements of the given type cType, on which position the given Fib -object fibObject should be inserted
fibObjectthe Fib -object to insert
bDeleteOldif true, delete the old Fib -object from the memory
bAbsoluteif the elementPoint is an absolute value for the wool fib -object
Returns:
true if the old Fib -object was overwritten and the given Fib -object fibObject was inserted, else false

Implements fib::cFibElement.

virtual bool fib::cFibLeaf::registerNewFibElement ( cFibElement newFibElement,
unsignedIntFib  uINumberOfFibElement,
bool  bDirectionUp 
)
protectedvirtual

With this method a new Fib -element in the Fib -Object is registert by the other Fib -elements in the Fib -Object.

Parameters:
newFibElementthe new Fib -element to register
uINumberOfFibElementthe number of the new Fib -element in the order of all Fib -Elements in the Fib -object
bDirectionUpthe direction in which the registration of the new Fib -element is performed in the Fib -object tree; from the position on which the new Fib -Element is added the method is called for both directions
Returns:
true if the registration was successfull, else false

Implements fib::cFibElement.

virtual bool fib::cFibLeaf::registerNewFibObject ( cFibElement newFibObject,
unsignedIntFib  uILowerNumberOfFibElements,
unsignedIntFib  uIUpperNumberOfFibElements,
bool  bDirectionUp 
)
protectedvirtual

With this method a new part Fib -object in the Fib -Object is registert by the other Fib -elements in the Fib -Object.

Parameters:
newFibObjectthe new part Fib -object to register
uILowerNumberOfFibElementsthe number of the Fib -element in the new part Fib -object with the lowest number in the order of all Fib -Elements in the entire Fib -object
uIUpperNumberOfFibElementsthe number of the Fib -element in the new part Fib -object with the highest number in the order of all Fib -Elements in the entire Fib -object
bDirectionUpthe direction in which the registration of the new part Fib -object is performed in the Fib -object tree;
Returns:
true if the registration was successfull, else false

Implements fib::cFibElement.

virtual bool fib::cFibLeaf::removeObject ( const unsignedIntFib  objectPoint,
bool  bDeleteOld = true,
bool  bAbsolute = false 
)
virtual

This method removes the connected object with the given number in the order of connected object points. For this the defining underobject in an listelement will be removed. If the listelement contains after the operation yust one underobject, the listelement will be replaced with the underobject.

Parameters:
objectPointthe number of the connected object to remove
bDeleteOldif true, delete the connected object from the memory, else yust remove it's pointers
bAbsoluteif the objectPoint is an absolute value for the wool fib -object
Returns:
true if the connected Fib -object was removed, else false

Implements fib::cFibElement.

virtual cFibElement* fib::cFibLeaf::updateValues ( cFibElement previosFibElement = NULL,
cFibElement pNextArm = NULL 
)
protectedvirtual

This method updates the values/ properties off all fib -elements in this fib -object beginning with this fib -element. Every underobject should have all it's underobjects.

Parameters:
previosFibElementthe prvios fib -element to this fib -element in the order of fib -elements; if it is NULL ther is no previos fib -element to this
pNextArmthe next arm fib -object in the next higher fib -brancheelement
Returns:
a pointer to the last evalued fib -element; if NULL an error has occured

Reimplemented from fib::cFibElement.


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