| 183 | } |
| 184 | |
| 185 | std::shared_ptr<option_impl> message_impl::get_option(int16_t _index) const { |
| 186 | if (_index > -1) { |
| 187 | size_t its_index = static_cast<size_t>(_index); |
| 188 | if (its_index < options_.size()) |
| 189 | return options_[its_index]; |
| 190 | } |
| 191 | return nullptr; |
| 192 | } |
| 193 | |
| 194 | uint32_t message_impl::get_options_length() { |
| 195 | return options_length_; |
no test coverage detected