Logical resource namespace, distinct from its current delivery session. Reuse an existing SourceStamp as the resource origin; no second identity issuer is needed. Keep lineage stable only while the provider can map old positions. A new unrelated document at the same path needs a different identity or lineage.
More...
#include <model_position.hpp>
|
|
SourceStamp | identity |
| | Existing origin namespace; both fields must be nonzero.
|
|
std::uint64_t | lineage {} |
| | Nonzero provider-maintained compatible-history generation.
|
Logical resource namespace, distinct from its current delivery session. Reuse an existing SourceStamp as the resource origin; no second identity issuer is needed. Keep lineage stable only while the provider can map old positions. A new unrelated document at the same path needs a different identity or lineage.
◆ create()
- Returns
- New resource using the existing source identity issuer, with initial lineage one. Returns IDENTITY_EXHAUSTED instead of reusing a namespace.
◆ operator==()
| bool portals::ModelResource::operator== |
( |
const ModelResource & | other | ) |
const |
|
defaultnoexcept |
- Parameters
-
| other | Resource namespace to compare. |
- Returns
- True when identity and compatible-history generation match.
The documentation for this struct was generated from the following file: