Horizon
Classes | Public Types | Public Member Functions | List of all members
PNS::ITEM_SET Class Reference

Classes

struct  ENTRY
 

Public Types

typedef std::vector< ENTRY > ENTRIES
 

Public Member Functions

 ITEM_SET (ITEM *aInitialItem=NULL, bool aBecomeOwner=false)
 
 ITEM_SET (const ITEM_SET &aOther)
 
const 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)
 
ITEM * operator[] (int index) 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: