31 const wxString& aCacheNickname,
const std::vector<wxString>& aSourceLibNicknames,
57 if( fpText.IsEmpty() )
62 if( fpid.
Parse( fpText ) >= 0 )
84 result.m_relinkedToCache++;
91 wxString::Format(
_(
"Re-linked %d imported footprint assignment(s) to library "
A logical library item identifier and consists of various portions much like a URI.
int Parse(const UTF8 &aId, bool aFix=false)
Parse LIB_ID with the information from aId.
int SetLibItemName(const UTF8 &aLibItemName)
Override the library item name portion of the LIB_ID to aLibItemName.
int SetLibNickname(const UTF8 &aLibNickname)
Override the logical library name portion of the LIB_ID to aLibNickname.
const wxString GetUniStringLibItemName() const
Get strings for display messages in dialogs.
const wxString GetUniStringLibNickname() const
A pure virtual class used to derive REPORTER objects from.
Holds all the data relating to one schematic.
virtual const wxString & GetText() const override
Return the string associated with the text object.
Base class for any item which can be embedded within the SCHEMATIC container class,...
Container class that holds multiple SCH_SCREEN objects in a hierarchy.
void SetFootprintFieldText(const wxString &aFootprint)
SCH_FIELD * GetField(FIELD_T aFieldType)
Return a mandatory field in this symbol.
bool ReplaceIllegalFileNameChars(std::string &aName, int aReplaceChar)
Checks aName for illegal file name characters.
@ FOOTPRINT
Field Name Module PCB, i.e. "16DIP300".
wxString result
Test unit parsing edge cases and error handling.