KiCad PCB EDA Suite
|
#include <hash_eda.h>
#include <hash.h>
#include <footprint.h>
#include <fp_text.h>
#include <fp_textbox.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 39 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 50 of file hash_eda.cpp.
References ARC, EDA_ANGLE::AsDegrees(), CIRCLE, PCB_SHAPE::GetCenter(), FP_SHAPE::GetCenter0(), EDA_SHAPE::GetEnd(), FP_SHAPE::GetEnd0(), EDA_TEXT::GetHorizJustify(), FOOTPRINT::GetOrientation(), FOOTPRINT::GetPosition(), EDA_SHAPE::GetRadius(), EDA_SHAPE::GetShape(), EDA_SHAPE::GetStart(), FP_SHAPE::GetStart0(), EDA_TEXT::GetText(), EDA_TEXT::GetTextAngle(), EDA_TEXT::GetTextHeight(), EDA_TEXT::GetTextWidth(), EDA_TEXT::GetVertJustify(), EDA_SHAPE::GetWidth(), FOOTPRINT::GraphicalItems(), hash_board_item(), hash_combine(), hash_fp_item(), HASH_NET, HASH_POS, HASH_REF, HASH_ROT, HASH_VALUE, EDA_TEXT::IsBold(), EDA_SHAPE::IsFilled(), EDA_TEXT::IsItalic(), EDA_TEXT::IsMirrored(), pad, FOOTPRINT::Pads(), PCB_FOOTPRINT_T, PCB_FP_SHAPE_T, PCB_FP_TEXT_T, PCB_FP_TEXTBOX_T, PCB_PAD_T, REL_COORD, text, FP_TEXT::TEXT_is_REFERENCE, FP_TEXT::TEXT_is_VALUE, EDA_ITEM::Type(), VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by hash_fp_item(), and hashFootprint().