#include <stilfactory.h>
Static Public Member Functions | |
STILEntity * | createEntity (const STILEntity::Type &t) |
STILEntity * | cloneEntity (const STILEntity *) |
This class can be used to create new stilentities and clone existing entities as pointers. This can help to remove 'switch' statements where objects are allocated (via 'new', based on STIL::Type) and could also help to potentially remove some file dependencies in other files by keeping all of the different include'd files isolated here in the factory's file dependencies.
|
|
|
|