⚠️ This is the documentation for an old userver version. Click here to switch to the latest version.
userver
C++ Async Framework v2.0
Documentation
API Groups
Namespaces
Reference
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
w
y
Variables
k
n
r
u
w
Typedefs
c
d
h
m
n
o
p
s
t
u
v
Enumerations
a
b
c
d
f
h
i
l
o
p
r
s
t
u
v
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
~
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Typedefs
Enumerations
Enumerator
Related Symbols
File List
File Members
All
e
i
l
r
t
u
Functions
Macros
e
i
l
r
t
u
Examples
Toggle main menu visibility
►
userver
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Concepts
Loading...
Searching...
No Matches
All results
uuid.hpp
Go to the documentation of this file.
1
#
pragma
once
2
3
/// @file userver/storages/postgres/io/uuid.hpp
4
/// @brief UUID (boost::uuids::uuid) I/O support
5
/// @ingroup userver_postgres_parse_and_format
6
7
#
include
<
userver
/
storages
/
postgres
/
io
/
buffer_io
.
hpp
>
8
#
include
<
userver
/
storages
/
postgres
/
io
/
buffer_io_base
.
hpp
>
9
#
include
<
userver
/
storages
/
postgres
/
io
/
type_mapping
.
hpp
>
10
11
namespace
boost::uuids {
12
struct
uuid;
13
}
14
15
USERVER_NAMESPACE_BEGIN
16
17
namespace
storages
::
postgres
::
io
{
18
19
template
<>
20
struct
BufferFormatter
<
boost
::
uuids
::
uuid
>
21
:
detail
::
BufferFormatterBase
<
boost
::
uuids
::
uuid
> {
22
using
BaseType
=
detail
::
BufferFormatterBase
<
boost
::
uuids
::
uuid
>;
23
using
BaseType
::
BaseType
;
24
25
void
operator
()(
const
UserTypes
&,
std
::
vector
<
char
>&
buf
)
const
;
26
void
operator
()(
const
UserTypes
&,
std
::
string
&
buf
)
const
;
27
};
28
29
template
<>
30
struct
BufferParser
<
boost
::
uuids
::
uuid
>
31
:
detail
::
BufferParserBase
<
boost
::
uuids
::
uuid
> {
32
using
BaseType
=
detail
::
BufferParserBase
<
boost
::
uuids
::
uuid
>;
33
using
BaseType
::
BaseType
;
34
35
void
operator
()(
const
FieldBuffer
&
buf
);
36
};
37
38
template
<>
39
struct
CppToSystemPg<boost::uuids::uuid>
40
: PredefinedOid<PredefinedOids::kUuid> {};
41
42
}
// namespace storages::postgres::io
43
44
USERVER_NAMESPACE_END
Docs version:
v1.0
,
v2.0
,
trunk/develop
userver
storages
postgres
io
uuid.hpp
Generated on Wed May 15 2024 22:29:52 for userver by
Doxygen
1.10.0