25#ifndef REFDES_UTILS__H
26#define REFDES_UTILS__H
70wxString
FormatRefDesRanges(
const std::vector<wxString>& aReferences,
const wxString& aRefDelimiter,
71 const wxString& aRefRangeDelimiter );
79wxString
FormatRefDesRanges(
const std::vector<std::pair<wxString, wxString>>& aBasesAndSuffixes,
80 const wxString& aRefDelimiter,
const wxString& aRefRangeDelimiter );
A model subscriber implementation using links to represent connections.
wxString GetRefDesPrefix(const wxString &aRefDes)
Get the (non-numeric) prefix from a refdes - e.g.
wxString FormatRefDesRanges(const std::vector< wxString > &aReferences, const wxString &aRefDelimiter, const wxString &aRefRangeDelimiter)
Format a sorted list of reference designators, shortening consecutive sequences of three or more refe...
wxString GetRefDesUnannotated(const wxString &aSource)
Return an unannotated refdes from either a prefix or an existing refdes.
int GetRefDesNumber(const wxString &aRefDes)
Get the numeric suffix from a refdes - e.g.