library: libGeom
#include "TGeoCache.h"

TGeoNodeObjArray


class description - header file - source file - inheritance tree (.pdf)

class TGeoNodeObjArray : public TGeoNodeArray

Inheritance Chart:
TObject
<-
TGeoNodeArray
<-
TGeoNodeObjArray

    protected:
TGeoNodeObjArray(const TGeoNodeObjArray&) TGeoNodeObjArray& operator=(const TGeoNodeObjArray&) public:
TGeoNodeObjArray() TGeoNodeObjArray(Int_t size) virtual ~TGeoNodeObjArray() virtual Int_t AddDaughter(TGeoNode* node, Int_t i) virtual Int_t AddMatrix(TGeoMatrix* global) virtual Int_t AddNode(TGeoNode* node) virtual void cd(Int_t inode) static TClass* Class() virtual void ClearDaughter(Int_t ind) virtual void ClearMatrix() virtual void ClearNode() virtual Int_t GetDaughter(Int_t ind) const virtual Int_t GetMatrixInd() const virtual Int_t GetNdaughters() const virtual TGeoNode* GetNode() const virtual Int_t GetUsageCount() const virtual Bool_t HasDaughters() const virtual void IncreaseArray() virtual void IncrementUsageCount() virtual TClass* IsA() const virtual Bool_t IsPersistent() const virtual void SetMatrix(Int_t mind) virtual void SetPersistency(Bool_t flag = kTRUE) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
Int_t fIndex index of current node TObjArray* fObjArray [fSize] array of TGeoNodePos objects TGeoNodePos* fCurrent current node

Class Description

 Physical tree description.




TGeoNodeObjArray()
 Default ctor.
TGeoNodeObjArray(Int_t size)
 Constructor.
TGeoNodeObjArray(const TGeoNodeObjArray& noa)
copy constructor
TGeoNodeObjArray& operator=(const TGeoNodeObjArray& noa)
assignment operator
~TGeoNodeObjArray()
 Destructor.
Int_t AddDaughter(TGeoNode *node, Int_t i)
 Add i-th daughter of current node in the array. Node must be the i'th daughter of current node (inode, fOffset)
 This is called ONLY after GetDaughter(i) returns 0
Int_t AddNode(TGeoNode *node)
 Add node in the node array.
 first map the node to the first free location which becomes current
Int_t AddMatrix(TGeoMatrix *global)
 Store the global matrix for the current node.
void cd(Int_t inode)
 make inode the current node
void ClearDaughter(Int_t ind)
 Clear the daughter ind from the list of the current node. Send the
 signal back to TGeoNodeCache, that proceeds with dispatching the
 clear signal for all the branch.
void ClearMatrix()
 Clear the global matrix of this node from matrix cache.
void ClearNode()
 Clear the current node. All branch from this point downwords will be deleted.
void IncreaseArray()
 Doubles the array size unless maximum cache limit is reached or
 global cache limit is reached. In this case forces the cache
 manager to do the garbage collection.
Int_t GetUsageCount()
void IncrementUsageCount()
Bool_t SetPersistency()
Int_t GetDaughter(Int_t ind)
Int_t GetMatrixInd()
Int_t GetNdaughters()
Bool_t HasDaughters()
Bool_t IsPersistent()
void SetMatrix(Int_t mat_ind)

Author: Andrei Gheata 18/03/02
Last update: root/geom:$Name: $:$Id: TGeoCache.cxx,v 1.45 2006/07/09 05:27:53 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.