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

#include <cFibLimb.h>

Inheritance diagram for fib::cFibLimb:
Collaboration diagram for fib::cFibLimb:

List of all members.

Public Member Functions

virtual ~cFibLimb ()
virtual bool isValidFibElement () const
virtual bool isUsedVariable (const cFibVariable *variable, edDirection direction=ED_POSITION) const
virtual set< cFibVariable * > getUsedVariables (edDirection direction=ED_POSITION)
virtual bool replaceVariable (cFibVariable *variableOld, cFibVariable *variableNew)
virtual unsignedIntFib getNumberOfElements (char cType='u') const
virtual unsignedIntFib getNumberOfMovePoints () 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 cFibElementcutElement (const char cType='u', const unsignedIntFib elementPoint=0, bool bAbsolute=false, bool bCheckVariables=true)
virtual bool isMovable () const
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 isLimb () 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 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 isRemovableElement (const char cType='u', const unsignedIntFib elementPoint=0, bool bAbsolute=false, bool bCheckVariables=true) 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 isLeaf () const

Protected Member Functions

 cFibLimb (cFibElement *pInSuperiorElement=NULL, cFibElement *pInPreviousFibElement=NULL, cFibElement *pInUnderobject=NULL)
 cFibLimb (const cFibLimb &fibLimbElement)
virtual bool registerNewFibElement (cFibElement *newFibElement, unsignedIntFib uINumberOfFibElement, bool bDirectionUp)
virtual bool registerNewFibObject (cFibElement *newFibObject, unsignedIntFib uILowerNumberOfFibElements, unsignedIntFib uIUpperNumberOfFibElements, bool bDirectionUp)
virtual void cutConnections (edDirection direction=ED_ALL)
virtual cFibElementupdateValues (cFibElement *previosFibElement=NULL, cFibElement *pNextArm=NULL)
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 unsignedIntFib getNumberOfObjectPoint (unsignedIntFib uINumberOfStartFibElement) const
virtual list< unsignedIntFibelementPointToObjectPoints (const cFibElement *referencefibObject, const unsignedIntFib uiLastObjectPoint) const
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

Protected Attributes

cFibElementpUnderObject
- Protected Attributes inherited from fib::cFibElement
cFibElementpSuperiorElement
cFibElementpPreviousFibElement
cFibElementpNextFibElement
cRootpNextRootElement
unsignedIntFib uINumberOfFibElement

Friends

class cFibBranch

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)

Detailed Description

Definition at line 78 of file cFibLimb.h.


Constructor & Destructor Documentation

fib::cFibLimb::cFibLimb ( cFibElement pInSuperiorElement = NULL,
cFibElement pInPreviousFibElement = NULL,
cFibElement pInUnderobject = 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
pInUnderobjectthe Fib-Element which is the underobejct of this Fib-element (it also stands next in the order of Fib-elements)
fib::cFibLimb::cFibLimb ( const cFibLimb fibLimbElement)
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:
fibLimbElementthe Fib-element to copy
virtual fib::cFibLimb::~cFibLimb ( )
virtual

destructor


Member Function Documentation

virtual void fib::cFibLimb::cutConnections ( edDirection  direction = ED_ALL)
protectedvirtual

This method cuts the connections of this Fib-element to other Fib-elements.

Parameters:
directionthe direction into which the connections are to be cutted ED_HIGHER, ED_HIGHER_EQUAL, ED_ALL: will cut the conection to superior and previous Fib-elements ED_BELOW, ED_BELOW_EQUAL, ED_ALL: will cut the conection to next- Fib-element and the underobjects

Reimplemented from fib::cFibElement.

virtual cFibElement* fib::cFibLimb::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 unsignedIntFib fib::cFibLimb::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.

Reimplemented in fib::cFibMatrix, fib::cFibSet, fib::cArea, fib::cFunction, and fib::cComment.

virtual bool fib::cFibLimb::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::cFunction, fib::cArea, fib::cProperty, and fib::cComment.

virtual list<cFibElement*> fib::cFibLimb::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::cFibLimb::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.

Reimplemented in fib::cFibMatrix, fib::cFibSet, fib::cArea, and fib::cFunction.

virtual unsignedIntFib fib::cFibLimb::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::cFibLimb::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::cFibLimb::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::cFibLimb::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::cFibMatrix, fib::cFunction, fib::cArea, fib::cProperty, and fib::cFibSet.

virtual bool fib::cFibLimb::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::cFibLimb::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
pFibElementa pointer to the 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::cFibLimb::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::cFibLimb::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.

Reimplemented in fib::cFibMatrix, fib::cFibSet, fib::cArea, and fib::cFunction.

virtual bool fib::cFibLimb::isLimb ( ) const
virtual
Returns:
this method returns true if this Fib-element is an limbelement, alse false

Reimplemented from fib::cFibElement.

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

Reimplemented from fib::cFibElement.

virtual bool fib::cFibLimb::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::cFibMatrix, fib::cFunction, fib::cArea, fib::cProperty, and fib::cFibSet.

virtual bool fib::cFibLimb::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::cFibMatrix, fib::cFibSet, and fib::cFunction.

virtual intFib fib::cFibLimb::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::cFibLimb::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::cFibLimb::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::cFibLimb::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::cFibLimb::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::cFibLimb::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 bool fib::cFibLimb::replaceVariable ( cFibVariable variableOld,
cFibVariable variableNew 
)
virtual

This method replace the variable variableOld with the variable variableNew in the object. Don't touch variable definitions, just the uses of the varaible variableOld will be changed.

See also:
cFibVariable
isUsedVariable()
isDefinedVariable()
Parameters:
variableOldthe variable to replace
variableNewthe variable with which the variable variableOld is to replace
Returns:
true if the variable variableOld is replaced with variableNew, else false

Implements fib::cFibElement.

Reimplemented in fib::cFibMatrix, fib::cFunction, fib::cArea, fib::cProperty, and fib::cFibSet.

virtual cFibElement* fib::cFibLimb::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.


Friends And Related Function Documentation

friend class cFibBranch
friend

Reimplemented from fib::cFibElement.

Definition at line 81 of file cFibLimb.h.


Member Data Documentation

cFibElement* fib::cFibLimb::pUnderObject
protected

Definition at line 83 of file cFibLimb.h.


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