This is the concrete factory for the database box loader strategy.
More...
#include <BoxLoaderStrategyFactory.h>
|
std::string | m_factoryKey |
| The key that identifies the concrete factory: it will be used for unregistering the factory during destruction. More...
|
|
This is the concrete factory for the database box loader strategy.
- See also
- te::graph::AbstractLoaderStrategyFactory
Definition at line 47 of file BoxLoaderStrategyFactory.h.
te::graph::BoxLoaderStrategyFactory::~BoxLoaderStrategyFactory |
( |
| ) |
|
|
inline |
te::graph::BoxLoaderStrategyFactory::BoxLoaderStrategyFactory |
( |
| ) |
|
|
protected |
This method must be implemented by subclasses (load strategy types).
- Parameters
-
gm | The necessary graph information |
- Returns
- The new loader strategy.
- Note
- The caller will take the ownership of the returned pointer.
Implements te::graph::AbstractGraphLoaderStrategyFactory.
static void te::graph::BoxLoaderStrategyFactory::finalize |
( |
| ) |
|
|
static |
It finalizes the factory: the singleton instance will be destroyed and will be unregistered from the abstract factory ...
It returns a reference to the internal dictionary of concrete factories.
The dictionary is a singleton.
- Returns
- A reference to the internal dictionary.
It returns the factory key associated to the concreate factory.
- Returns
- The factory key associated to the concreate factory.
const std::string& te::graph::BoxLoaderStrategyFactory::getType |
( |
| ) |
const |
|
virtual |
static void te::graph::BoxLoaderStrategyFactory::initialize |
( |
| ) |
|
|
static |
It initializes the factory: the singleton instance will be registered in the abstract factory ...
It creates and returns default graph loader strategy.
- Returns
- A default graph loader strategy.
- Note
- The caller will take the ownership of the returned pointer.
It creates graph loader strategy with the proper type.
- Parameters
-
lsType | Type The name of the specific graph loader strategy type to be used to create. |
- Returns
- A proper graph loader strategy.
- Note
- The caller will take the ownership of the returned pointer.
It creates graph loader strategy with the proper type.
- Parameters
-
lsType | Type The name of the specific graph loader strategy type to be used to create. |
gm | Pointer to a class that defines the graph metadata |
- Returns
- A proper graph loader strategy.
- Note
- The caller will take the ownership of the returned pointer.
The key that identifies the concrete factory: it will be used for unregistering the factory during destruction.
Definition at line 136 of file AbstractFactory.h.
The documentation for this class was generated from the following file: