Mantid
|
#include <ImplicitFunctionParameterParserFactory.h>
Public Member Functions | |
std::shared_ptr< ImplicitFunctionParameterParser > | create (const std::string &xmlString) const override |
Creates a new instance of the class with the given name. More... | |
ImplicitFunctionParameterParser * | createImplicitFunctionParameterParserFromXML (Poco::XML::Element *parametersElement) const |
ImplicitFunctionParameterParserFactoryImpl (const ImplicitFunctionParameterParserFactoryImpl &)=delete | |
ImplicitFunctionParameterParserFactoryImpl & | operator= (const ImplicitFunctionParameterParserFactoryImpl &)=delete |
Public Member Functions inherited from Mantid::Kernel::DynamicFactory< ImplicitFunctionParameterParser > | |
virtual std::shared_ptr< ImplicitFunctionParameterParser > | create (const std::string &className) const |
Creates a new instance of the class with the given name. More... | |
virtual ImplicitFunctionParameterParser * | createUnwrapped (const std::string &className) const |
Creates a new instance of the class with the given name, which is not wrapped in a boost shared_ptr. More... | |
void | disableNotifications () |
Disable notifications. More... | |
DynamicFactory (const DynamicFactory &)=delete | |
void | enableNotifications () |
Enable notifications. More... | |
bool | exists (const std::string &className) const |
Returns true if the given class is currently registered. More... | |
virtual const std::vector< std::string > | getKeys () const |
Returns the keys in the map. More... | |
DynamicFactory & | operator= (const DynamicFactory &)=delete |
void | subscribe (const std::string &className) |
Registers the instantiator for the given class with the DynamicFactory. More... | |
void | subscribe (const std::string &className, std::unique_ptr< AbstractFactory > pAbstractFactory, SubscribeAction replace=ErrorIfExists) |
Registers the instantiator for the given class with the DynamicFactory. More... | |
void | unsubscribe (const std::string &className) |
Unregisters the given class and deletes the instantiator for the class. More... | |
virtual | ~DynamicFactory ()=default |
Destroys the DynamicFactory and deletes the instantiators for all registered classes. More... | |
Private Member Functions | |
ImplicitFunctionParameterParserFactoryImpl ()=default | |
Private Constructor for singleton class. More... | |
~ImplicitFunctionParameterParserFactoryImpl () override=default | |
Private Destructor. More... | |
Friends | |
struct | Mantid::Kernel::CreateUsingNew< ImplicitFunctionParameterParserFactoryImpl > |
Additional Inherited Members | |
Public Types inherited from Mantid::Kernel::DynamicFactory< ImplicitFunctionParameterParser > | |
using | AbstractFactory = AbstractInstantiator< ImplicitFunctionParameterParser > |
A typedef for the instantiator. More... | |
enum | NotificationStatus |
Defines the whether notifications are dispatched. More... | |
enum | SubscribeAction |
Defines replacement behaviour. More... | |
Public Attributes inherited from Mantid::Kernel::DynamicFactory< ImplicitFunctionParameterParser > | |
Poco::NotificationCenter | notificationCenter |
Sends notifications to observers. More... | |
Protected Member Functions inherited from Mantid::Kernel::DynamicFactory< ImplicitFunctionParameterParser > | |
DynamicFactory () | |
Protected constructor for base class. More... | |
Definition at line 26 of file ImplicitFunctionParameterParserFactory.h.
|
delete |
|
privatedefault |
Private Constructor for singleton class.
|
overrideprivatedefault |
Private Destructor.
|
overridevirtual |
Creates a new instance of the class with the given name.
The class must have been registered with subscribe() (typically done via a macro). If the class name is unknown, a NotFoundException is thrown.
className | :: the name of the class you wish to create |
Reimplemented from Mantid::Kernel::DynamicFactory< ImplicitFunctionParameterParser >.
Definition at line 15 of file ImplicitFunctionParameterParserFactory.cpp.
References UNUSED_ARG.
ImplicitFunctionParameterParser * Mantid::API::ImplicitFunctionParameterParserFactoryImpl::createImplicitFunctionParameterParserFromXML | ( | Poco::XML::Element * | parametersElement | ) | const |
|
delete |
References Mantid::DataObjects::create().
|
friend |
Definition at line 33 of file ImplicitFunctionParameterParserFactory.h.