OSSIA
Open Scenario System for Interactive Application
extended_types.hpp
1 #pragma once
2 #include <ossia/detail/config.hpp>
3 
4 #include <ossia/network/common/parameter_properties.hpp>
5 
6 #include <string>
7 #include <vector>
8 
9 namespace ossia
10 {
11 
13 using extended_type = std::string;
14 
15 // Here are the known extended types :
19 OSSIA_EXPORT extended_type generic_buffer_type();
20 
24 OSSIA_EXPORT extended_type filesystem_path_type();
25 
28 OSSIA_EXPORT extended_type url_type();
29 
32 OSSIA_EXPORT extended_type float_array_type();
33 
35 OSSIA_EXPORT extended_type float_list_type();
36 
38 OSSIA_EXPORT extended_type integer_list_type();
39 
41 OSSIA_EXPORT extended_type string_list_type();
42 
44 OSSIA_EXPORT extended_type list_type();
45 
47 OSSIA_EXPORT extended_type nil_type();
48 
50 OSSIA_EXPORT extended_type empty_type();
51 
53 OSSIA_EXPORT std::vector<ossia::val_type> underlying_type(const extended_type&);
54 }
Definition: git_info.h:7
extended_type list_type()
Means that the array is a dynamic array (e.g. ossia::val_type::LIST)
Definition: extended_types.cpp:43
extended_type integer_list_type()
Means that the array should be interpreted as a dynamic int list.
Definition: extended_types.cpp:33
ossia::val_type underlying_type(const complex_type &t)
Definition: complex_type.cpp:40
extended_type filesystem_path_type()
Definition: extended_types.cpp:13
std::string extended_type
How a low-level type should be interpreted.
Definition: complex_type.hpp:9
extended_type nil_type()
Means that the value is an impulse with OSC type-tag NIL.
Definition: extended_types.cpp:48
extended_type string_list_type()
Means that the array should be interpreted as a dynamic string list.
Definition: extended_types.cpp:38
extended_type generic_buffer_type()
Definition: extended_types.cpp:8
extended_type float_list_type()
Means that the array should be interpreted as a dynamic float list.
Definition: extended_types.cpp:28
extended_type float_array_type()
Definition: extended_types.cpp:23
extended_type url_type()
Definition: extended_types.cpp:18
extended_type empty_type()
Means that the value is an impulse with no OSC type-tag (,\0\0\0)
Definition: extended_types.cpp:53