VariationLoader factory.
More...
#include <VariationLoaderFactory.h>
VariationLoader factory.
VariationLoader factory used to create variation loaders.
◆ createVariationLoader()
AtomsPtr<BaseVariationLoader> Atoms::VariationLoaderFactory::createVariationLoader |
( |
const std::string & |
typeName | ) |
|
Creates an variation loader.
- Parameters
-
typeName | variation loader type |
- Returns
- Pointer to the variation loader
◆ deregisterVariationLoader()
void Atoms::VariationLoaderFactory::deregisterVariationLoader |
( |
const std::string & |
name | ) |
|
Deregisters an variation loader type from the factory.
- Parameters
-
◆ getRegisteredVariationLoader()
std::vector<std::string> Atoms::VariationLoaderFactory::getRegisteredVariationLoader |
( |
| ) |
|
Gets all registered variation loader.
- Returns
- List of all variation loader type registered
◆ isRegistered()
bool Atoms::VariationLoaderFactory::isRegistered |
( |
const std::string & |
name | ) |
|
Checks if an variation loader type with the given name is registered.
- Parameters
-
- Returns
- Return true if the type is already registered
◆ registerVariationLoader()
void Atoms::VariationLoaderFactory::registerVariationLoader |
( |
const std::string & |
name, |
|
|
creatorFn |
funct |
|
) |
| |
Registers a new variation loader type in the factory.
- Parameters
-
The documentation for this class was generated from the following file: