#ifndef ROOT_TToggleGroup
#define ROOT_TToggleGroup
#ifndef ROOT_TNamed
#include "TNamed.h"
#endif
#ifndef ROOT_TToggle
#include "TToggle.h"
#endif
#ifndef ROOT_TOrdCollection
#include "TOrdCollection.h"
#endif
class TToggleGroup : public TNamed {
private:
TOrdCollection *fToggles;
public:
TToggleGroup();
TToggleGroup(const TToggleGroup&);
TToggleGroup &operator=(const TToggleGroup&);
virtual ~TToggleGroup();
virtual Int_t GetTogglesCount() {return fToggles->GetSize();};
virtual TToggle *At(Int_t idx) {return (TToggle*)fToggles->At(idx);};
virtual void Remove(TToggle *t) {fToggles->Remove(t);};
virtual void Remove(Int_t pos) {fToggles->RemoveAt(pos);};
virtual void DeleteAll();
virtual TToggle *First() {return (TToggle*)fToggles->First();};
virtual TToggle *Last() {return (TToggle*)fToggles->Last();};
virtual Int_t IndexOf(TToggle *t) {return fToggles->IndexOf(t);};
virtual Int_t Add(TToggle *t, Bool_t select=1);
virtual Int_t InsertAt(TToggle *t, Int_t pos,Bool_t select=1);
virtual void Select(Int_t idx);
virtual void Select(TToggle *t);
ClassDef(TToggleGroup,0)
};
#endif
Last change: Wed Dec 3 08:49:43 2008
Last generated: 2008-12-03 08:49
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.