Revision be2e9500
Von Christian Ehringfeld vor mehr als 8 Jahren hinzugefügt
src/entityinstancefactory.h | ||
---|---|---|
#include <QString>
|
||
#include <QVariant>
|
||
#include <QHash>
|
||
#include "attribute.h"
|
||
namespace CuteEntityManager {
|
||
class Entity;
|
||
class EntityInstanceFactory {
|
||
... | ... | |
static Entity *createInstance() {
|
||
return EntityInstanceFactory::createInstance(qMetaTypeId<T>());
|
||
}
|
||
static Entity *createInstance(Attribute *&attr);
|
||
|
||
|
||
//http://www.mimec.org/node/350
|
||
template<typename T>
|
Auch abrufbar als: Unified diff
attribute resolver integration