44 lines
1.4 KiB
Groff
44 lines
1.4 KiB
Groff
|
|
.TH "serif::utils::serialize::EnumSerializer< T >" 3 "Version v0.0.1a" "SERiF" \" -*- nroff -*-
|
||
|
|
.ad l
|
||
|
|
.nh
|
||
|
|
.SH NAME
|
||
|
|
serif::utils::serialize::EnumSerializer< T > \- Encode enumerations by declared stable spellings, never compiler-dependent integers\&.
|
||
|
|
|
||
|
|
.SH SYNOPSIS
|
||
|
|
.br
|
||
|
|
.PP
|
||
|
|
.PP
|
||
|
|
\fR#include <components\&.hpp>\fP
|
||
|
|
.SS "Static Public Member Functions"
|
||
|
|
|
||
|
|
.in +1c
|
||
|
|
.ti -1c
|
||
|
|
.RI "static \fBNode\fP \fBsave\fP (T value)"
|
||
|
|
.br
|
||
|
|
.RI "Look up the explicitly registered scientific or numerical choice\&. "
|
||
|
|
.ti -1c
|
||
|
|
.RI "static \fBResult\fP< T > \fBload\fP (const \fBNode\fP &node)"
|
||
|
|
.br
|
||
|
|
.RI "Reject unknown choices instead of silently selecting a default\&. "
|
||
|
|
.in -1c
|
||
|
|
.SH "Detailed Description"
|
||
|
|
.PP
|
||
|
|
|
||
|
|
.SS "template<typename T>
|
||
|
|
.br
|
||
|
|
struct serif::utils::serialize::EnumSerializer< T >"Encode enumerations by declared stable spellings, never compiler-dependent integers\&.
|
||
|
|
.SH "Member Function Documentation"
|
||
|
|
.PP
|
||
|
|
.SS "template<typename T> static \fBResult\fP< T > \fBserif::utils::serialize::EnumSerializer\fP< T >::load (const \fBNode\fP & node)\fR [inline]\fP, \fR [static]\fP, \fR [nodiscard]\fP"
|
||
|
|
|
||
|
|
.PP
|
||
|
|
Reject unknown choices instead of silently selecting a default\&.
|
||
|
|
.SS "template<typename T> static \fBNode\fP \fBserif::utils::serialize::EnumSerializer\fP< T >::save (T value)\fR [inline]\fP, \fR [static]\fP, \fR [nodiscard]\fP"
|
||
|
|
|
||
|
|
.PP
|
||
|
|
Look up the explicitly registered scientific or numerical choice\&.
|
||
|
|
|
||
|
|
.SH "Author"
|
||
|
|
.PP
|
||
|
|
Generated automatically by Doxygen for SERiF from the source code\&.
|