#ifndef ROOT_TBranchSTL
#define ROOT_TBranchSTL
#include "TBranch.h"
#include "TTree.h"
#include "TVirtualCollectionProxy.h"
#include "TBrowser.h"
#include "TBranchObject.h"
#include "TBranchElement.h"
#include "TIndArray.h"
#include <map>
#include <vector>
#include <utility>
class TBranchSTL: public TBranch {
public:
TBranchSTL();
TBranchSTL( TTree* tree, const char* name,
TVirtualCollectionProxy* collProxy,
Int_t buffsize, Int_t splitlevel );
TBranchSTL( TBranch* parent, const char* name,
TVirtualCollectionProxy* collProxy,
Int_t buffsize, Int_t splitlevel,
TStreamerInfo* info, Int_t id );
virtual ~TBranchSTL();
virtual void Browse( TBrowser *b );
virtual Bool_t IsFolder() const;
virtual Int_t Fill();
virtual void FillLeaves( TBuffer& b );
virtual Int_t GetEntry( Long64_t entry = 0, Int_t getall = 0 );
virtual TStreamerInfo* GetInfo();
virtual void ReadLeaves( TBuffer& b );
virtual void SetAddress( void* addr );
ClassDef( TBranchSTL, 1 )
private:
#ifndef __CINT__
struct ElementBranchHelper_t
{
ElementBranchHelper_t():
fBranch( 0 ), fPointers( 0 ), fId( 0 ),
fBaseOffset( 0 ), fPosition( 0 ) {}
TBranchElement* fBranch;
std::vector<void*>* fPointers;
UChar_t fId;
UInt_t fBaseOffset;
Int_t fPosition;
};
typedef std::map<TClass*, ElementBranchHelper_t> BranchMap_t;
BranchMap_t fBranchMap;
std::vector<ElementBranchHelper_t> fBranchVector;
#endif // __CINT__
TVirtualCollectionProxy* fCollProxy;
TBranch* fParent;
TClass* fIndArrayCl;
TIndArray fInd;
TString fContName;
TString fClassName;
Int_t fClassVersion;
UInt_t fClCheckSum;
TStreamerInfo* fInfo;
char* fObject;
Int_t fID;
};
#endif // ROOT_TBranchSTL
Last change: Wed Jun 25 08:35:13 2008
Last generated: 2008-06-25 08:35
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.