KiCad PCB EDA Suite
Loading...
Searching...
No Matches
PNS_LOG_FILE::COMMIT_STATE Struct Reference

#include <pns_log_file.h>

Public Member Functions

 COMMIT_STATE ()
 
 COMMIT_STATE (const COMMIT_STATE &aOther)
 
bool Compare (const COMMIT_STATE &aOther)
 

Public Attributes

std::set< KIIDm_removedIds
 
std::vector< PNS::ITEM * > m_addedItems
 
std::vector< PNS::ITEM * > m_heads
 

Detailed Description

Definition at line 56 of file pns_log_file.h.

Constructor & Destructor Documentation

◆ COMMIT_STATE() [1/2]

PNS_LOG_FILE::COMMIT_STATE::COMMIT_STATE ( )
inline

Definition at line 58 of file pns_log_file.h.

◆ COMMIT_STATE() [2/2]

PNS_LOG_FILE::COMMIT_STATE::COMMIT_STATE ( const COMMIT_STATE aOther)
inline

Definition at line 59 of file pns_log_file.h.

Member Function Documentation

◆ Compare()

bool PNS_LOG_FILE::COMMIT_STATE::Compare ( const COMMIT_STATE aOther)

Definition at line 261 of file pns_log_file.cpp.

References comparePnsItems(), deduplicate(), m_addedItems, and m_removedIds.

Member Data Documentation

◆ m_addedItems

std::vector<PNS::ITEM*> PNS_LOG_FILE::COMMIT_STATE::m_addedItems

◆ m_heads

std::vector<PNS::ITEM*> PNS_LOG_FILE::COMMIT_STATE::m_heads

Definition at line 67 of file pns_log_file.h.

Referenced by PNS_LOG_PLAYER::ReplayLog(), and PNS_LOG_FILE::SaveLog().

◆ m_removedIds

std::set<KIID> PNS_LOG_FILE::COMMIT_STATE::m_removedIds

The documentation for this struct was generated from the following files: