#ifndef HCONTFACT_H
#define HCONTFACT_H
#include "TList.h"
#include "TNamed.h"
class HParSet;
class HContainer : public TNamed {
private:
HContainer();
protected:
TList* contexts;
TString actualContext;
public:
HContainer( const Char_t*, const Char_t*, const Char_t*);
~HContainer();
void addContext(const Char_t*);
Bool_t setActualContext(const Char_t* c);
const Char_t* getDefaultContext();
const Char_t* getActualContext() { return actualContext.Data(); }
void print();
TString getConcatName();
const Char_t* getContext();
ClassDef(HContainer,0)
};
class HContFact : public TNamed {
protected:
TList* containers;
public:
HContFact();
virtual ~HContFact();
Bool_t addContext(const Char_t* name);
void print();
HParSet* getContainer(const Char_t*);
virtual HParSet* createContainer(HContainer*) {return 0;}
protected:
const Char_t* getActualContext(const Char_t* name) {
return ((HContainer*)containers->FindObject(name))->getActualContext();
}
ClassDef(HContFact,0)
};
#endif /* !HCONTFACT_H */
Last change: Sat May 22 12:54:04 2010
Last generated: 2010-05-22 12:54
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.