class TGLSelectRecordBase

 TGLSelectRecordBase

 Base class for select records.
 Supports initialization from a raw GL record (UInt_t*) and
 copies the name-data into internal array.

Function Members (Methods)

public:
TGLSelectRecordBase()
TGLSelectRecordBase(UInt_t* data)
TGLSelectRecordBase(const TGLSelectRecordBase& rec)
virtual~TGLSelectRecordBase()
static TClass*Class()
UInt_tGetCurrItem() const
UInt_tGetItem(Int_t i) const
UInt_t*GetItems() const
Float_tGetMaxZ() const
Float_tGetMinZ() const
Int_tGetN() const
Int_tGetNLeft() const
virtual TClass*IsA() const
voidNextPos()
TGLSelectRecordBase&operator=(const TGLSelectRecordBase& rec)
voidPrevPos()
virtual voidReset()
voidResetPos()
virtual voidSet(UInt_t* data)
voidSetRawOnly(UInt_t* data)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
protected:
voidCopyItems(UInt_t* items)

Data Members

protected:
UInt_t*fItems
Float_tfMaxZ
Float_tfMinZ
Int_tfN
Int_tfPos

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

TGLSelectRecordBase()
 Default constructor.
TGLSelectRecordBase(UInt_t* data)
 Constructor from raw GL-select record.
TGLSelectRecordBase(const TGLSelectRecordBase& rec)
 Copy constructor.
~TGLSelectRecordBase()
 Destructor.
TGLSelectRecordBase& operator=(const TGLSelectRecordBase& rec)
 Copy operator.
void CopyItems(UInt_t* items)
 Copy data from names. fN must already be set.
void SetRawOnly(UInt_t* data)
 Setup the record from raw buffer.
void Set(UInt_t* data)
 Setup the record from raw buffer.
void Reset()
 Reinitalize all data to null values.
Int_t GetN()
{ return fN; }
UInt_t* GetItems()
{ return fItems; }
UInt_t GetItem(Int_t i) const
{ return fItems[i]; }
Float_t GetMinZ()
{ return fMinZ; }
Float_t GetMaxZ()
{ return fMaxZ; }
UInt_t GetCurrItem()
{ return fPos < fN ? fItems[fPos] : 0; }
Int_t GetNLeft()
{ return fN - fPos; }
void NextPos()
{ ++fPos; }
void PrevPos()
{ --fPos; }
void ResetPos()
{ fPos = 0; }

Author: Matevz Tadel, Jun 2007
Last change: root/gl:$Id: TGLSelectRecord.h 20882 2007-11-19 11:31:26Z rdm $
Last generated: 2008-06-25 08:41
Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *

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.