Logo ROOT   6.10/09
Reference Guide
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
TGLSelectRecordBase Class Reference

Base class for select records.

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

Definition at line 27 of file TGLSelectRecord.h.

Public Member Functions

 TGLSelectRecordBase ()
 Default constructor. More...
 
 TGLSelectRecordBase (UInt_t *data)
 Constructor from raw GL-select record. More...
 
 TGLSelectRecordBase (const TGLSelectRecordBase &rec)
 Copy constructor. More...
 
virtual ~TGLSelectRecordBase ()
 Destructor. More...
 
UInt_t GetCurrItem () const
 
UInt_t GetItem (Int_t i) const
 
UInt_tGetItems () const
 
Float_t GetMaxZ () const
 
Float_t GetMinZ () const
 
Int_t GetN () const
 
Int_t GetNLeft () const
 
void NextPos ()
 
TGLSelectRecordBaseoperator= (const TGLSelectRecordBase &rec)
 Copy operator. More...
 
void PrevPos ()
 
virtual void Reset ()
 Reinitialise all data to null values. More...
 
void ResetPos ()
 
virtual void Set (UInt_t *data)
 Setup the record from raw buffer. More...
 
void SetRawOnly (UInt_t *data)
 Setup the record from raw buffer. More...
 

Protected Member Functions

void CopyItems (UInt_t *items)
 Copy data from names. fN must already be set. More...
 

Protected Attributes

UInt_tfItems
 
Float_t fMaxZ
 
Float_t fMinZ
 
Int_t fN
 
Int_t fPos
 

#include <TGLSelectRecord.h>

Inheritance diagram for TGLSelectRecordBase:
[legend]

Constructor & Destructor Documentation

◆ TGLSelectRecordBase() [1/3]

TGLSelectRecordBase::TGLSelectRecordBase ( )

Default constructor.

Definition at line 29 of file TGLSelectRecord.cxx.

◆ TGLSelectRecordBase() [2/3]

TGLSelectRecordBase::TGLSelectRecordBase ( UInt_t data)

Constructor from raw GL-select record.

Definition at line 41 of file TGLSelectRecord.cxx.

◆ TGLSelectRecordBase() [3/3]

TGLSelectRecordBase::TGLSelectRecordBase ( const TGLSelectRecordBase rec)

Copy constructor.

Definition at line 54 of file TGLSelectRecord.cxx.

◆ ~TGLSelectRecordBase()

TGLSelectRecordBase::~TGLSelectRecordBase ( )
virtual

Destructor.

Definition at line 67 of file TGLSelectRecord.cxx.

Member Function Documentation

◆ CopyItems()

void TGLSelectRecordBase::CopyItems ( UInt_t items)
protected

Copy data from names. fN must already be set.

Definition at line 91 of file TGLSelectRecord.cxx.

◆ GetCurrItem()

UInt_t TGLSelectRecordBase::GetCurrItem ( ) const
inline

Definition at line 60 of file TGLSelectRecord.h.

◆ GetItem()

UInt_t TGLSelectRecordBase::GetItem ( Int_t  i) const
inline

Definition at line 56 of file TGLSelectRecord.h.

◆ GetItems()

UInt_t* TGLSelectRecordBase::GetItems ( ) const
inline

Definition at line 55 of file TGLSelectRecord.h.

◆ GetMaxZ()

Float_t TGLSelectRecordBase::GetMaxZ ( ) const
inline

Definition at line 58 of file TGLSelectRecord.h.

◆ GetMinZ()

Float_t TGLSelectRecordBase::GetMinZ ( ) const
inline

Definition at line 57 of file TGLSelectRecord.h.

◆ GetN()

Int_t TGLSelectRecordBase::GetN ( ) const
inline

Definition at line 54 of file TGLSelectRecord.h.

◆ GetNLeft()

Int_t TGLSelectRecordBase::GetNLeft ( ) const
inline

Definition at line 61 of file TGLSelectRecord.h.

◆ NextPos()

void TGLSelectRecordBase::NextPos ( )
inline

Definition at line 62 of file TGLSelectRecord.h.

◆ operator=()

TGLSelectRecordBase & TGLSelectRecordBase::operator= ( const TGLSelectRecordBase rec)

Copy operator.

Definition at line 75 of file TGLSelectRecord.cxx.

◆ PrevPos()

void TGLSelectRecordBase::PrevPos ( )
inline

Definition at line 63 of file TGLSelectRecord.h.

◆ Reset()

void TGLSelectRecordBase::Reset ( void  )
virtual

Reinitialise all data to null values.

Reimplemented in TGLOvlSelectRecord, and TGLSelectRecord.

Definition at line 128 of file TGLSelectRecord.cxx.

◆ ResetPos()

void TGLSelectRecordBase::ResetPos ( )
inline

Definition at line 64 of file TGLSelectRecord.h.

◆ Set()

void TGLSelectRecordBase::Set ( UInt_t data)
virtual

Setup the record from raw buffer.

Reimplemented in TGLOvlSelectRecord, and TGLSelectRecord.

Definition at line 116 of file TGLSelectRecord.cxx.

◆ SetRawOnly()

void TGLSelectRecordBase::SetRawOnly ( UInt_t data)

Setup the record from raw buffer.

Definition at line 105 of file TGLSelectRecord.cxx.

Member Data Documentation

◆ fItems

UInt_t* TGLSelectRecordBase::fItems
protected

Definition at line 32 of file TGLSelectRecord.h.

◆ fMaxZ

Float_t TGLSelectRecordBase::fMaxZ
protected

Definition at line 34 of file TGLSelectRecord.h.

◆ fMinZ

Float_t TGLSelectRecordBase::fMinZ
protected

Definition at line 33 of file TGLSelectRecord.h.

◆ fN

Int_t TGLSelectRecordBase::fN
protected

Definition at line 31 of file TGLSelectRecord.h.

◆ fPos

Int_t TGLSelectRecordBase::fPos
protected

Definition at line 37 of file TGLSelectRecord.h.


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