HContainer
class description - source file - inheritance tree (.pdf)
private:
HContainer()
public:
HContainer(const char*, const char*, const char*)
HContainer(const HContainer&)
~HContainer()
void addContext(const char*)
static TClass* Class()
const char* getActualContext() const
TString getConcatName()
const char* getContext() const
const char* getDefaultContext() const
virtual TClass* IsA() const
HContainer& operator=(const HContainer&)
void print()
Bool_t setActualContext(const char* c)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
protected:
TList* contexts available contexts for this parameter container
TString actualContext actual context set by the user
HContFact
Base class of all factories for the parameter containers
HContainer()
Default constructor
HContainer(const char* name, const char* title,
const char* defContext)
: TNamed(name, title)
Constructor
Arguments: name = name of the corresponding parameter container
title = title of this parameter container
defContext = default context of this parameter container
~HContainer()
Destructor deletes the list of accepted contexts
void addContext(const char* name)
Adds a context to the list of accepted contexts
Bool_t setActualContext(const char* c)
The function sets the actual context for the container, if it is in the list of
accepted contexts. When the actual context was already set before, it prints a warning
and ignores the second setting.
The function returns kFALSE, when the context is not in the list.
const char* getDefaultContext()
Returns the default context
void print()
prints the name, title of the container together with the actual context set
or all possible contexts, when the actual context was not set
TString getConcatName()
Returns the name of the parameter container used in the constructor and the
runtime database.
When the parameter container supportes different contexts (not only an empty string)
and the actual context set is not the default context, the new name of the parameter
container is concatinated as
original container name + _ + actualcontext
const char* getContext()
return the actual context, if set, or the default context
Inline Functions
const char* getActualContext() const
TClass* Class()
TClass* IsA() const
void ShowMembers(TMemberInspector& insp, char* parent)
void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
HContainer HContainer(const HContainer&)
HContainer& operator=(const HContainer&)
Last update: Mon Feb 5 16:49:58 2007
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.