1 #ifndef WorkOrderFactory_H 2 #define WorkOrderFactory_H 71 template<
typename ClassType>
73 if (ClassType::staticMetaObject.className() == type) {
74 result =
new ClassType(project);
91 #endif // WorkOrderFactory_H The main project for ipce.
Definition: Project.h:289
static WorkOrder * create(Project *project, QString type)
This instantiates a work order given a project and a type name (class name in a string).
Definition: WorkOrderFactory.cpp:50
Provide Undo/redo abilities, serialization, and history for an operation.
Definition: WorkOrder.h:322
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
Instantiate work orders from QString versions of the class name.
Definition: WorkOrderFactory.h:66