1 #ifndef ExportImagesWorkOrder_H
2 #define ExportImagesWorkOrder_H
57 class ProjectImageExportFunctor :
public std::unary_function<Image * const &, void *> {
59 ProjectImageExportFunctor(QString destination);
60 ProjectImageExportFunctor(
const ProjectImageExportFunctor &other);
61 ~ProjectImageExportFunctor();
63 void *operator()(
Image *
const &imageToExport);
69 ProjectImageExportFunctor &operator=(
const ProjectImageExportFunctor &rhs);
71 QString m_destination;
74 QSharedPointer<IException> m_errors;
75 QSharedPointer<int> m_numErrors;
virtual ExportImagesWorkOrder * clone() const
Definition: ExportImagesWorkOrder.cpp:58
Internalizes a list of images and allows for operations on the entire list.
Definition: ImageList.h:44
~ExportImagesWorkOrder()
Definition: ExportImagesWorkOrder.cpp:53
The main project for cnetsuite.
Definition: Project.h:105
void postSyncRedo()
Display any warnings that occurred during the asynchronous computations.
Definition: ExportImagesWorkOrder.cpp:159
void asyncRedo()
Use internalData() and write the images into the output directory.
Definition: ExportImagesWorkOrder.cpp:126
Project * project() const
Returns the Project this WorkOrder is attached to.
Definition: WorkOrder.cpp:1116
Parent class for anything that performs an action in Project.
Definition: WorkOrder.h:104
This represents a cube in a project-based GUI interface.
Definition: Image.h:91
bool execute()
Prompts the user for input.
Definition: ExportImagesWorkOrder.cpp:83
ExportImagesWorkOrder(Project *project)
Definition: ExportImagesWorkOrder.cpp:42
bool isExecutable(ImageList *images)
Currently, this work order only works with either no data (file menu) or with any number of images...
Definition: ExportImagesWorkOrder.cpp:71
Isis exception class.
Definition: IException.h:99
Write project images to a user-specified location.
Definition: ExportImagesWorkOrder.h:29