KiCad PCB EDA Suite
Loading...
Searching...
No Matches
pcm_data.cpp File Reference
#include "pcm_data.h"

Go to the source code of this file.

Functions

template<typename T>
void to_optional (const json &j, const char *key, std::optional< T > &dest)
 
void to_json (json &j, const PACKAGE_VERSION &v)
 
void from_json (const json &j, PACKAGE_VERSION &v)
 
void to_json (json &j, const PCM_PACKAGE &p)
 
void from_json (const json &j, PCM_PACKAGE &p)
 
void to_json (json &j, const PCM_RESOURCE_REFERENCE &r)
 
void from_json (const json &j, PCM_RESOURCE_REFERENCE &r)
 
void to_json (json &j, const PCM_REPOSITORY &r)
 
void from_json (const json &j, PCM_REPOSITORY &r)
 
void to_json (json &j, const PCM_INSTALLATION_ENTRY &e)
 
void from_json (const json &j, PCM_INSTALLATION_ENTRY &e)
 

Function Documentation

◆ from_json() [1/5]

◆ from_json() [2/5]

◆ from_json() [3/5]

◆ from_json() [4/5]

◆ from_json() [5/5]

◆ to_json() [1/5]

◆ to_json() [2/5]

◆ to_json() [3/5]

◆ to_json() [4/5]

◆ to_json() [5/5]

◆ to_optional()

template<typename T>
void to_optional ( const json & j,
const char * key,
std::optional< T > & dest )

Definition at line 25 of file pcm_data.cpp.

References T.

Referenced by from_json(), from_json(), from_json(), and from_json().