KiCad PCB EDA Suite
Loading...
Searching...
No Matches
grid_settings.cpp File Reference
#include <settings/grid_settings.h>
#include <nlohmann/json.hpp>
#include <wx/translation.h>
#include <units_provider.h>

Go to the source code of this file.

Classes

struct  nlohmann::adl_serializer< wxString >
 

Namespaces

namespace  nlohmann
 

Functions

bool operator!= (const GRID &lhs, const GRID &rhs)
 
bool operator< (const GRID &lhs, const GRID &rhs)
 
void to_json (nlohmann::json &j, const GRID &g)
 
void from_json (const nlohmann::json &j, GRID &g)
 

Function Documentation

◆ from_json()

void from_json ( const nlohmann::json &  j,
GRID g 
)

Definition at line 103 of file grid_settings.cpp.

References GRID::name, GRID::x, and GRID::y.

◆ operator!=()

bool operator!= ( const GRID lhs,
const GRID rhs 
)

Definition at line 81 of file grid_settings.cpp.

◆ operator<()

bool operator< ( const GRID lhs,
const GRID rhs 
)

Definition at line 87 of file grid_settings.cpp.

References GRID::name.

◆ to_json()

void to_json ( nlohmann::json &  j,
const GRID g 
)

Definition at line 93 of file grid_settings.cpp.

References GRID::name, GRID::x, and GRID::y.