34 return std::find( aList.begin(), aList.end(), aType ) != aList.end();
64 auto countConstraintHits =
65 [&](
const std::vector<KICAD_T>& aTypes )
bool IsGroupableType() const
Information pertinent to a Pcbnew printed circuit board.
INSPECT_RESULT Visit(INSPECTOR inspector, void *testData, const std::vector< KICAD_T > &scanTypes) override
May be re-implemented for each derived class in order to handle all the types given by its member dat...
void Add(BOARD_ITEM *aItem, ADD_MODE aMode=ADD_MODE::INSERT, bool aSkipConnectivity=false) override
Removes an item from the container.
A base class for most all the KiCad significant classes used in schematics and boards.
static const std::vector< KICAD_T > BoardLevelItems
A scan list for all primary board items, omitting items which are subordinate to a FOOTPRINT,...
static const std::vector< KICAD_T > AllBoardItems
A scan list for all editable board items.
static const std::vector< KICAD_T > FootprintItems
A scan list for primary footprint items.
A geometric constraint between board items (issue #2329).
@ PARALLEL
Two segments are parallel.
BOOST_AUTO_TEST_SUITE(CadstarPartParser)
static bool listContains(const std::vector< KICAD_T > &aList, KICAD_T aType)
BOOST_AUTO_TEST_CASE(NotGroupable)
BOOST_AUTO_TEST_SUITE_END()
BOOST_CHECK_EQUAL(result, "25.4")
KICAD_T
The set of class identification values stored in EDA_ITEM::m_structType.
@ PCB_CONSTRAINT_T
class PCB_CONSTRAINT, a geometric constraint between board items