22#ifndef SCH_IO_KICAD_SEXPR_LIB_CACHE_H_ 
   23#define SCH_IO_KICAD_SEXPR_LIB_CACHE_H_ 
   48    void Save( 
const std::optional<bool>& aOpt = std::nullopt ) 
override;
 
   55                            const wxString& aLibName = wxEmptyString, 
bool aIncludeData = 
true );
 
 
A LINE_READER that reads from an open file.
 
Define a library symbol object.
 
An abstract class from which implementation specific LINE_READERs may be derived to read single lines...
 
int m_fileFormatVersionAtLoad
 
static void saveSymbolDrawItem(SCH_ITEM *aItem, OUTPUTFORMATTER &aFormatter)
 
SCH_IO_KICAD_SEXPR_LIB_CACHE(const wxString &aLibraryPath)
 
static void saveDcmInfoAsFields(LIB_SYMBOL *aSymbol, OUTPUTFORMATTER &aFormatter)
 
virtual ~SCH_IO_KICAD_SEXPR_LIB_CACHE()
 
static void SaveSymbol(LIB_SYMBOL *aSymbol, OUTPUTFORMATTER &aFormatter, const wxString &aLibName=wxEmptyString, bool aIncludeData=true)
 
friend SCH_IO_KICAD_SEXPR
 
static void saveTextBox(SCH_TEXTBOX *aTextBox, OUTPUTFORMATTER &aFormatter)
 
bool isLibraryPathValid() const
 
static void saveField(SCH_FIELD *aField, OUTPUTFORMATTER &aFormatter)
 
void formatLibraryHeader(OUTPUTFORMATTER &aFormatter)
 
void DeleteSymbol(const wxString &aName) override
 
static void savePin(SCH_PIN *aPin, OUTPUTFORMATTER &aFormatter)
 
static void saveText(SCH_TEXT *aText, OUTPUTFORMATTER &aFormatter)
 
int GetFileFormatVersionAtLoad() const
 
void SetFileFormatVersionAtLoad(int aVersion)
 
void Save(const std::optional< bool > &aOpt=std::nullopt) override
Save the entire library to file m_libFileName;.
 
void updateParentSymbolLinks()
Update the parent symbol links for derived symbols.
 
A SCH_IO derivation for loading schematic files using the new s-expression file format.
 
SCH_IO_LIB_CACHE(const wxString &aLibraryPath)
 
Base class for any item which can be embedded within the SCHEMATIC container class,...