Files
MeanField_SERiF/docs/man/man3/serif_utils_dependencies_ValueSnapshot.3

51 lines
1.8 KiB
Groff
Raw Permalink Normal View History

.TH "serif::utils::dependencies::ValueSnapshot" 3 "Version v0.0.1a" "SERiF" \" -*- nroff -*-
.ad l
.nh
.SH NAME
serif::utils::dependencies::ValueSnapshot \- Default tracking owns an exact value copy; noncopyable resources supply another policy\&.
.SH SYNOPSIS
.br
.PP
.PP
\fR#include <snapshot\&.hpp>\fP
.PP
Inherited by \fBserif::geometry::deformation::backend::mfem::DeformationValueTracking\fP, \fBserif::geometry::surface::detail::BoundaryValueTracking\fP, and \fBserif::model::normalization::detail::ConfigurationTracking\fP\&.
.SS "Public Member Functions"
.in +1c
.ti -1c
.RI "template<typename T>
.br
requires std::copy_constructible<T> && std::equality_comparable<T>T \fBcapture\fP (const T &value) const"
.br
.RI "Keep the accepted value independent of subsequent edits to a borrowed source\&. "
.ti -1c
.RI "template<typename T>
.br
requires std::equality_comparable<T>bool \fBmatches\fP (const T &captured, const T &value) const"
.br
.RI "Compare content rather than a hash that could silently miss a change\&. "
.in -1c
.SH "Detailed Description"
.PP
Default tracking owns an exact value copy; noncopyable resources supply another policy\&.
.SH "Member Function Documentation"
.PP
.SS "template<typename T>
.br
requires std::copy_constructible<T> && std::equality_comparable<T>T serif::utils::dependencies::ValueSnapshot::capture (const T & value) const\fR [inline]\fP, \fR [nodiscard]\fP"
.PP
Keep the accepted value independent of subsequent edits to a borrowed source\&.
.SS "template<typename T>
.br
requires std::equality_comparable<T>bool serif::utils::dependencies::ValueSnapshot::matches (const T & captured, const T & value) const\fR [inline]\fP, \fR [nodiscard]\fP"
.PP
Compare content rather than a hash that could silently miss a change\&.
.SH "Author"
.PP
Generated automatically by Doxygen for SERiF from the source code\&.