Class SlottedIndex

Class Documentation

class SlottedIndex

Combination of an Index along with information about the Slot it occupies

See also

Index

See also

Slot

Note

Usage of this class only makes sense, if the index in question does not appear in multiple slots

Public Functions

inline SlottedIndex(Index idx, SlotType slot)
inline Index &index()
inline const Index &index() const
inline SlotType slot_type() const

Friends

inline friend bool operator==(const SlottedIndex &lhs, const SlottedIndex &rhs)
inline friend bool operator!=(const SlottedIndex &lhs, const SlottedIndex &rhs)