IOLink 1.16.1
Loading...
Searching...
No Matches
TensorViewProvider.h
1#pragma once
2
3#include <iolink/view/tensor/TensorView.h>
4
5namespace iolink
6{
7
8class IOLINK_API TensorViewProvider
9{
10public:
11 // Delete the default constructor to prevent instantiation
12 TensorViewProvider() = delete;
13
20 static bool isTensor(const std::shared_ptr<View> view) noexcept;
21
29 static std::shared_ptr<TensorView> toTensor(const std::shared_ptr<View> view) noexcept;
30};
31
32} // namespace iolink