|
KiCad PCB EDA Suite
|
A vector bus name "PREFIX[first..last]" (or ':' as separator); last may be below first. More...
Public Member Functions | |
| int64_t | Count () const |
| int | Step () const |
| std::optional< int64_t > | Ordinal (int64_t aIndex) const |
| Position of aIndex within the range, or nullopt outside it. | |
| int64_t | At (int64_t aOrdinal) const |
Static Public Member Functions | |
| static std::optional< BUS_RANGE > | Parse (const std::string &aName) |
Public Attributes | |
| std::string | prefix |
| int | first = 0 |
| int | last = 0 |
A vector bus name "PREFIX[first..last]" (or ':' as separator); last may be below first.
Definition at line 785 of file orcad_converter_sheet.cpp.
|
inline |
Definition at line 803 of file orcad_converter_sheet.cpp.
|
inline |
Definition at line 793 of file orcad_converter_sheet.cpp.
References std::abs(), first, and last.
|
inline |
Position of aIndex within the range, or nullopt outside it.
Definition at line 797 of file orcad_converter_sheet.cpp.
|
static |
Definition at line 807 of file orcad_converter_sheet.cpp.
References end, next(), and prefix.
Referenced by connectedBusName(), scopedBusRanges(), and scopedHierBusRange().
|
inline |
| int BUS_RANGE::first = 0 |
| int BUS_RANGE::last = 0 |
Definition at line 789 of file orcad_converter_sheet.cpp.
| std::string BUS_RANGE::prefix |
Definition at line 787 of file orcad_converter_sheet.cpp.
Referenced by Parse().