CustusX  16.5.0-rc9
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::DataFactory Class Reference

#include <cxDataFactory.h>

Public Member Functions

 DataFactory (PatientModelServicePtr dataManager, SpaceProviderPtr spaceProvider)
 
DataPtr create (QString type, QString uid, QString name="")
 
template<class T >
boost::shared_ptr< T > createSpecific (QString uid, QString name="")
 

Detailed Description

Factory for creating cx::Data objects

Date
2014-02-22
Author
christiana

Definition at line 52 of file cxDataFactory.h.

Constructor & Destructor Documentation

cx::DataFactory::DataFactory ( PatientModelServicePtr  dataManager,
SpaceProviderPtr  spaceProvider 
)
explicit

Definition at line 53 of file cxDataFactory.cpp.

Member Function Documentation

DataPtr cx::DataFactory::create ( QString  type,
QString  uid,
QString  name = "" 
)

Definition at line 87 of file cxDataFactory.cpp.

template<class T >
boost::shared_ptr<T> cx::DataFactory::createSpecific ( QString  uid,
QString  name = "" 
)
inline

Definition at line 60 of file cxDataFactory.h.


The documentation for this class was generated from the following files: