#include <userver/storages/postgres/io/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. | |
Base template for providing type aliases for defining enumeration mapping.
Definition at line 86 of file enum_types.hpp.
using storages::postgres::io::EnumMappingBase< Enum >::Enumerator = detail::Enumerator<Enum> |
Type alias for enumerator literal value holder.
Definition at line 95 of file enum_types.hpp.
using storages::postgres::io::EnumMappingBase< Enum >::EnumeratorList = const std::initializer_list<Enumerator> |
Type alias for enumerator-literal mapping.
See uPg: Mapping a C++ enum to PostgreSQL enum type.
Definition at line 99 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 93 of file enum_types.hpp.