#include <userver/storages/postgres/io/enum_types.hpp>
Optional base template for providing type aliases for defining enumeration mapping.
Definition at line 40 of file enum_types.hpp.
Public Types | |
using | EnumType = Enum |
Type alias for the enumeration. | |
using | Enumerator = detail::Enumerator<Enum> |
Type alias for enumerator literal value holder. | |
using | EnumeratorList = const std::initializer_list<Enumerator> |
Type alias for enumerator-literal mapping. | |
using storages::postgres::io::EnumMappingBase< Enum >::Enumerator = detail::Enumerator<Enum> |
Type alias for enumerator literal value holder.
Definition at line 51 of file enum_types.hpp.
using storages::postgres::io::EnumMappingBase< Enum >::EnumeratorList = const std::initializer_list<Enumerator> |
Type alias for enumerator-literal mapping.
See pg_enum
Definition at line 56 of file enum_types.hpp.
using storages::postgres::io::EnumMappingBase< Enum >::EnumType = Enum |
Type alias for the enumeration.
As the mapping must be specialized in storages::postgres::io
namespace, the enumerator value can be quite a long name. This type alias is a shortcut to the enumeration type.
Definition at line 48 of file enum_types.hpp.