KiCad PCB EDA Suite
Loading...
Searching...
No Matches
KICAD_DIFF::DOCUMENT_DIFF Struct Reference

The full set of changes between two parsed documents of one type. More...

#include <kicad_diff_types.h>

Public Member Functions

bool Empty () const
 
size_t Size () const
 
nlohmann::json ToJson () const
 

Static Public Member Functions

static DOCUMENT_DIFF FromJson (const nlohmann::json &aJson)
 

Public Attributes

wxString path
 
wxString docType
 
std::vector< ITEM_CHANGEchanges
 

Detailed Description

The full set of changes between two parsed documents of one type.

Definition at line 302 of file kicad_diff_types.h.

Member Function Documentation

◆ Empty()

bool KICAD_DIFF::DOCUMENT_DIFF::Empty ( ) const
inline

Definition at line 308 of file kicad_diff_types.h.

References changes.

Referenced by BOOST_AUTO_TEST_CASE(), BOOST_AUTO_TEST_CASE(), and KICAD_DIFF::DiffExitCode().

◆ FromJson()

DOCUMENT_DIFF KICAD_DIFF::DOCUMENT_DIFF::FromJson ( const nlohmann::json & aJson)
static

◆ Size()

size_t KICAD_DIFF::DOCUMENT_DIFF::Size ( ) const
inline

Definition at line 309 of file kicad_diff_types.h.

References changes.

Referenced by BOOST_AUTO_TEST_CASE().

◆ ToJson()

nlohmann::json KICAD_DIFF::DOCUMENT_DIFF::ToJson ( ) const

Member Data Documentation

◆ changes

◆ docType

wxString KICAD_DIFF::DOCUMENT_DIFF::docType

◆ path

wxString KICAD_DIFF::DOCUMENT_DIFF::path

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