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.
PNS_LAYER_RANGE(int aLayer)
bool Overlaps(const int aLayer) const
bool Overlaps(const PNS_LAYER_RANGE &aOther) const
void Merge(const PNS_LAYER_RANGE &aOther)
static PNS_LAYER_RANGE All()
PNS_LAYER_RANGE(const PNS_LAYER_RANGE &aB)
bool operator!=(const PNS_LAYER_RANGE &aOther) const
PNS_LAYER_RANGE Intersection(const PNS_LAYER_RANGE &aOther) const
Shortcut for comparisons/overlap tests.
PNS_LAYER_RANGE & operator=(const PNS_LAYER_RANGE &aB)
bool operator==(const PNS_LAYER_RANGE &aOther) const
PNS_LAYER_RANGE(int aStart, int aEnd)
bool IsMultilayer() const