#ifndef ROOT_TGLSelectBuffer
#define ROOT_TGLSelectBuffer
#include <Rtypes.h>
class TGLSelectRecordBase;
#include <vector>
class TGLSelectBuffer
{
protected:
   Int_t   fBufSize;  
   UInt_t* fBuf;      
   Int_t   fNRecords; 
   typedef std::pair<UInt_t, UInt_t*>  RawRecord_t;
   typedef std::vector<RawRecord_t>   vRawRecord_t;
   vRawRecord_t fSortedRecords;
   static Int_t fgMaxBufSize;
public:
   TGLSelectBuffer();
   virtual ~TGLSelectBuffer();
   Int_t   GetBufSize()  const { return fBufSize; }
   UInt_t* GetBuf()      const { return fBuf; }
   Int_t   GetNRecords() const { return fNRecords; }
   Bool_t CanGrow() { return fBufSize < fgMaxBufSize; }
   void   Grow();
   void ProcessResult(Int_t glResult);
   UInt_t* RawRecord(Int_t i) { return fSortedRecords[i].second; }
   void SelectRecord(TGLSelectRecordBase& rec, Int_t i);
   ClassDef(TGLSelectBuffer, 0) 
};
#endif
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.