CARLA
Loading...
Searching...
No Matches
carla::image::io::detail::io_resolver Struct Reference

#include <ImageIOConfig.h>

Static Public Member Functions

template<typename IO, typename Str>
static std::enable_if<!IO::is_supported, bool >::type match_extension (const Str &)
template<typename IO, typename Str>
static std::enable_if< IO::is_supported, bool >::type match_extension (const Str &str)
template<typename IO, typename... Args>
static std::enable_if<!IO::is_supported >::type read_image (Args &&...)
template<typename IO, typename Str, typename... Args>
static std::enable_if< IO::is_supported >::type read_image (const Str &path, Args &&... args)
template<typename IO, typename... Args>
static std::enable_if<!IO::is_supported >::type write_view (Args &&...)
template<typename IO, typename... Args>
static std::enable_if< IO::is_supported >::type write_view (std::string &path, Args &&... args)

Detailed Description

Definition at line 196 of file ImageIOConfig.h.

Member Function Documentation

◆ match_extension() [1/2]

template<typename IO, typename Str>
std::enable_if<!IO::is_supported, bool >::type carla::image::io::detail::io_resolver::match_extension ( const Str & )
inlinestatic

Definition at line 204 of file ImageIOConfig.h.

◆ match_extension() [2/2]

template<typename IO, typename Str>
std::enable_if< IO::is_supported, bool >::type carla::image::io::detail::io_resolver::match_extension ( const Str & str)
inlinestatic

◆ read_image() [1/2]

template<typename IO, typename... Args>
std::enable_if<!IO::is_supported >::type carla::image::io::detail::io_resolver::read_image ( Args && ...)
inlinestatic

Definition at line 215 of file ImageIOConfig.h.

References DEBUG_ASSERT.

◆ read_image() [2/2]

template<typename IO, typename Str, typename... Args>
std::enable_if< IO::is_supported >::type carla::image::io::detail::io_resolver::read_image ( const Str & path,
Args &&... args )
inlinestatic

◆ write_view() [1/2]

template<typename IO, typename... Args>
std::enable_if<!IO::is_supported >::type carla::image::io::detail::io_resolver::write_view ( Args && ...)
inlinestatic

Definition at line 227 of file ImageIOConfig.h.

References DEBUG_ASSERT.

◆ write_view() [2/2]

template<typename IO, typename... Args>
std::enable_if< IO::is_supported >::type carla::image::io::detail::io_resolver::write_view ( std::string & path,
Args &&... args )
inlinestatic

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