Logo ROOT  
Reference Guide
TGLCapabilitySwitch Class Reference

Definition at line 1060 of file TGLUtil.h.

Public Member Functions

 TGLCapabilitySwitch (Int_t what, Bool_t state)
 Constructor - change state only if necessary. More...
 ~TGLCapabilitySwitch ()
 Destructor - reset state if changed. More...

Private Member Functions

 TGLCapabilitySwitch (const TGLCapabilitySwitch &)
TGLCapabilitySwitchoperator= (const TGLCapabilitySwitch &)
void SetState (Bool_t s)

Private Attributes

Bool_t fFlip
Bool_t fState
Int_t fWhat

#include <TGLUtil.h>

Constructor & Destructor Documentation

◆ TGLCapabilitySwitch() [1/2]

TGLCapabilitySwitch::TGLCapabilitySwitch ( const TGLCapabilitySwitch )

◆ TGLCapabilitySwitch() [2/2]

TGLCapabilitySwitch::TGLCapabilitySwitch ( Int_t  what,
Bool_t  state 

Constructor - change state only if necessary.

Definition at line 2677 of file TGLUtil.cxx.

◆ ~TGLCapabilitySwitch()

TGLCapabilitySwitch::~TGLCapabilitySwitch ( )

Destructor - reset state if changed.

Definition at line 2689 of file TGLUtil.cxx.

Member Function Documentation

◆ operator=()

TGLCapabilitySwitch & TGLCapabilitySwitch::operator= ( const TGLCapabilitySwitch )

◆ SetState()

void TGLCapabilitySwitch::SetState ( Bool_t  s)

Definition at line 2697 of file TGLUtil.cxx.

Member Data Documentation

◆ fFlip

Bool_t TGLCapabilitySwitch::fFlip

Definition at line 1068 of file TGLUtil.h.

◆ fState

Bool_t TGLCapabilitySwitch::fState

Definition at line 1067 of file TGLUtil.h.

◆ fWhat

Int_t TGLCapabilitySwitch::fWhat

Definition at line 1066 of file TGLUtil.h.

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