This stores the results of the caching algorithm. More...
#include <CubeCachingAlgorithm.h>

Public Member Functions | |
| CacheResult () | |
| Construct a cache algorithm result with the idea that the algorithm did not understand/was unable to determine a good result for what to free. | |
| CacheResult (QList< RawCubeChunk * >) | |
| Construct a cache algorithm result with the idea that the algorithm did understand/was able to determine a good result for what to free. | |
| CacheResult (const CacheResult &other) | |
| Copy a CacheResult. | |
| virtual | ~CacheResult () |
| Free allocated memory. | |
| bool | algorithmUnderstoodData () const |
| If this is true, then the results (be them empty or not) should be considered valid. | |
| QList< RawCubeChunk * > | getChunksToFree () const |
| CacheResult & | operator= (const CacheResult &other) |
| Assign one cache result to another. | |
This stores the results of the caching algorithm.
| Isis::CubeCachingAlgorithm::CacheResult::CacheResult | ( | ) |
Construct a cache algorithm result with the idea that the algorithm did not understand/was unable to determine a good result for what to free.
Referenced by CacheResult(), and operator=().
| Isis::CubeCachingAlgorithm::CacheResult::CacheResult | ( | QList< RawCubeChunk * > | free | ) |
Construct a cache algorithm result with the idea that the algorithm did understand/was able to determine a good result for what to free.
The list may be empty. Typically, if your result uses this constructor, other algorithms will not be subsequently called.
| Isis::CubeCachingAlgorithm::CacheResult::CacheResult | ( | const CacheResult & | other | ) |
Copy a CacheResult.
| other | The result we're copying into ourselves |
References CacheResult().
|
virtual |
Free allocated memory.
| bool Isis::CubeCachingAlgorithm::CacheResult::algorithmUnderstoodData | ( | ) | const |
If this is true, then the results (be them empty or not) should be considered valid.
If this is false, then the results are empty and the caching algorithm failed.
| QList< RawCubeChunk * > Isis::CubeCachingAlgorithm::CacheResult::getChunksToFree | ( | ) | const |
| CubeCachingAlgorithm::CacheResult & Isis::CubeCachingAlgorithm::CacheResult::operator= | ( | const CacheResult & | other | ) |
Assign one cache result to another.
| other | The RHS of the assignment operator; the cache result we're copying from. |
References CacheResult().