channel.h
Go to the documentation of this file.
83 std::vector<std::string> expected_order(I beg, I end) INTEROP_THROW_SPEC(( model::invalid_channel_exception ))
133 INTEROP_ASSERTMSG(expected.size() == normed.size(), expected.size() << " == " << normed.size());
153 INTEROP_ASSERTMSG(expected.size() == normed.size(), expected.size() << " == " << normed.size());
156 map[i] = std::distance(expected.begin(), std::find(expected.begin(), expected.end(), normed[i]));
225 inline std::vector<std::string> update_channel_from_instrument_type(const constants::instrument_type instrument)
void update_channel_from_instrument_type(const constants::instrument_type instrument, std::vector< std::string > &channels)
Definition: channel.h:187
Definition: enum_description.h:15
Definition: enums.h:311
std::vector< size_t > expected2actual_map(const std::vector< std::string > &channels)
Definition: channel.h:165
Definition: enums.h:311
Definition: enums.h:311
Definition: enums.h:311
void actual2expected(const std::vector< std::string > &channels, std::vector< size_t > &map)
Definition: channel.h:146
std::string join(I beg, I end, const std::string &token)
Definition: channel.h:55
std::vector< size_t > actual2expected_map(const std::vector< std::string > &channels)
Definition: channel.h:176
Definition: enums.h:311
void expected2actual(const std::vector< std::string > &channels, std::vector< size_t > &map)
Definition: channel.h:126
std::vector< std::string > expected_order(I beg, I end) INTEROP_THROW_SPEC((model
Definition: channel.h:83
Definition: model_exceptions.h:26
Definition: enums.h:311
Definition: enums.h:311
std::string to_lower(const std::string &input)
Definition: string.h:98
std::string normalize(const std::string &channel)
Definition: channel.h:32