5#ifndef SRC_NR_MODEL_BEAM_ID_H_
6#define SRC_NR_MODEL_BEAM_ID_H_
38 BeamId(uint16_t sector,
double elevation);
70 static BeamId GetEmptyBeamId();
79 double m_elevation{0};
111std::ostream& operator<<(std::ostream& os,
const BeamId& item);
Representation of a beam id.
uint16_t GetSector() const
Extract the sector from the beam id.
uint32_t GetCantor() const
double GetElevation() const
Extract the elevation from the beam id.
BeamId()
Default constructor which created beamId with 0 sector and 0 elevation.
bool operator!=(const BeamId &p) const
Overrides != operator for the general use case.
bool operator==(const BeamId &p) const
Objects of this class are used as key in hash table. This class must implement operator ==() to handl...
const BeamId PREDEFINED_BEAM_ID
Reserved ID for the predefined directional beam if it cannot be expressed through sector and elevatio...
const BeamId OMNI_BEAM_ID
Name of the OMNI beam.
Calculate the hash of a BeamId.
size_t operator()(const BeamId &x) const
operator ()