#include <boost/algorithm/string/predicate.hpp>
#include <algorithm>
#include <iosfwd>
#include <optional>
#include <stdexcept>
#include <string_view>
#include <vector>
#include <fmt/format.h>
#include <xpu/defines.h>
Go to the source code of this file.
|
template<typename T , typename = std::enable_if_t<detail::EnumHasDict_v<T>>> |
std::vector< std::string_view > | cbm::algo::detail::ValidEntries () |
|
void | cbm::algo::detail::RaiseUnknownEntry (std::string_view str, const std::vector< std::string_view > &validEntries) |
|
template<typename T , typename = std::enable_if_t<detail::EnumHasDict_v<T>>> |
std::optional< T > | cbm::algo::FromString (std::string_view str, bool caseSensitive=false) |
|
template<typename T , typename = std::enable_if_t<detail::EnumHasDict_v<T>>> |
std::string_view | cbm::algo::ToString (T t) |
|
template<typename T , typename = std::enable_if_t<cbm::algo::detail::EnumHasDict_v<T>>> |
std::ostream & | std::operator<< (std::ostream &os, T t) |
|
template<typename T , typename = std::enable_if_t<cbm::algo::detail::EnumHasDict_v<T>>> |
std::istream & | std::operator>> (std::istream &is, T &t) |
|
◆ CBM_ENUM_DICT
#define CBM_ENUM_DICT |
( |
| type, |
|
|
| ... ) |