Isis 3 Programmer Reference
|
This functor is used for copying the images between two projects quickly. More...
Public Member Functions | |
CopyImageDataFunctor (const Project *project, FileName newProjectRoot) | |
Constructor for CopyImageDataFunctor. | |
CopyImageDataFunctor (const CopyImageDataFunctor &other) | |
Copy constructor for CopyImageDataFunctor. | |
~CopyImageDataFunctor () | |
Destructor for CopyImageDataFunctor. | |
void * | operator() (Image *const &imageToCopy) |
Copies the cub/ecub files for an image into m_project. | |
CopyImageDataFunctor & | operator= (const CopyImageDataFunctor &rhs) |
Assignment operator for CopyImageDataFunctor. | |
Private Attributes | |
const Project * | m_project |
This stores the name of the project that is going to be copied to. | |
FileName | m_newProjectRoot |
This stores the path to the root of the project that is going to be copied to. | |
This functor is used for copying the images between two projects quickly.
This is designed to work with QtConcurrentMap, though the results are all NULL (QtConcurrentMap is much faster than many QtConcurrentRun calls).
Definition at line 170 of file ImageList.h.
Isis::ImageList::CopyImageDataFunctor::CopyImageDataFunctor | ( | const Project * | project, |
FileName | newProjectRoot ) |
Constructor for CopyImageDataFunctor.
project | The project that the image data will be saved to when the functor is used |
newProjectRoot | The path to the project root |
Definition at line 881 of file ImageList.cpp.
References m_newProjectRoot, and m_project.
Isis::ImageList::CopyImageDataFunctor::CopyImageDataFunctor | ( | const CopyImageDataFunctor & | other | ) |
Copy constructor for CopyImageDataFunctor.
other | The functor to copy from |
Definition at line 893 of file ImageList.cpp.
Isis::ImageList::CopyImageDataFunctor::~CopyImageDataFunctor | ( | ) |
Destructor for CopyImageDataFunctor.
Definition at line 902 of file ImageList.cpp.
void * Isis::ImageList::CopyImageDataFunctor::operator() | ( | Image *const & | imageToCopy | ) |
Copies the cub/ecub files for an image into m_project.
Used by save to copy the imageList into a new project.
imageToCopy | The image to copy into m_project. |
Definition at line 914 of file ImageList.cpp.
References Isis::IException::Io.
ImageList::CopyImageDataFunctor & Isis::ImageList::CopyImageDataFunctor::operator= | ( | const CopyImageDataFunctor & | rhs | ) |
Assignment operator for CopyImageDataFunctor.
rhs | The functor to assign from |
Definition at line 934 of file ImageList.cpp.
References m_project.
|
private |
This stores the path to the root of the project that is going to be copied to.
Definition at line 188 of file ImageList.h.
Referenced by CopyImageDataFunctor().
|
private |
This stores the name of the project that is going to be copied to.
Definition at line 184 of file ImageList.h.
Referenced by CopyImageDataFunctor(), and operator=().