GenoM IDL bounded strings are mapped to nul terminated character arrays
(i.e., C strings) wrapped inside the specific genom::bounded_string
class. Unbounded strings are mapped to std::string
provided by the C++
standard.
For instance, the following OMG IDL declarations:
typedef string unbounded; typedef string<16> bounded;
would map into
typedef std::string unbounded; typedef genom::bounded_string<16> bounded;
The genom::bounded_string
provides the following interface:
namespace genom3 { template<std::size_t L> struct bounded_string { char c[L]; }; }
This minimalistic definition will be refined before the official 3.0 GenoM
release.