IOLink  IOL_v1.6.1_release
DataFrameViewFactory.h
1 #pragma once
2 
3 #include <memory>
4 #include <string>
5 
6 #include <iolink/DataType.h>
7 #include <iolink/IOLinkAPI.h>
8 #include <iolink/Vector.h>
9 #include <iolink/view/DataFrameView.h>
10 
11 namespace iolink
12 {
13 
14 class IOLINK_API DataFrameViewFactory
15 {
16 public:
32  static std::shared_ptr<DataFrameView> allocate(const Vector2u64& shape,
33  const std::string* columnNames,
34  const DataType* columnDataTypes);
35 
40  static std::shared_ptr<DataFrameView> allocate();
41 };
42 
43 } // end namespace iolink