KiCad PCB EDA Suite
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
kicad_io_utils.h File Reference
#include <optional>
#include <wx/stream.h>
#include <wx/string.h>
#include <kicommon.h>

Go to the source code of this file.

Namespaces

namespace  KICAD_FORMAT
 

Functions

void KICAD_FORMAT::FormatBool (OUTPUTFORMATTER *aOut, const wxString &aKey, bool aValue)
 Writes a boolean to the formatter, in the style (aKey [yes|no])
 
void KICAD_FORMAT::FormatOptBool (OUTPUTFORMATTER *aOut, const wxString &aKey, std::optional< bool > aValue)
 Writes an optional boolean to the formatter.
 
void KICAD_FORMAT::FormatUuid (OUTPUTFORMATTER *aOut, const KIID &aUuid)
 
void KICAD_FORMAT::FormatStreamData (OUTPUTFORMATTER &aOut, const wxStreamBuffer &aStream)
 Write binary data to the formatter as base 64 encoded string.
 
void KICAD_FORMAT::Prettify (std::string &aSource, bool aCompactSave)