Horizon
Loading...
Searching...
No Matches
PNS::ITEM_SET Class Reference

Classes

struct  ENTRY

Public Types

typedef std::vector< ENTRYENTRIES

Public Member Functions

 ITEM_SET (ITEM *aInitialItem=nullptr, bool aBecomeOwner=false)
 ITEM_SET (const ITEM_SET &aOther)
ITEM_SET & operator= (const ITEM_SET &aOther)
int Count (int aKindMask=-1) const
bool Empty () const
ENTRIES & Items ()
const ENTRIES & CItems () const
ITEM_SET & FilterLayers (int aStart, int aEnd=-1, bool aInvert=false)
ITEM_SET & FilterKinds (int aKindMask, bool aInvert=false)
ITEM_SET & FilterNet (int aNet, bool aInvert=false)
ITEM_SET & FilterMarker (int aMarker, bool aInvert=false)
ITEM_SET & ExcludeLayers (int aStart, int aEnd=-1)
ITEM_SET & ExcludeKinds (int aKindMask)
ITEM_SET & ExcludeNet (int aNet)
ITEM_SET & ExcludeItem (const ITEM *aItem)
int Size () const
void Add (const LINE &aLine)
void Prepend (const LINE &aLine)
ITEMoperator[] (size_t aIndex) const
ENTRIES::iterator begin ()
ENTRIES::iterator end ()
ENTRIES::const_iterator cbegin () const
ENTRIES::const_iterator cend () const
void Add (ITEM *aItem, bool aBecomeOwner=false)
void Prepend (ITEM *aItem, bool aBecomeOwner=false)
void Clear ()
bool Contains (ITEM *aItem) const
void Erase (ITEM *aItem)
template<class T>
T * FindByKind (ITEM::PnsKind kind, int index=0)

The documentation for this class was generated from the following files: