V-Gears 0
Free Final Fantasy VII engine.
ObjectFactory.h File Reference
#include <map>
#include <string>
#include "common/scummsys.h"
Include dependency graph for ObjectFactory.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ObjectFactory< KeyType, BaseType >
 Generic factory for a class and its subclasses. More...
 

Functions

template<typename BaseType , typename Type >
BaseType * CreateObject ()
 Template function for creating an instance of Type. More...
 

Function Documentation

◆ CreateObject()

template<typename BaseType , typename Type >
BaseType * CreateObject ( )

Template function for creating an instance of Type.