Spell checking
This commit is contained in:
@@ -42,7 +42,7 @@
|
|||||||
* .
|
* .
|
||||||
* .
|
* .
|
||||||
* .
|
* .
|
||||||
* TypeFsactory <std::string, Base, int> typefactory;
|
* TypeFactory <std::string, Base, int> typefactory;
|
||||||
* typefactory.registerType<Derived1>("one");
|
* typefactory.registerType<Derived1>("one");
|
||||||
* typefactory.registerType<Derived2>("2");
|
* typefactory.registerType<Derived2>("2");
|
||||||
*
|
*
|
||||||
@@ -54,7 +54,7 @@
|
|||||||
* @endcode
|
* @endcode
|
||||||
*/
|
*/
|
||||||
template<class ClassId, class BaseClass, class ... Args>
|
template<class ClassId, class BaseClass, class ... Args>
|
||||||
class TypeFsactory {
|
class TypeFactory {
|
||||||
public:
|
public:
|
||||||
typedef std::shared_ptr<BaseClass> BaseClass_SP;
|
typedef std::shared_ptr<BaseClass> BaseClass_SP;
|
||||||
/**
|
/**
|
||||||
@@ -62,7 +62,7 @@ class TypeFsactory {
|
|||||||
*/
|
*/
|
||||||
typedef BaseClass_SP (*typefactoryFunction) (Args ...);
|
typedef BaseClass_SP (*typefactoryFunction) (Args ...);
|
||||||
|
|
||||||
TypeFsactory() = default;
|
TypeFactory() = default;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief registerType - template function to register class in factory
|
* @brief registerType - template function to register class in factory
|
||||||
|
|||||||
Reference in New Issue
Block a user