| 65 | ArrayConvertTask; |
| 66 | |
| 67 | inline void ThrowIfNotOK(const Status& status) { |
| 68 | if (!status.ok()) { |
| 69 | throw DriverException(status.message()); |
| 70 | } |
| 71 | } |
| 72 | |
| 73 | template <typename T, typename AttributeTypeT> |
| 74 | inline bool CheckIfSetToOnlyValidValue(const AttributeTypeT& value, T allowed_value) { |