[installation] Change to nightly
This commit is contained in:
@ -62,8 +62,9 @@ class ClassFactoryInterface {
|
||||
using RootType = ROOT_TYPE;
|
||||
using ClassPool = std::map<std::string, ClassFactoryInterface<ROOT_TYPE>*>;
|
||||
using ClassNames = std::map<const RTTI*, std::string>;
|
||||
using NameList = std::list<std::string>;
|
||||
|
||||
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
// X'truction
|
||||
// ----------------------------------------------------------------------
|
||||
@ -93,12 +94,17 @@ class ClassFactoryInterface {
|
||||
static const char* ClassName(const RTTI *rtti);
|
||||
|
||||
//! Looks up a class factory for a given class name
|
||||
static ClassFactoryInterface* FindByClassName(const char *className);
|
||||
static ClassFactoryInterface *FindByClassName(const char *className);
|
||||
static ClassFactoryInterface *FindByClassName(const std::string &className);
|
||||
|
||||
static bool IsTypeOf(const char *baseName, const char *derivedName);
|
||||
|
||||
//! Returns the number of registered classes
|
||||
static unsigned int NumberOfRegisteredClasses();
|
||||
//! Returns the number of registered classes. This is equal to
|
||||
//! Classes().size().
|
||||
static size_t NumberOfRegisteredClasses();
|
||||
|
||||
//! Returns the registered classes.
|
||||
static const ClassNames &RegisteredClasses();
|
||||
|
||||
//! Returns the name of the class (as given during construction) which can be created
|
||||
//! by this factory
|
||||
@ -167,7 +173,7 @@ class AbstractClassFactory : public ClassFactoryInterface<ROOT_TYPE> {
|
||||
|
||||
protected:
|
||||
//! Always returns nullptr
|
||||
ROOT_TYPE *create() const;
|
||||
ROOT_TYPE *create() const override;
|
||||
};
|
||||
// <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
|
||||
|
||||
@ -200,7 +206,7 @@ class ClassFactory : public ClassFactoryInterface<ROOT_TYPE> {
|
||||
|
||||
protected:
|
||||
//! The actual creation
|
||||
ROOT_TYPE* create() const;
|
||||
ROOT_TYPE* create() const override;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user