// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #pragma once #include "value_type.h" #include namespace vespalib::eval::value_type { std::optional cell_type_from_name(const vespalib::string &name); vespalib::string cell_type_to_name(CellType cell_type); ValueType parse_spec(const char *pos_in, const char *end_in, const char *&pos_out, std::vector *unsorted = nullptr); ValueType from_spec(const vespalib::string &spec); ValueType from_spec(const vespalib::string &spec, std::vector &unsorted); vespalib::string to_spec(const ValueType &type); }