utility class that helps for an implicit conversion between Img<T>* to ImgBase**
More...
#include <Img.h>
template<class T>
struct icl::core::ImgBasePtrPtr< T >
utility class that helps for an implicit conversion between Img<T>* to ImgBase**
- See also
- bpp(Img<T> &)
-
bpp(Img<T> *)
◆ ImgBasePtrPtr() [1/2]
◆ ImgBasePtrPtr() [2/2]
◆ ~ImgBasePtrPtr()
Destructor.
In this class, the destrutctor does all of the work: if the pointer returned by the implicit cast to ImgBase** operator was chnaged (reallocated) it is detected here, and a warnig is writte to std::out. To ensure compability for later computation, the reallocated images data is converted into the given source image. By this means, the result image gets all parameters of the source image except its depth. Images, that are not further needed, are deleted automatically.
◆ operator ImgBase **()
Implicit cast operator (allows to place an ImgBasePtrPtr where an ImgBase** is expected)
◆ rbef
The documentation for this struct was generated from the following file:
- /Users/alneuman/vm/icl/ICLCore/src/ICLCore/Img.h