SnapshotOrder class
#include <GGUI/Public/Snapshot.h>
Draw order: slots of GGSnapshot::
Constructors, destructors, conversion operators
- SnapshotOrder() defaulted
- Empty.
- ~SnapshotOrder()
- SnapshotOrder(const SnapshotOrder& other)
- A copy of the list, shared with nothing.
Public functions
- auto operator=(const SnapshotOrder& other) -> SnapshotOrder&
- The same, assigned.
- auto Slots() const -> std::span<const uint32_t>
- The slots, back to front.
- auto Shares(const SnapshotOrder& other) const -> bool
- True if both hold the same list object.
- auto Bytes() const -> size_t
- Memory held.
- void ShareFrom(const SnapshotOrder* other)
- Writer: share
other'slist (null: none). - void Take(std::vector<uint32_t>& slots)
- Writer: take ownership of
slotsas a new list.slotsis left empty.