![]() |
KiCad PCB EDA Suite
|
#include <hash_eda.h>
#include <footprint.h>
#include <fp_text.h>
#include <fp_shape.h>
#include <pad.h>
#include <functional>
Go to the source code of this file.
Functions | |
static size_t | hash_board_item (const BOARD_ITEM *aItem, int aFlags) |
size_t | hash_fp_item (const EDA_ITEM *aItem, int aFlags) |
Calculate hash of an EDA_ITEM. More... | |
|
inlinestatic |
Definition at line 38 of file hash_eda.cpp.
References BOARD_ITEM::GetLayerSet(), and HASH_LAYER.
Referenced by hash_fp_item().
size_t hash_fp_item | ( | const EDA_ITEM * | aItem, |
int | aFlags = HASH_FLAGS::HASH_ALL |
||
) |
Calculate hash of an EDA_ITEM.
aItem | is the item for which the hash will be computed. |
Definition at line 49 of file hash_eda.cpp.
References ARC, CIRCLE, EDA_SHAPE::GetArcAngle(), PCB_SHAPE::GetCenter(), FP_SHAPE::GetCenter0(), EDA_SHAPE::GetEnd(), FP_SHAPE::GetEnd0(), FOOTPRINT::GetOrientation(), FOOTPRINT::GetPosition(), EDA_SHAPE::GetRadius(), EDA_SHAPE::GetShape(), EDA_SHAPE::GetStart(), FP_SHAPE::GetStart0(), EDA_SHAPE::GetWidth(), FOOTPRINT::GraphicalItems(), hash_board_item(), hash_combine(), hash_fp_item(), HASH_NET, HASH_POS, HASH_REF, HASH_ROT, HASH_VALUE, EDA_SHAPE::IsFilled(), pad, FOOTPRINT::Pads(), PCB_FOOTPRINT_T, PCB_FP_SHAPE_T, PCB_FP_TEXT_T, PCB_PAD_T, REL_COORD, text, FP_TEXT::TEXT_is_REFERENCE, FP_TEXT::TEXT_is_VALUE, and EDA_ITEM::Type().
Referenced by hash_fp_item(), and hashFootprint().