Lines Matching refs:mSerial
258 ObjectAndSerial(ObjT &&object, Serial serial) : mObject(std::move(object)), mSerial(serial) {}
261 : mObject(std::move(other.mObject)), mSerial(std::move(other.mSerial))
266 mSerial = std::move(other.mSerial);
270 Serial getSerial() const { return mSerial; }
271 void updateSerial(Serial newSerial) { mSerial = newSerial; }
281 mSerial = Serial();
286 Serial mSerial;
791 constexpr Type##Serial() : mSerial(kInvalid) {} \
792 constexpr explicit Type##Serial(uint32_t serial) : mSerial(serial) {} \
796 ASSERT(mSerial != kInvalid); \
797 ASSERT(other.mSerial != kInvalid); \
798 return mSerial == other.mSerial; \
802 ASSERT(mSerial != kInvalid); \
803 ASSERT(other.mSerial != kInvalid); \
804 return mSerial != other.mSerial; \
806 constexpr uint32_t getValue() const { return mSerial; } \
807 constexpr bool valid() const { return mSerial != kInvalid; } \
810 uint32_t mSerial; \