35 mDataManager(dataManager),
36 mSpaceProvider(spaceProvider)
41 #define CREATE_IF_MATCH(typeName, TYPE) \
43 if (typeName==TYPE::getTypeName()) \
44 return TYPE::create(uid, ""); \
46 #define CREATE_WITH_SERVICES_IF_MATCH(typeName, TYPE) \
48 if (typeName==TYPE::getTypeName()) \
49 return TYPE::create(uid, "", mDataManager, mSpaceProvider); \
52 DataPtr DataFactory::createRaw(QString type, QString uid)
67 CX_LOG_WARNING() <<
"DataFactory::createRaw - No match for type: " << type;
73 DataPtr retval = this->createRaw(type, uid);
77 retval->setName(name);