23#ifndef __PNS_LAYERSET_H
24#define __PNS_LAYERSET_H
42 std::swap( aStart, aEnd );
116 else if( aOther.
m_end < 0 )
Represent a contiguous set of PCB layers.
bool Overlaps(const int aLayer) const
LAYER_RANGE & operator=(const LAYER_RANGE &aB)
void Merge(const LAYER_RANGE &aOther)
bool operator!=(const LAYER_RANGE &aOther) const
LAYER_RANGE(const LAYER_RANGE &aB)
bool operator==(const LAYER_RANGE &aOther) const
bool IsMultilayer() const
LAYER_RANGE Intersection(const LAYER_RANGE &aOther) const
Shortcut for comparisons/overlap tests.
bool Overlaps(const LAYER_RANGE &aOther) const
LAYER_RANGE(int aStart, int aEnd)