#include "QSigExStaticList.h" |
Inheritance Chart: | |||||
|
private:
void CheckRights() public:
QSigExStaticList() virtual ~QSigExStaticList() Int_t Add(TObject* object) const TObject* At(Int_t i) static TClass* Class() void Clear(Option_t* option = "NULL") Int_t GetSize() virtual TClass* IsA() const virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)
private:
static Int_t fNInstances Number of instances of QSigExStaticList static TList fList TList object
QSigExStaticList This class securely implements a static simplified version of TList ROOT class. It allows to create a list that can be read by any class/function that makes an instance of the class. Only the first instance can modify or delete the list, so there's no risk of making unwanted changes on the list with other instances. This class can be useful to pass information to a function without passing it via its arguments.
This protected member function throws an exception if the number of instances of QSigExStaticList is not equal to 1.