IOLink
IOL_v1.6.1_release
|
Utility class to check and convert a DataAccess into a RandomAccess. More...
#include <iolink/storage/RandomAccessProvider.h>
Static Public Member Functions | |
static bool | isRandomAccess (std::shared_ptr< DataAccess > randomAccess) noexcept |
Checks if DataAccess supports RandomAccess interface. | |
static std::shared_ptr< RandomAccess > | toRandom (std::shared_ptr< DataAccess > accessor) noexcept |
Return the RandomAccess interface if the accessor supports it. More... | |
Utility class to check and convert a DataAccess into a RandomAccess.
|
inlinestaticnoexcept |
Return the RandomAccess interface if the accessor supports it.
If it does not support this interface, returns null.