66 LIB_ID(
const wxString& aLibraryName,
const wxString& aItemName );
82 int Parse(
const UTF8& aId,
bool aFix =
false );
97 int SetLibNickname(
const UTF8& aLibNickname );
121 int SetLibItemName(
const UTF8& aLibItemName );
137 const wxString GetFullLibraryName()
const;
174 return !m_libraryName.empty() && !m_itemName.empty();
182 return m_libraryName.empty() && !m_itemName.empty();
195 return m_libraryName.empty() && m_itemName.empty();
205 int compare(
const LIB_ID& aLibId )
const;
218 static int HasIllegalChars(
const UTF8& aLibItemName );
227 static UTF8 FixIllegalChars(
const UTF8& aLibItemName,
bool aLib );
235 static unsigned FindIllegalLibraryNameChar(
const UTF8& aLibraryName );
261 static bool isLegalChar(
unsigned aUniChar );
269 static bool isLegalLibraryNameChar(
unsigned aUniChar );
bool operator==(const wxAuiPaneInfo &aLhs, const wxAuiPaneInfo &aRhs)
bool operator!=(const BOM_FIELD &lhs, const BOM_FIELD &rhs)
A logical library item identifier and consists of various portions much like a URI.
bool IsValid() const
Check if this LID_ID is valid.
wxString GetUniStringLibId() const
const wxString GetUniStringSubLibraryName() const
UTF8 m_libraryName
The nickname of the library or empty.
void SetSubLibraryName(const UTF8 &aName)
const wxString GetUniStringLibItemName() const
Get strings for display messages in dialogs.
const wxString GetUniStringLibNickname() const
const UTF8 & GetLibItemName() const
UTF8 GetSubLibraryName() const
Some LIB_IDs can have a sub-library identifier in addition to a library nickname.
const UTF8 & GetLibNickname() const
Return the logical library name portion of a LIB_ID.
UTF8 m_itemName
The name of the entry in the logical library.
UTF8 m_subLibraryName
Optional sub-library name used for grouping within a library.
An 8 bit string that is assuredly encoded in UTF8, and supplies special conversion support to and fro...
bool operator<(const DESIGN_BLOCK_INFO &lhs, const DESIGN_BLOCK_INFO &rhs)
bool operator>(const EDA_ANGLE &aAngleA, const EDA_ANGLE &aAngleB)
void Format(OUTPUTFORMATTER *out, int aNestLevel, int aCtl, const CPTREE &aTree)
Output a PTREE into s-expression format via an OUTPUTFORMATTER derivative.