11 #ifndef CXDATAFACTORY_H 12 #define CXDATAFACTORY_H 14 #include "cxResourceExport.h" 36 DataPtr create(QString type, QString uid, QString name=
"");
41 DataPtr retval = this->create(T::getTypeName(), uid, name);
42 return boost::dynamic_pointer_cast<T>(retval);
45 DataPtr createRaw(QString type, QString uid);
48 SpaceProviderPtr mSpaceProvider;
57 #endif // CXDATAFACTORY_H boost::shared_ptr< class SpaceProvider > SpaceProviderPtr
boost::shared_ptr< class Data > DataPtr
boost::shared_ptr< class PatientModelService > PatientModelServicePtr
boost::shared_ptr< T > createSpecific(QString uid, QString name="")
boost::shared_ptr< class DataFactory > DataFactoryPtr
Namespace for all CustusX production code.