载入中...
搜索中...
未找到
SubjectRef.h
浏览该文件的文档.
32 [[nodiscard]] static SubjectRef fromPersistentId(PersistentId id) noexcept { return SubjectRef(id); }
Strong identity values shared by persistence, content and logical-name APIs.
PersistentId persistentId() const noexcept
Return the wrapped persistent identity.
Definition SubjectRef.h:41
friend bool operator==(const SubjectRef &, const SubjectRef &) noexcept=default
static SubjectRef fromPersistentId(PersistentId id) noexcept
Wrap a persistent identity without changing its bytes.
Definition SubjectRef.h:32
bool isValid() const noexcept
Return whether this reference is valid and non-nil.
Definition SubjectRef.h:38
std::string format() const
Formats the ID in lower-case canonical UUID text.
Definition Identity.h:173
constexpr bool isNil() const noexcept
Returns whether this value is the all-zero nil ID.
Definition Identity.h:176
Definition Container.h:602