KiCad PCB EDA Suite
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
sch_group.cpp File Reference
#include <bitmaps.h>
#include <eda_draw_frame.h>
#include <eda_group.h>
#include <geometry/shape_compound.h>
#include <sch_item.h>
#include <sch_group.h>
#include <sch_symbol.h>
#include <symbol.h>
#include <confirm.h>
#include <widgets/msgpanel.h>
#include <view/view.h>
#include <wx/debug.h>

Go to the source code of this file.

Classes

struct  SCH_GROUP_DESC
 

Functions

EDA_GROUPgetClosestGroup (SCH_ITEM *aItem, bool isSymbolEditor)
 
EDA_GROUPgetNestedGroup (SCH_ITEM *aItem, EDA_GROUP *aScope, bool isSymbolEditor)
 Returns the top level group inside the aScope group, or nullptr.
 

Variables

static struct SCH_GROUP_DESC _SCH_GROUP_DESC
 

Function Documentation

◆ getClosestGroup()

EDA_GROUP * getClosestGroup ( SCH_ITEM aItem,
bool  isSymbolEditor 
)

◆ getNestedGroup()

EDA_GROUP * getNestedGroup ( SCH_ITEM aItem,
EDA_GROUP aScope,
bool  isSymbolEditor 
)

Returns the top level group inside the aScope group, or nullptr.

Definition at line 151 of file sch_group.cpp.

References getClosestGroup(), group, and LIB_SYMBOL_T.

Referenced by PCB_GROUP::TopLevelGroup(), SCH_GROUP::TopLevelGroup(), PCB_GROUP::WithinScope(), and SCH_GROUP::WithinScope().

Variable Documentation

◆ _SCH_GROUP_DESC

struct SCH_GROUP_DESC _SCH_GROUP_DESC
static