Shortcuts

Template Class PaddingLoader

Class Documentation

template<typename Impl>
class ripple::PaddingLoader

The PaddingLoader class defines an interface for loading padding.

Template Parameters
  • Impl: The implementation of the loading interface.

Public Functions

template<typename Iterator, typename Dim, typename ...Args>
constexpr auto load_front(Iterator &&it, int index, Dim &&dim, Args&&... args) const noexcept -> void

Loads the front padding in the dim dimension, using the value of the index in the dimension to find the appropriate cell.

Parameters
  • it: An iterator to the padding cell to load.

  • index: The index of the padding cell in the dimension.

  • dim: The dimension to load the padding in.

  • args: Additional arguments for the loading.

Template Parameters
  • Iterator: The type of the iterator.

  • Dim: The type of the dimension specifier.

  • Args: The types of the additional arguments.

template<typename Iterator, typename Dim, typename ...Args>
constexpr auto load_back(Iterator &&it, int index, Dim &&dim, Args&&... args) const noexcept -> void

Loads the back padding in the dim dimension, using the value of the index in the dimension to find the appropriate cell.

Parameters
  • it: An iterator to the padding cell to load.

  • index: The index of the padding cell in the dimension.

  • dim: The dimension to load the padding in.

  • args: Additional arguments for the loading.

Template Parameters
  • Iterator: The type of the iterator.

  • Dim: The type of the dimension specifier.

  • Args: The types of the additional arguments.

Protected Functions

template<typename Iterator>
auto static_assert_iterator(Iterator&&) const noexcept -> void

Checks that the iterator is an iterator.

Template Parameters
  • Iterator: The iterator to check is an iterator.

Docs

Access comprehensive developer documentation for Ripple

View Docs

Tutorials

Get tutorials to help with understand all features

View Tutorials

Examples

Find examples to help get started

View Examples