KiCad PCB EDA Suite
Loading...
Searching...
No Matches
pcb_item_containers.h
Go to the documentation of this file.
1/*
2 * This program source code file is part of KiCad, a free EDA CAD application.
3 *
4 * Copyright (C) 1992-2021 KiCad Developers, see AUTHORS.txt for contributors.
5 *
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version 2
9 * of the License, or (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, you may find one here:
18 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
19 * or you may search the http://www.gnu.org website for the version 2 license,
20 * or you may write to the Free Software Foundation, Inc.,
21 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
22 */
23
24#ifndef PCB_ITEM_CONTAINERS_H_
25#define PCB_ITEM_CONTAINERS_H_
26
27#include <macros_swig.h>
28
29// Board-level items
30class FOOTPRINT;
31class PCB_TRACK;
32class PCB_GROUP;
33class PCB_GENERATOR;
34class PCB_MARKER;
35class ZONE;
36
40DECL_DEQ_FOR_SWIG( FOOTPRINTS, FOOTPRINT* )
41// Dequeue rather than Vector just so we can use moveUnflaggedItems in pcbnew_control.cpp
43DECL_DEQ_FOR_SWIG( GENERATORS, PCB_GENERATOR* )
44
45
46// Shared with board and footprint
47class BOARD_ITEM;
48
49DECL_DEQ_FOR_SWIG( DRAWINGS, BOARD_ITEM* )
50
51
52// Footprint-level items
53class PAD;
54class PCB_FIELD;
55
56DECL_DEQ_FOR_SWIG( PADS, PAD* )
57DECL_DEQ_FOR_SWIG( PCB_FIELDS, PCB_FIELD* )
58
59#endif // PCB_ITEM_CONTAINERS_H_
A base class for any item which can be embedded within the BOARD container class, and therefore insta...
Definition: board_item.h:77
Definition: pad.h:53
A set of BOARD_ITEMs (i.e., without duplicates).
Definition: pcb_group.h:51
Handle a list of polygons defining a copper zone.
Definition: zone.h:72
This file contains macros just for swig binding.
#define DECL_VEC_FOR_SWIG(TypeName, MemberType)
Declare a std::vector but no swig template.
Definition: macros_swig.h:50
#define DECL_DEQ_FOR_SWIG(TypeName, MemberType)
Definition: macros_swig.h:51
std::vector< ZONE * > ZONES
Definition: pcb_io_eagle.h:46