KiCad PCB EDA Suite
Loading...
Searching...
No Matches
sch_group.cpp File Reference
#include <bitmaps.h>
#include <api/api_utils.h>
#include <api/schematic/schematic_types.pb.h>
#include <google/protobuf/any.pb.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_screen.h>
#include <schematic.h>
#include <sch_symbol.h>
#include <symbol.h>
#include <confirm.h>
#include <widgets/msgpanel.h>
#include <view/view.h>
#include <wx/debug.h>
#include <properties/property.h>
#include <properties/property_mgr.h>

Go to the source code of this file.

Classes

struct  SCH_GROUP_DESC
 

Functions

static EDA_GROUP * getClosestGroup (const SCH_ITEM &aItem, bool isSymbolEditor)
 
static EDA_GROUP * getNestedGroup (const SCH_ITEM &aItem, const 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()

static EDA_GROUP * getClosestGroup ( const SCH_ITEM & aItem,
bool isSymbolEditor )
static

◆ getNestedGroup()

static EDA_GROUP * getNestedGroup ( const SCH_ITEM & aItem,
const EDA_GROUP * aScope,
bool isSymbolEditor )
static

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

Definition at line 161 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