KiCad PCB EDA Suite
Loading...
Searching...
No Matches
mocks.cpp File Reference
#include <kiface_base.h>
#include <confirm.h>
#include <pcb_edit_frame.h>
#include <eda_dde.h>
#include <wx/file.h>
#include <wx/snglinst.h>
#include <wx/app.h>
#include <board.h>
#include <fp_lib_table.h>
#include <footprint_viewer_frame.h>
#include <footprint.h>
#include <tools/pcb_actions.h>
#include <tools/zone_filler_tool.h>
#include <router/router_tool.h>
#include <dialog_find.h>
#include <dialog_filter_selection.h>
#include <zone_filler.h>
#include <tools/pcb_selection_tool.h>
#include <board_stackup_manager/stackup_predefined_prms.h>

Go to the source code of this file.

Classes

class  PCB_SELECTION_TOOL::PRIV
 Private implementation of firewalled private data. More...
 

Functions

static bool itemIsIncludedByFilter (const BOARD_ITEM &aItem, const BOARD &aBoard, const DIALOG_FILTER_SELECTION::OPTIONS &aFilterOptions)
 Function itemIsIncludedByFilter()
 
const FAB_LAYER_COLORGetColorStandardList ()
 
int GetColorStandardListCount ()
 

Variables

FP_LIB_TABLE GFootprintTable
 The global footprint library table.
 

Function Documentation

◆ GetColorStandardList()

const FAB_LAYER_COLOR * GetColorStandardList ( )

Definition at line 551 of file mocks.cpp.

◆ GetColorStandardListCount()

int GetColorStandardListCount ( )

Definition at line 557 of file mocks.cpp.

◆ itemIsIncludedByFilter()

static bool itemIsIncludedByFilter ( const BOARD_ITEM aItem,
const BOARD aBoard,
const DIALOG_FILTER_SELECTION::OPTIONS aFilterOptions 
)
static

Function itemIsIncludedByFilter()

Determine if an item is included by the filter specified

Returns
true if aItem should be selected by this filter (i..e not filtered out)

Definition at line 349 of file mocks.cpp.

Variable Documentation

◆ GFootprintTable

FP_LIB_TABLE GFootprintTable

The global footprint library table.

This is not dynamically allocated because in a multiple project environment we must keep its address constant (since it is the fallback table for multiple projects).

Definition at line 42 of file mocks.cpp.