OSSIA
Open Scenario System for Interactive Application
array_domain.hpp
1 #pragma once
3 namespace ossia
4 {
5 
9 struct list_clamp
10 {
11  const vector_domain& domain;
12 
13  ossia::value operator()(bounding_mode b, const std::vector<ossia::value>& val) const;
14  ossia::value operator()(bounding_mode b, std::vector<ossia::value>&& val) const;
15  // TODO numeric_list_clamp that will be used instead
16  // of the loops in domain_clamp_visitor
17 };
18 
19 template <std::size_t N>
20 struct vec_clamp
21 {
22  const vecf_domain<N>& domain;
23 
24  ossia::value operator()(bounding_mode b, std::array<float, N> val) const;
25 };
26 }
The value class.
Definition: value.hpp:173
Definition: git_info.h:7
bounding_mode
Address behaviors at crossing domain boundaries.
Definition: parameter_properties.hpp:56
domain A domain of values
Definition: domain_base.hpp:23
Definition: array_domain.hpp:10