KiCad PCB EDA Suite
|
#include <kigit_pcb_merge.h>
Public Member Functions | |
KIGIT_PCB_MERGE (git_merge_driver_source *aSource, git_buf *aBuf) | |
virtual | ~KIGIT_PCB_MERGE () |
int | Merge () |
std::set< BOARD_ITEM * > & | GetWeModifiedTheyDeleted () |
std::set< BOARD_ITEM * > & | GetTheyModifiedWeDeleted () |
std::set< BOARD_ITEM * > & | GetBothModified () |
Protected Member Functions | |
std::unique_ptr< BOARD > | readBoard (wxString &aFilename) |
KIGIT_PCB_MERGE_DIFFERENCES | compareBoards (BOARD *aAncestor, BOARD *aOther) |
void | findSetDifferences (const BOARD_ITEM_SET &aAncestorSet, const BOARD_ITEM_SET &aOtherSet, std::vector< BOARD_ITEM * > &aAdded, std::vector< BOARD_ITEM * > &aRemoved, std::vector< BOARD_ITEM * > &aChanged) |
Private Attributes | |
git_merge_driver_source * | m_mergeDriver |
git_buf * | m_result |
std::set< BOARD_ITEM * > | we_modified_they_deleted |
std::set< BOARD_ITEM * > | they_modified_we_deleted |
std::set< BOARD_ITEM * > | both_modified |
Definition at line 41 of file kigit_pcb_merge.h.
|
inline |
Definition at line 44 of file kigit_pcb_merge.h.
|
virtual |
|
protected |
Definition at line 68 of file kigit_pcb_merge.cpp.
References findSetDifferences(), BOARD::GetItemSet(), KIGIT_PCB_MERGE_DIFFERENCES::m_added, KIGIT_PCB_MERGE_DIFFERENCES::m_changed, and KIGIT_PCB_MERGE_DIFFERENCES::m_removed.
Referenced by Merge().
|
protected |
Definition at line 34 of file kigit_pcb_merge.cpp.
References EDA_ITEM::m_Uuid.
Referenced by compareBoards().
|
inline |
Definition at line 61 of file kigit_pcb_merge.h.
References both_modified.
|
inline |
Definition at line 56 of file kigit_pcb_merge.h.
References they_modified_we_deleted.
|
inline |
Definition at line 51 of file kigit_pcb_merge.h.
References we_modified_they_deleted.
int KIGIT_PCB_MERGE::Merge | ( | ) |
Definition at line 81 of file kigit_pcb_merge.cpp.
References both_modified, compareBoards(), KIGIT_PCB_MERGE_DIFFERENCES::m_changed, m_mergeDriver, KIGIT_PCB_MERGE_DIFFERENCES::m_removed, PCB_IO_KICAD_SEXPR_PARSER::Parse(), they_modified_we_deleted, and we_modified_they_deleted.
|
protected |
|
private |
Definition at line 80 of file kigit_pcb_merge.h.
Referenced by GetBothModified(), and Merge().
|
private |
Definition at line 75 of file kigit_pcb_merge.h.
Referenced by Merge().
|
private |
Definition at line 76 of file kigit_pcb_merge.h.
|
private |
Definition at line 79 of file kigit_pcb_merge.h.
Referenced by GetTheyModifiedWeDeleted(), and Merge().
|
private |
Definition at line 78 of file kigit_pcb_merge.h.
Referenced by GetWeModifiedTheyDeleted(), and Merge().