| IOLink 1.11.0

Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
iolink::StreamAccessProvider Class Reference

Utility class to check and convert a DataAccess into a StreamAccess. More...

`#include <iolink/storage/StreamAccessProvider.h>`

## Static Public Member Functions
static bool | isStreamAccess (std::shared_ptr< DataAccess > accessor) noexcept
| Checks if DataAccess is a StreamAccess.
static std::shared_ptr< StreamAccess > | toStream (std::shared_ptr< DataAccess > storage) noexcept

## Detailed Description

Utility class to check and convert a DataAccess into a StreamAccess.

## Member Function Documentation

## ◆ toStream()

static std::shared_ptr< StreamAccess > iolink::StreamAccessProvider::toStream | ( | std::shared_ptr< DataAccess > | storage | ) |
| inline static noexcept

- * Return a StreamAccess if the DataAccess supports it.
- *
- * If it does not support this interface, returns null.

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

- iolink/public/include/iolink/storage/StreamAccessProvider.h