46#ifndef OPENSWMM_ENGINE_TOKENIZER_HPP
47#define OPENSWMM_ENGINE_TOKENIZER_HPP
83 static std::string_view
strip_comment(std::string_view line)
noexcept;
108 static std::vector<std::string>
tokenize(std::string_view line);
123 static std::vector<std::string_view>
tokenize_views(std::string_view line);
138 std::vector<std::string_view>& out);
153 static std::string
to_upper(std::string_view s);
158 static std::string_view
trim(std::string_view s)
noexcept;
165 static bool is_numeric(std::string_view sv)
noexcept;
170 static bool is_boolean(std::string_view sv)
noexcept;
181 static bool is_delimiter(
char c)
noexcept {
182 return c ==
',' || c ==
'\t' || c ==
' ';