32 IndexedObject() =
default;
47 IndexedObject(IndexedObject&& indexedObject) =
default;
48 IndexedObject& operator=(IndexedObject&&) =
default;
49 IndexedObject& operator=(
const IndexedObject& indexedObject) =
default;
50 virtual ~IndexedObject() =
default;
52 ANALYSISTREE_ATTR_NODISCARD
inline size_t GetId()
const {
57 if (&that == &other) {
61 return that.id_ == other.id_;
64 friend bool operator!=(
const IndexedObject& that,
const IndexedObject& other) {
65 return !(that == other);
69 friend class IndexAccessor;
73 ClassDef(IndexedObject, 2)