32 #ifndef CXDATAFACTORY_H 33 #define CXDATAFACTORY_H 35 #include "cxResourceExport.h" 57 DataPtr create(QString type, QString uid, QString name=
"");
62 DataPtr retval = this->create(T::getTypeName(), uid, name);
63 return boost::dynamic_pointer_cast<T>(retval);
67 SpaceProviderPtr mSpaceProvider;
68 DataPtr createRaw(QString type, QString uid);
77 #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.