#ifndef _QSIGEXSTATICLIST_
#define _QSIGEXSTATICLIST_
#include <iostream>
#include "Rtypes.h"
#include "TList.h"
#include "TObject.h"
#include "debugger.h"
using namespace std;
class QSigExStaticList{
public:
QSigExStaticList(){fNInstances++;}
virtual ~QSigExStaticList(){fNInstances--; Clear();}
Int_t Add(TObject* object){
CheckRights();
fList.AddLast(object);
return fList.GetSize();
}
const TObject* At(Int_t i){
return fList.At(i);
}
Int_t GetSize(){
return fList.GetSize();
}
void Clear(Option_t* option=NULL){
if(!fNInstances){
fList.Clear(option);
}
}
private:
void CheckRights();
static Int_t fNInstances;
static TList fList;
ClassDef(QSigExStaticList,1)
};
#include "debugger.h"
#endif
ROOT page - Class index - Class Hierarchy - Top of the page
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.