auto imageF = std::get<0>(imagePtrs);
&& imageF->imageType().contains(ComponentListImage::IMAGE_TYPE)
std::dynamic_pointer_cast<ComponentListImage>(imageF)->setCache(cache);
SPIIF ImageFactory::fromFile(
const casacore::String& filename, casacore::Float, casacore::Bool cache
auto t = fromFile(filename, cache);
SPIIC ImageFactory::fromFile(
const casacore::String& filename, casacore::Complex, casacore::Bool cache
auto t = fromFile(filename, cache);
SPIID ImageFactory::fromFile(
const casacore::String& filename, casacore::Double, casacore::Bool cache
auto t = fromFile(filename, cache);
SPIIDC ImageFactory::fromFile(
const casacore::String& filename, casacore::DComplex, casacore::Bool cache
auto t = fromFile(filename, cache);
ITUPLE ImageFactory::_fromLatticeBase(
unique_ptr<LatticeBase>& latt
DataType dataType = latt->dataType();
tuple<SPIIF, SPIIC, SPIID, SPIIDC> ret(nullptr, nullptr, nullptr, nullptr);
if (dataType == TpFloat) {
dynamic_cast<ImageInterface<Float> *>(latt.release())
ThrowIf(! f, "Could not cast LatticeBase to ImageInterface<Float>");