This class represents a simple factory for creating wrappers. More...
#include <hl_wrapperfactory.h>
Public Member Functions | |
hashwrapper * | create (HL_Wrappertype type) |
Simple factory-method to create a hashwrapper. | |
hashwrapper * | create (std::string type) |
Simple factory-method to create a hashwrapper. |
This class represents a simple factory for creating wrappers.
U can use this class for dynamicly create wrappers of a given type at runtime.
hashwrapper * wrapperfactory::create | ( | std::string | type | ) |
Simple factory-method to create a hashwrapper.
type | the simple name of the type for example "md5" |
type | The type of the hash algorithm to create a wrapper for |
hashwrapper * wrapperfactory::create | ( | HL_Wrappertype | type | ) |
Simple factory-method to create a hashwrapper.
type | The type of the hash algorithm to create a wrapper for |