IOLink 1.16.1
Loading...
Searching...
No Matches
iolink::DataFrameViewProvider Class Reference

Static Public Member Functions

static bool isDataFrame (std::shared_ptr< View > view)
 
static std::shared_ptr< DataFrameViewtoDataFrame (std::shared_ptr< View > view)
 
static std::shared_ptr< DataFrameViewtoReadOnly (std::shared_ptr< DataFrameView > dataframe)
 Remove all capacities except READ to a DataFrameView.
 

Member Function Documentation

◆ toReadOnly()

static std::shared_ptr< DataFrameView > iolink::DataFrameViewProvider::toReadOnly ( std::shared_ptr< DataFrameView dataframe)
static

Remove all capacities except READ to a DataFrameView.

If given DataFrame only has READ capacity, it is returned directly.

Warning
All extensions of DataFrameView will be kept, but some of them may not be impacted be capabilities restrictions.
Parameters
dataframeDataFrameView for which we want to only have READ capacity
Returns
a DataFrameView with only READ capacity

The documentation for this class was generated from the following file: