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