Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision be2e9500

Von Christian Ehringfeld vor mehr als 8 Jahren hinzugefügt

  • ID be2e950073b175c0e08fb4b7f34251d0ab482e05
  • Vorgänger f9dccfc5
  • Nachfolger d3d65c98

attribute resolver integration

Unterschiede anzeigen:

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