30#ifndef OPENSWMM_ENGINE_TOKENIZER_HPP
31#define OPENSWMM_ENGINE_TOKENIZER_HPP
67 static std::string_view
strip_comment(std::string_view line)
noexcept;
92 static std::vector<std::string>
tokenize(std::string_view line);
107 static std::vector<std::string_view>
tokenize_views(std::string_view line);
122 static std::string
to_upper(std::string_view s);
127 static std::string_view
trim(std::string_view s)
noexcept;
134 static bool is_numeric(std::string_view sv)
noexcept;
139 static bool is_boolean(std::string_view sv)
noexcept;
150 static bool is_delimiter(
char c)
noexcept {
151 return c ==
',' || c ==
'\t' || c ==
' ';