| IOLink 1.11.0

Loading...
Searching...
No Matches
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
iolink::DataFrameViewFactory
Definition DataFrameViewFactory.h:15
iolink::DataFrameViewFactory::allocate
static std::shared_ptr< DataFrameView > allocate()
This factory aims to create an empty DataFrame view.
iolink::DataFrameViewFactory::allocate
static std::shared_ptr< DataFrameView > allocate(const Vector2u64 &shape, const std::string *columnNames, const DataType *columnDataTypes)
This factory is aimed at creating a DataFrame view.
iolink::DataType
Stores information about a data type.
Definition DataType.h:162
iolink::Vector
An arithmetic vector.
Definition Vector.h:37
iolink
All IOLink symbols are enclosed in this namespace.
Definition ArrayX.h:8