Loading...
Searching...
No Matches
id.hpp
Go to the documentation of this file.
1
2#pragma once
3
4#include "memlite/common.hpp"
5
6namespace by {
7
29 struct _nout id {
31 id();
32
33 public:
34 nbool operator==(const id& rhs) const;
35 nbool operator!=(const id& rhs) const;
36
37 public:
41 void rel();
46 nbool isHeap() const;
47 nbool isValid() const;
48
49 public:
50 nint tagN: 21;
51 nint chkN: 22;
52 nuint serial: 21;
53 };
54}
Unique identifier for instances in memlite system.
Definition id.hpp:29
nbool isHeap() const
Checks if the instance identified by this ID is allocated on the heap.
void rel()
Resets the ID to an invalid or default state.
Rich logging support with polymorphic type conversion.
Definition richLog.hpp:34