|
IOLink
IOL_v1.1.0_release
|
3 #include <iolink/view/MultiImageView.h>
17 inline static bool isMultiImage(std::shared_ptr<View> view) noexcept
19 return (
dynamic_cast<const MultiImageView*
>(view.get()) !=
nullptr);
27 inline static std::shared_ptr<MultiImageView>
toMultiImage(std::shared_ptr<View> view) noexcept
29 return std::dynamic_pointer_cast<MultiImageView>(view);
static std::shared_ptr< MultiImageView > toMultiImage(std::shared_ptr< View > view) noexcept
Extracts the MultiImageView interface from a given generic view.
Definition: MultiImageViewProvider.h:27
All IOLink symbols are enclosed in this namespace.
Definition: ArrayX.h:7
Interface representing a multi-image view, i.e.
Definition: MultiImageView.h:49
Utility class to check and convert a View into a MultiImagevView.
Definition: MultiImageViewProvider.h:11
static bool isMultiImage(std::shared_ptr< View > view) noexcept
Checks if given View is a MultiImageView.
Definition: MultiImageViewProvider.h:17